32 #include <yui/YLogView.h>
49 const std::string & label,
76 virtual void setLabel(
const std::string & label );
104 virtual void setSize(
int newWidth,
int newHeight );
130 MyTextEdit( QWidget* parent ) : QTextEdit (parent) {}
133 void resizeEvent ( QResizeEvent * event )
135 QTextEdit::resizeEvent(event);
144 #endif // YQLogView_h
virtual void displayLogText(const std::string &text)
Display the part of the log text that should be displayed.
YQLogView(YWidget *parent, const std::string &label, int visibleLines, int maxLines)
Constructor.
virtual int preferredWidth()
Preferred width of the widget.
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual void setLabel(const std::string &label)
Set the label (the caption above the log text).
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
virtual int preferredHeight()
Preferred height of the widget.
virtual ~YQLogView()
Destructor.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.