author | llornkcor <llornkcor> | 2002-10-31 14:49:24 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-31 14:49:24 (UTC) |
commit | c3a6f53669140cf9e3c953772c610cd91d69ab78 (patch) (unidiff) | |
tree | ab8579e66582aedc01da2aea4272e754902e9287 /core/apps/embeddedkonsole/TEWidget.h | |
parent | 7d8a563125b981718ae963ba6308e3506e870045 (diff) | |
download | opie-c3a6f53669140cf9e3c953772c610cd91d69ab78.zip opie-c3a6f53669140cf9e3c953772c610cd91d69ab78.tar.gz opie-c3a6f53669140cf9e3c953772c610cd91d69ab78.tar.bz2 |
no wrap mode taken from console, gui needs work
Diffstat (limited to 'core/apps/embeddedkonsole/TEWidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.h b/core/apps/embeddedkonsole/TEWidget.h index 40e1aea..a480d45 100644 --- a/core/apps/embeddedkonsole/TEWidget.h +++ b/core/apps/embeddedkonsole/TEWidget.h | |||
@@ -60,7 +60,11 @@ public: | |||
60 | void setScroll(int cursor, int lines); | 60 | void setScroll(int cursor, int lines); |
61 | void doScroll(int lines); | 61 | void doScroll(int lines); |
62 | 62 | ||
63 | void doHScroll(int lines); | ||
64 | |||
65 | |||
63 | void emitSelection(); | 66 | void emitSelection(); |
67 | void setWrapAt(int columns); | ||
64 | 68 | ||
65 | public: | 69 | public: |
66 | 70 | ||
@@ -76,6 +80,7 @@ public: | |||
76 | QSize sizeHint() const; | 80 | QSize sizeHint() const; |
77 | 81 | ||
78 | public: | 82 | public: |
83 | bool useHorzScroll; | ||
79 | 84 | ||
80 | void Bell(); | 85 | void Bell(); |
81 | void emitText(QString text); | 86 | void emitText(QString text); |
@@ -87,6 +92,7 @@ signals: | |||
87 | void mouseSignal(int cb, int cx, int cy); | 92 | void mouseSignal(int cb, int cx, int cy); |
88 | void changedImageSizeSignal(int lines, int columns); | 93 | void changedImageSizeSignal(int lines, int columns); |
89 | void changedHistoryCursor(int value); | 94 | void changedHistoryCursor(int value); |
95 | void changedHorzCursor(int value); | ||
90 | void configureRequest( TEWidget*, int state, int x, int y ); | 96 | void configureRequest( TEWidget*, int state, int x, int y ); |
91 | 97 | ||
92 | void clearSelectionSignal(); | 98 | void clearSelectionSignal(); |
@@ -96,7 +102,6 @@ signals: | |||
96 | 102 | ||
97 | 103 | ||
98 | protected: | 104 | protected: |
99 | |||
100 | virtual void styleChange( QStyle& ); | 105 | virtual void styleChange( QStyle& ); |
101 | 106 | ||
102 | bool eventFilter( QObject *, QEvent * ); | 107 | bool eventFilter( QObject *, QEvent * ); |
@@ -147,6 +152,7 @@ public slots: | |||
147 | protected slots: | 152 | protected slots: |
148 | 153 | ||
149 | void scrollChanged(int value); | 154 | void scrollChanged(int value); |
155 | void hScrollChanged(int value); | ||
150 | void blinkEvent(); | 156 | void blinkEvent(); |
151 | 157 | ||
152 | private: | 158 | private: |
@@ -180,9 +186,12 @@ private: | |||
180 | BOOL preserve_line_breaks; | 186 | BOOL preserve_line_breaks; |
181 | 187 | ||
182 | QClipboard* cb; | 188 | QClipboard* cb; |
183 | QScrollBar* scrollbar; | 189 | QScrollBar* scrollbar, *hScrollbar; |
184 | int scrollLoc; | 190 | |
191 | int scrollLoc, hScrollLoc; | ||
192 | int hposition, vcolumns; | ||
185 | 193 | ||
194 | |||
186 | //#define SCRNONE 0 | 195 | //#define SCRNONE 0 |
187 | //#define SCRLEFT 1 | 196 | //#define SCRLEFT 1 |
188 | //#define SCRRIGHT 2 | 197 | //#define SCRRIGHT 2 |