|
Q3270
A Qt-based 3270 Terminal Emulator
|
Signals | |
| void | mappingClicked (int row, const QString &functionName, const QStringList &mappings) |
Public Member Functions | |
| KeyboardMapWidget (QWidget *parent=nullptr) | |
| KeyboardMapWidget::KeyboardMapWidget - widget to display the keyboard map. | |
| ~KeyboardMapWidget () | |
| KeyboardMapWidget::~KeyboardMapWidget - destructor. | |
| void | setTheme (const KeyboardMap &map) |
| KeyboardMapWidget::setTheme - set the keyboard map to display. | |
| QString | functionNameForRow (int row) const |
| KeyboardMapWidget::functionNameForRow - get the function name for a given row. | |
| QStringList | mappingsForRow (int row) const |
| KeyboardMapWidget::mappingsForRow - get the key mappings for a given row. | |
| KeyboardMap | currentMappings () const |
| KeyboardMapWidget::currentMappings - get the current keyboard map from the table. | |
|
explicit |
KeyboardMapWidget::KeyboardMapWidget - widget to display the keyboard map.
| parent | - the parent widget |
Initialise the widget and set up the table to display the keyboard map.
| KeyboardMapWidget::~KeyboardMapWidget | ( | ) |
KeyboardMapWidget::~KeyboardMapWidget - destructor.
Clean up the widget.
| KeyboardMap KeyboardMapWidget::currentMappings | ( | ) | const |
KeyboardMapWidget::currentMappings - get the current keyboard map from the table.
currentMappings reads the current state of the table and constructs a KeyboardMap object representing the mappings currently displayed in the table. Used by the Preferences dialog to save changes made by the user to the keyboard map.
| QString KeyboardMapWidget::functionNameForRow | ( | int | row | ) | const |
KeyboardMapWidget::functionNameForRow - get the function name for a given row.
| row | - the row to get the function name for |
Helper to get the function name for a given row in the table.
| QStringList KeyboardMapWidget::mappingsForRow | ( | int | row | ) | const |
KeyboardMapWidget::mappingsForRow - get the key mappings for a given row.
| row | - the row to get the key mappings for |
Helper to get the key mappings for a given row in the table.
| void KeyboardMapWidget::setTheme | ( | const KeyboardMap & | map | ) |
KeyboardMapWidget::setTheme - set the keyboard map to display.
| map | - the keyboard map to display |
setTheme takes a keyboard map and sets up the mappings of keys to function names in the table.