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