◆ StatusBar()
| StatusBar::StatusBar |
( |
int |
screen_x, |
|
|
int |
screen_y |
|
) |
| |
StatusBar::StatusBar - The 3270 status bar.
- Parameters
-
| screen_x | - width of the initial bar |
| screen_y | - height of the initial bar |
StatusBar is responsible for the display of the status bar. This contains:
- the connection state (4-A is hard-coded)
- the security of the connection, represented by varying padlocks
- X<clock> and X System
- the insert status
- the cursor position
◆ boundingRect()
| QRectF StatusBar::boundingRect |
( |
| ) |
const |
|
override |
◆ cursorMoved
| void StatusBar::cursorMoved |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
slot |
StatusBar::cursorMoved - refresh the cursor position.
- Parameters
-
| x | - new cursor x position |
| y | - new cursor y position |
Called when the cursor moves, so the status bar position can be updated.
◆ setEncrypted
| void StatusBar::setEncrypted |
( |
Q3270::Encryption |
encrypted | ) |
|
|
slot |
StatusBar::setEncrypted - change encryption status bar icon.
- Parameters
-
| encrypted | - the encryption state encrypted | Description
---------- | -----------
0 | Unencrypted
1 | Encrypted without validating certs
2 | Encrypted
|
◆ setStatusInsert()
| void StatusBar::setStatusInsert |
( |
Q3270::InsertOverType |
insert | ) |
|
StatusBar::setStatusInsert - the Insert mode text.
- Parameters
-
| ins | - Q3270::InsertMode or Q3270::OvertypeMode |
Called to show the Insert status on the status line.
◆ setStatusLock()
| void StatusBar::setStatusLock |
( |
Q3270::Indicators |
status | ) |
|
StatusBar::setStatusXSystem - set XSystem text.
- Parameters
-
| status | - Q3270::Unlocked, Q3270::SystemLock or Q3270::TerminalWait |
Called when XSystem / X<clock> is to be shown or removed.
The documentation for this class was generated from the following files:
- /home/runner/work/Q3270/Q3270/src/Display/StatusBar.h
- /home/runner/work/Q3270/Q3270/src/Display/StatusBar.cpp