author | llornkcor <llornkcor> | 2002-07-07 15:42:29 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-07 15:42:29 (UTC) |
commit | 1d6f229e63930e7af2b691a4715dd94649257048 (patch) (unidiff) | |
tree | 2189c3cf19019ad38a45847efdef572ed06d5a2d /core/apps/embeddedkonsole/konsole.h | |
parent | b61380e31f6fa19acb20c5c603441d9ff64e344e (diff) | |
download | opie-1d6f229e63930e7af2b691a4715dd94649257048.zip opie-1d6f229e63930e7af2b691a4715dd94649257048.tar.gz opie-1d6f229e63930e7af2b691a4715dd94649257048.tar.bz2 |
fixed bug in transparent color schemebeing shown properly, and added custom color. Still a bug when using the 'more' option, cant figure out, I think its in colorpopupmenu
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h index 40edaec..0bf3fb3 100644 --- a/core/apps/embeddedkonsole/konsole.h +++ b/core/apps/embeddedkonsole/konsole.h | |||
@@ -29,12 +29,13 @@ | |||
29 | #include <qstrlist.h> | 29 | #include <qstrlist.h> |
30 | #include <qintdict.h> | 30 | #include <qintdict.h> |
31 | #include <qptrdict.h> | 31 | #include <qptrdict.h> |
32 | #include <qtabwidget.h> | 32 | #include <qtabwidget.h> |
33 | #include <qpe/qpetoolbar.h> | 33 | #include <qpe/qpetoolbar.h> |
34 | #include <qcombobox.h> | 34 | #include <qcombobox.h> |
35 | #include <qcolor.h> | ||
35 | 36 | ||
36 | #include "MyPty.h" | 37 | #include "MyPty.h" |
37 | #include "TEWidget.h" | 38 | #include "TEWidget.h" |
38 | #include "TEmuVt102.h" | 39 | #include "TEmuVt102.h" |
39 | #include "session.h" | 40 | #include "session.h" |
40 | 41 | ||
@@ -59,12 +60,13 @@ private slots: | |||
59 | void setDocument(const QString &); | 60 | void setDocument(const QString &); |
60 | void doneSession(TESession*,int); | 61 | void doneSession(TESession*,int); |
61 | void changeColumns(int); | 62 | void changeColumns(int); |
62 | void fontChanged(int); | 63 | void fontChanged(int); |
63 | void configMenuSelected(int ); | 64 | void configMenuSelected(int ); |
64 | void colorMenuSelected(int); | 65 | void colorMenuSelected(int); |
66 | void colorMenuIsSelected(int); | ||
65 | void enterCommand(int); | 67 | void enterCommand(int); |
66 | void hitEnter(); | 68 | void hitEnter(); |
67 | void hitSpace(); | 69 | void hitSpace(); |
68 | void hitTab(); | 70 | void hitTab(); |
69 | void hitPaste(); | 71 | void hitPaste(); |
70 | void hitUp(); | 72 | void hitUp(); |
@@ -73,22 +75,26 @@ private slots: | |||
73 | void newSession(); | 75 | void newSession(); |
74 | void changeCommand(const QString &, int); | 76 | void changeCommand(const QString &, int); |
75 | void initCommandList(); | 77 | void initCommandList(); |
76 | void scrollMenuSelected(int); | 78 | void scrollMenuSelected(int); |
77 | void editCommandListMenuSelected(int); | 79 | void editCommandListMenuSelected(int); |
78 | void parseCommandLine(); | 80 | void parseCommandLine(); |
81 | void changeForegroundColor(const QColor &); | ||
82 | void changeBackgroundColor(const QColor &); | ||
79 | private: | 83 | private: |
80 | void init(const char* _pgm, QStrList & _args); | 84 | void init(const char* _pgm, QStrList & _args); |
81 | void initSession(const char* _pgm, QStrList & _args); | 85 | void initSession(const char* _pgm, QStrList & _args); |
82 | void runSession(TESession* s); | 86 | void runSession(TESession* s); |
83 | void setColorPixmaps(); | 87 | void setColorPixmaps(); |
84 | void setHistory(bool); | 88 | void setHistory(bool); |
85 | QSize calcSize(int columns, int lines); | 89 | QSize calcSize(int columns, int lines); |
86 | TEWidget* getTe(); | 90 | TEWidget* getTe(); |
87 | QStringList commands; | 91 | QStringList commands; |
88 | 92 | QLabel * msgLabel; | |
93 | QColor foreground, background; | ||
94 | bool fromMenu; | ||
89 | private: | 95 | private: |
90 | class VTFont | 96 | class VTFont |
91 | { | 97 | { |
92 | public: | 98 | public: |
93 | VTFont(QString name, QFont& font) | 99 | VTFont(QString name, QFont& font) |
94 | { | 100 | { |