The statusbar for the MainWindow. More...
#include <statusbar.h>
Public Slots | |
void | setCursorPosition (int line, int col) |
void | setSaveStatus (bool saved) |
Public Member Functions | |
StatusBar (QWidget *parent=0) | |
~StatusBar () | |
void | setNodeName (QString name) |
The statusbar for the MainWindow.
This StatusBar is used in the MainWindow to show some status informations.
StatusBar::StatusBar | ( | QWidget * | parent = 0 |
) |
StatusBar::~StatusBar | ( | ) |
The destructor.
Destroys the object.
void StatusBar::setCursorPosition | ( | int | line, | |
int | col | |||
) | [slot] |
Display the current cursor position in this StatusBar.
line | Set the line of the current cursor position. | |
col | Set the column of the current cursor position. |
void StatusBar::setNodeName | ( | QString | name | ) |
Display the currently selected nodes name.
name | The string which will be shown in this StatusBar. |
void StatusBar::setSaveStatus | ( | bool | saved | ) | [slot] |
Show if the currently selected node is saved.
saved | If true it will show that the content is saved and if it is false it will show that the content is changend. |