Freeciv-3.2: line_edit Class Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Public Member Functions | Data Fields | Protected Member Functions
line_edit Class Reference

`#include <shortcuts.h>`

Inheritance diagram for line_edit:

## Public Member Functions

| line_edit ()

## Data Fields

fc_shortcut | shc

## Protected Member Functions

void | mousePressEvent (QMouseEvent *event)
void | keyReleaseEvent (QKeyEvent *event)

## Detailed Description

Definition at line 142 of file shortcuts.h.

## Constructor & Destructor Documentation

## ◆ line_edit()

line_edit::line_edit | ( |  | ) |

Custom line edit contructor

Definition at line 345 of file shortcuts.cpp.

## Member Function Documentation

## ◆ keyReleaseEvent()

void line_edit::keyReleaseEvent | ( | QKeyEvent * | event | ) |

protected

Key release event for line edit

Definition at line 369 of file shortcuts.cpp.

## ◆ mousePressEvent()

void line_edit::mousePressEvent | ( | QMouseEvent * | event | ) |

protected

Mouse press event for line edit

Definition at line 354 of file shortcuts.cpp.

## Field Documentation

## ◆ shc

fc_shortcut line_edit::shc

Definition at line 147 of file shortcuts.h.

Referenced by keyReleaseEvent(), and mousePressEvent().