◆ YQLogView()
YQLogView::YQLogView |
( |
YWidget * | parent, |
|
|
const std::string & | label, |
|
|
int | visibleLines, |
|
|
int | maxLines ) |
◆ ~YQLogView()
YQLogView::~YQLogView |
( |
| ) |
|
|
virtual |
◆ displayLogText()
void YQLogView::displayLogText |
( |
const std::string & | text | ) |
|
|
protectedvirtual |
Display the part of the log text that should be displayed. 'text' contains the last 'visibleLines()' lines. This is called whenever the log text changes. Note that the text might also be empty, in which case the displayed log text should be cleared.
Implemented from YLogView.
◆ preferredHeight()
int YQLogView::preferredHeight |
( |
| ) |
|
|
virtual |
Preferred height of the widget.
Reimplemented from YWidget.
◆ preferredWidth()
int YQLogView::preferredWidth |
( |
| ) |
|
|
virtual |
Preferred width of the widget.
Reimplemented from YWidget.
◆ setEnabled()
void YQLogView::setEnabled |
( |
bool | enabled | ) |
|
|
virtual |
Set enabled/disabled state.
Reimplemented from YWidget.
◆ setKeyboardFocus()
bool YQLogView::setKeyboardFocus |
( |
| ) |
|
|
virtual |
Accept the keyboard focus.
◆ setLabel()
void YQLogView::setLabel |
( |
const std::string & | label | ) |
|
|
virtual |
Set the label (the caption above the log text).
Reimplemented from YLogView.
◆ setSize()
void YQLogView::setSize |
( |
int | newWidth, |
|
|
int | newHeight ) |
|
virtual |
Set the new size of the widget.
Reimplemented from YWidget.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQLogView.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt/src/YQLogView.cc