summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/TEWidget.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/TEWidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/TEWidget.h30
1 files changed, 28 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/TEWidget.h b/noncore/apps/opie-console/TEWidget.h
index 40e1aea..1b5300f 100644
--- a/noncore/apps/opie-console/TEWidget.h
+++ b/noncore/apps/opie-console/TEWidget.h
@@ -28,2 +28,3 @@
#include <qpopupmenu.h>
+#include <qpushbutton.h>
@@ -33,2 +34,24 @@ extern unsigned short vt100_graphics[32];
+
+
+static char * menu_xpm[] = {
+"12 12 5 1",
+" c None",
+". c #000000",
+"+ c #FFFDAD",
+"@ c #FFFF00",
+"# c #E5E100",
+" ",
+" ",
+" ......... ",
+" .+++++++. ",
+" .+@@@@#. ",
+" .+@@@#. ",
+" .+@@#. ",
+" .+@#. ",
+" .+#. ",
+" .+. ",
+" .. ",
+" "};
+
class TESession;
@@ -39,3 +62,4 @@ class TEWidget : public QFrame
// a widget representing attributed text
-{ Q_OBJECT
+{
+ Q_OBJECT
@@ -51,2 +75,3 @@ public:
QColor getDefaultBackColor();
+ QPushButton *cornerButton();
@@ -133,3 +158,3 @@ public:
const QPixmap *backgroundPixmap();
-
+
void setSelection(const QString &t);
@@ -181,2 +206,3 @@ private:
+ QPushButton *m_cornerButton;
QClipboard* cb;