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) {}
134 void resizeEvent ( QResizeEvent * event )
137 QTextEdit::resizeEvent(event);
146 #endif // YQLogView_h
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
virtual void displayLogText(const std::string &text)
Display the part of the log text that should be displayed.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
virtual int preferredHeight()
Preferred height of the widget.
virtual void setLabel(const std::string &label)
Set the label (the caption above the log text).
virtual ~YQLogView()
Destructor.
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual int preferredWidth()
Preferred width of the widget.
YQLogView(YWidget *parent, const std::string &label, int visibleLines, int maxLines)
Constructor.