author | harlekin <harlekin> | 2002-10-17 17:19:20 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-17 17:19:20 (UTC) |
commit | df5a8d26c398ad65f09bd26c492c08f6c0ee22e0 (patch) (side-by-side diff) | |
tree | e1fcefde6e4942f65fa2b5ad253f40a190caa78a /noncore/apps/opie-console/TEWidget.cpp | |
parent | cedc9eed0c0b8d1685c3ca745eafd77988d394dc (diff) | |
download | opie-df5a8d26c398ad65f09bd26c492c08f6c0ee22e0.zip opie-df5a8d26c398ad65f09bd26c492c08f6c0ee22e0.tar.gz opie-df5a8d26c398ad65f09bd26c492c08f6c0ee22e0.tar.bz2 |
fullscreen mode ready
Diffstat (limited to 'noncore/apps/opie-console/TEWidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/TEWidget.cpp | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/TEWidget.cpp b/noncore/apps/opie-console/TEWidget.cpp index 75c438c..f3f462f 100644 --- a/noncore/apps/opie-console/TEWidget.cpp +++ b/noncore/apps/opie-console/TEWidget.cpp @@ -61,4 +61,5 @@ #include <qfile.h> #include <qdragobject.h> +#include <qvbox.h> #include <stdio.h> @@ -72,4 +73,6 @@ #include <assert.h> + + // #include "TEWidget.moc" //#include <kapp.h> @@ -275,5 +278,7 @@ void TEWidget::setFont(const QFont &) /* Constructor / Destructor */ /* */ -/* ------------------------------------------------------------------------- */ +/* ----------------------------------------------------------------------- */ + + TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) @@ -285,8 +290,14 @@ TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) #endif - scrollbar = new QScrollBar(this); + + scrollbar = new QScrollBar( this ); scrollbar->setCursor( arrowCursor ); connect(scrollbar, SIGNAL(valueChanged(int)), this, SLOT(scrollChanged(int))); + m_cornerButton = new QPushButton( this ); + m_cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) ); + m_cornerButton->setMaximumSize( 14, 14 ); + m_cornerButton->hide(); + Config cfg("Konsole"); cfg.setGroup("ScrollBar"); @@ -855,5 +866,5 @@ void TEWidget::mouseDoubleClickEvent(QMouseEvent* ev) void TEWidget::focusInEvent( QFocusEvent * ) { - + // do nothing, to prevent repainting } @@ -1263,2 +1274,5 @@ void TEWidget::drop_menu_activated(int item) } +QPushButton* TEWidget::cornerButton() { + return m_cornerButton; +} |