Diffstat (limited to 'core/apps/embeddedkonsole/TEWidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.h b/core/apps/embeddedkonsole/TEWidget.h index 5597f27..792b109 100644 --- a/core/apps/embeddedkonsole/TEWidget.h +++ b/core/apps/embeddedkonsole/TEWidget.h | |||
@@ -37,7 +37,8 @@ class TESession; | |||
37 | 37 | ||
38 | class TEWidget : public QFrame | 38 | class TEWidget : public QFrame |
39 | // a widget representing attributed text | 39 | // a widget representing attributed text |
40 | { Q_OBJECT | 40 | { |
41 | Q_OBJECT | ||
41 | 42 | ||
42 | // friend class Konsole; | 43 | // friend class Konsole; |
43 | 44 | ||
@@ -74,6 +75,7 @@ public: | |||
74 | 75 | ||
75 | bool useHorzScroll; | 76 | bool useHorzScroll; |
76 | bool useBeep; | 77 | bool useBeep; |
78 | int color_menu_item; | ||
77 | 79 | ||
78 | void Bell(); | 80 | void Bell(); |
79 | void emitText(QString text); | 81 | void emitText(QString text); |
@@ -93,6 +95,11 @@ signals: | |||
93 | void extendSelectionSignal( const int x, const int y ); | 95 | void extendSelectionSignal( const int x, const int y ); |
94 | void endSelectionSignal(const BOOL preserve_line_breaks); | 96 | void endSelectionSignal(const BOOL preserve_line_breaks); |
95 | 97 | ||
98 | void changeFontSize(int); | ||
99 | void toggleFullScreen(); | ||
100 | void setFullScreen(bool); | ||
101 | void changeSession(int); | ||
102 | void newSession(); | ||
96 | 103 | ||
97 | protected: | 104 | protected: |
98 | virtual void styleChange( QStyle& ); | 105 | virtual void styleChange( QStyle& ); |
@@ -152,7 +159,7 @@ private: | |||
152 | 159 | ||
153 | QChar (*fontMap)(QChar); // possible vt100 font extention | 160 | QChar (*fontMap)(QChar); // possible vt100 font extention |
154 | 161 | ||
155 | bool fixed_font; // has fixed pitch | 162 | // bool fixed_font; // has fixed pitch |
156 | int font_h; // height | 163 | int font_h; // height |
157 | int font_w; // width | 164 | int font_w; // width |
158 | int font_a; // ascend | 165 | int font_a; // ascend |
@@ -184,6 +191,7 @@ private: | |||
184 | int scrollLoc, hScrollLoc; | 191 | int scrollLoc, hScrollLoc; |
185 | int hposition, vcolumns; | 192 | int hposition, vcolumns; |
186 | 193 | ||
194 | int mouse_down_x, mouse_down_y; | ||
187 | 195 | ||
188 | //#define SCRNONE 0 | 196 | //#define SCRNONE 0 |
189 | //#define SCRLEFT 1 | 197 | //#define SCRLEFT 1 |
@@ -194,9 +202,11 @@ private: | |||
194 | QTimer* blinkT; // active when hasBlinker | 202 | QTimer* blinkT; // active when hasBlinker |
195 | QPopupMenu* m_drop; | 203 | QPopupMenu* m_drop; |
196 | QString dropText; | 204 | QString dropText; |
205 | |||
197 | public: | 206 | public: |
198 | // current session in this widget | 207 | // current session in this widget |
199 | TESession *currentSession; | 208 | TESession *currentSession; |
209 | |||
200 | private slots: | 210 | private slots: |
201 | void drop_menu_activated(int item); | 211 | void drop_menu_activated(int item); |
202 | }; | 212 | }; |