summaryrefslogtreecommitdiff
authorhrw <hrw>2005-10-18 13:56:12 (UTC)
committer hrw <hrw>2005-10-18 13:56:12 (UTC)
commit0f25331618ea6cac8a59f2c2298a9e1684748b97 (patch) (unidiff)
treeeb734f970761359b4fd61166936b87550e2e1b2d
parent9f41cd10ef92daa889f86cb43793dc75de18e786 (diff)
downloadopie-0f25331618ea6cac8a59f2c2298a9e1684748b97.zip
opie-0f25331618ea6cac8a59f2c2298a9e1684748b97.tar.gz
opie-0f25331618ea6cac8a59f2c2298a9e1684748b97.tar.bz2
fixed bug #1647 - Opie-console doesn't respect scroll-bar on left side
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ChangeLog1
-rw-r--r--noncore/apps/opie-console/TEWidget.cpp23
2 files changed, 15 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 2922afd..24ae63c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,35 +1,36 @@
1 2005-??-??Opie 1.2.2 1 2005-??-??Opie 1.2.2
2 2
3 3
4 New Features 4 New Features
5 ------------ 5 ------------
6 * Appearance: Added configuration options to set smallIconSize, bigIconSize, useBigPixmaps (hrw) 6 * Appearance: Added configuration options to set smallIconSize, bigIconSize, useBigPixmaps (hrw)
7 7
8 Fixed Bugs 8 Fixed Bugs
9 ---------- 9 ----------
10 * #1695 - Date selector use too small fontsize on VGA screen (hrw) 10 * #1695 - Date selector use too small fontsize on VGA screen (hrw)
11 * #1686 - opie-console lack UI setting for switching scrollbar (hrw) 11 * #1686 - opie-console lack UI setting for switching scrollbar (hrw)
12 * #1647 - Opie-console doesn't respect scroll-bar on left side (hrw)
12 * #1624 - Button settngs changes are applied only after restart (hrw) 13 * #1624 - Button settngs changes are applied only after restart (hrw)
13 * #1492 - Backup and Restore does not show list of backups to restore on start (hrw) 14 * #1492 - Backup and Restore does not show list of backups to restore on start (hrw)
14 * n.a. - remove hardcoded font size from wellenreiter (hrw) 15 * n.a. - remove hardcoded font size from wellenreiter (hrw)
15 * n.a. - added patch to build QT/E 2.3.10 with gc 4.x.x (hrw) 16 * n.a. - added patch to build QT/E 2.3.10 with gc 4.x.x (hrw)
16 17
17 2005-09-11Opie 1.2.1 18 2005-09-11Opie 1.2.1
18 19
19 20
20 New Features 21 New Features
21 ------------ 22 ------------
22 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) 23 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker)
23 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) 24 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly)
24 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) 25 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer)
25 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl) 26 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl)
26 * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl) 27 * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl)
27 * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl) 28 * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl)
28 * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw) 29 * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw)
29 * ZSafe: Made UI conform to Opie standards (drw) 30 * ZSafe: Made UI conform to Opie standards (drw)
30 * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw) 31 * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw)
31 * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl) 32 * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl)
32 * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl) 33 * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl)
33 * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl) 34 * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl)
34 * Opie-smb: Added Opie front end for Samba (ljp) 35 * Opie-smb: Added Opie front end for Samba (ljp)
35 * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie) 36 * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie)
diff --git a/noncore/apps/opie-console/TEWidget.cpp b/noncore/apps/opie-console/TEWidget.cpp
index 1199e4f..117f6dd 100644
--- a/noncore/apps/opie-console/TEWidget.cpp
+++ b/noncore/apps/opie-console/TEWidget.cpp
@@ -299,58 +299,63 @@ void TEWidget::setFont(const QFont &)
299TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) 299TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name)
300{ 300{
301#ifndef QT_NO_CLIPBOARD 301#ifndef QT_NO_CLIPBOARD
302 cb = QApplication::clipboard(); 302 cb = QApplication::clipboard();
303 QObject::connect( (QObject*)cb, SIGNAL(dataChanged()), 303 QObject::connect( (QObject*)cb, SIGNAL(dataChanged()),
304 this, SLOT(onClearSelection()) ); 304 this, SLOT(onClearSelection()) );
305#endif 305#endif
306 306
307 307
308 scrollbar = new QScrollBar( this ); 308 scrollbar = new QScrollBar( this );
309 scrollbar->setCursor( arrowCursor ); 309 scrollbar->setCursor( arrowCursor );
310 connect(scrollbar, SIGNAL(valueChanged(int)), this, SLOT(scrollChanged(int))); 310 connect(scrollbar, SIGNAL(valueChanged(int)), this, SLOT(scrollChanged(int)));
311 311
312 hscrollbar = new QScrollBar( Qt::Horizontal, this ); 312 hscrollbar = new QScrollBar( Qt::Horizontal, this );
313 hscrollbar->setCursor( arrowCursor ); 313 hscrollbar->setCursor( arrowCursor );
314 connect(hscrollbar, SIGNAL(valueChanged(int)), this, SLOT(hscrollChanged(int))); 314 connect(hscrollbar, SIGNAL(valueChanged(int)), this, SLOT(hscrollChanged(int)));
315 315
316 m_cornerButton = new QPushButton( this ); 316 m_cornerButton = new QPushButton( this );
317 m_cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) ); 317 m_cornerButton->setPixmap( QPixmap( (const char**)menu_xpm ) );
318 m_cornerButton->setMaximumSize( 14, 14 ); 318 m_cornerButton->setMaximumSize( 14, 14 );
319 m_cornerButton->hide(); 319 m_cornerButton->hide();
320 320
321 Config cfg("Konsole"); 321 Config cfg("Konsole");
322 cfg.setGroup("ScrollBar"); 322 cfg.setGroup("ScrollBar");
323 switch( cfg.readNumEntry("Position",2)){ 323
324 case 0: 324 scrollLoc = cfg.readNumEntry("Position", -1);
325 scrollLoc = SCRNONE; 325
326 break; 326 // bugfix for #1647
327 case 1: 327 // if user set 'show scrollbar on left' then let it be on left
328 scrollLoc = SCRLEFT; 328 // but only if it is not set in opie-console itself
329 break; 329 if(scrollLoc == -1)
330 case 2: 330 {
331 Config qpecfg ("qpe");
332 qpecfg.setGroup("Appearance");
333 scrollLoc = qpecfg.readNumEntry("LeftHand", SCRRIGHT);
334 if(scrollLoc == 0) // user set LeftHand in past and switched it off later
335 {
331 scrollLoc = SCRRIGHT; 336 scrollLoc = SCRRIGHT;
332 break; 337 }
333 }; 338 };
334 339
335 blinkT = new QTimer(this); 340 blinkT = new QTimer(this);
336 connect(blinkT, SIGNAL(timeout()), this, SLOT(blinkEvent())); 341 connect(blinkT, SIGNAL(timeout()), this, SLOT(blinkEvent()));
337 // blinking = FALSE; 342 // blinking = FALSE;
338 blinking = TRUE; 343 blinking = TRUE;
339 344
340 resizing = FALSE; 345 resizing = FALSE;
341 actSel = 0; 346 actSel = 0;
342 image = 0; 347 image = 0;
343 lines = 1; 348 lines = 1;
344 columns = 1; 349 columns = 1;
345 font_w = 1; 350 font_w = 1;
346 font_h = 1; 351 font_h = 1;
347 font_a = 1; 352 font_a = 1;
348 word_selection_mode = FALSE; 353 word_selection_mode = FALSE;
349 vcolumns = 0; 354 vcolumns = 0;
350 hposition = 0; 355 hposition = 0;
351 356
352 setMouseMarks(TRUE); 357 setMouseMarks(TRUE);
353 setVTFont( QFont("fixed") ); 358 setVTFont( QFont("fixed") );
354 setColorTable(base_color_table); // init color table 359 setColorTable(base_color_table); // init color table
355 360
356 qApp->installEventFilter( this ); //FIXME: see below 361 qApp->installEventFilter( this ); //FIXME: see below