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 | |||
@@ -61,5 +61,9 @@ public: | |||
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: |
@@ -77,4 +81,5 @@ public: | |||
77 | 81 | ||
78 | public: | 82 | public: |
83 | bool useHorzScroll; | ||
79 | 84 | ||
80 | void Bell(); | 85 | void Bell(); |
@@ -88,4 +93,5 @@ signals: | |||
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 | ||
@@ -97,5 +103,4 @@ signals: | |||
97 | 103 | ||
98 | protected: | 104 | protected: |
99 | |||
100 | virtual void styleChange( QStyle& ); | 105 | virtual void styleChange( QStyle& ); |
101 | 106 | ||
@@ -148,4 +153,5 @@ 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 | ||
@@ -181,7 +187,10 @@ private: | |||
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 |