-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | noncore/apps/opie-console/TEWidget.cpp | 25 |
2 files changed, 16 insertions, 10 deletions
@@ -1,43 +1,44 @@ | |||
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) |
36 | * Opieplayer: rudimentary podcast support (ljp) | 37 | * Opieplayer: rudimentary podcast support (ljp) |
37 | 38 | ||
38 | Fixed Bugs | 39 | Fixed Bugs |
39 | ---------- | 40 | ---------- |
40 | * #1377 - Suspend Powermanagement when switched to another VT (mickeyl) | 41 | * #1377 - Suspend Powermanagement when switched to another VT (mickeyl) |
41 | - We actually suspend the complete Opie now in that case. | 42 | - We actually suspend the complete Opie now in that case. |
42 | * #1384 - Battery status updated improperly when charging (skyhusker) | 43 | * #1384 - Battery status updated improperly when charging (skyhusker) |
43 | * #1476 - Wrong order of application entries in the O-menu (skyhusker) | 44 | * #1476 - Wrong order of application entries in the O-menu (skyhusker) |
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 | |||
@@ -291,74 +291,79 @@ void TEWidget::setFont(const QFont &) | |||
291 | /* ------------------------------------------------------------------------- */ | 291 | /* ------------------------------------------------------------------------- */ |
292 | /* */ | 292 | /* */ |
293 | /* Constructor / Destructor */ | 293 | /* Constructor / Destructor */ |
294 | /* */ | 294 | /* */ |
295 | /* ----------------------------------------------------------------------- */ | 295 | /* ----------------------------------------------------------------------- */ |
296 | 296 | ||
297 | 297 | ||
298 | 298 | ||
299 | TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) | 299 | TEWidget::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 | scrollLoc = SCRRIGHT; | 331 | Config qpecfg ("qpe"); |
332 | break; | 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 | { | ||
336 | scrollLoc = SCRRIGHT; | ||
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 |
357 | // KCursor::setAutoHideCursor( this, true ); | 362 | // KCursor::setAutoHideCursor( this, true ); |
358 | 363 | ||
359 | // Init DnD //////////////////////////////////////////////////////////////// | 364 | // Init DnD //////////////////////////////////////////////////////////////// |
360 | currentSession = NULL; | 365 | currentSession = NULL; |
361 | // setAcceptDrops(true); // attempt | 366 | // setAcceptDrops(true); // attempt |
362 | // m_drop = new QPopupMenu(this); | 367 | // m_drop = new QPopupMenu(this); |
363 | // m_drop->insertItem( QString("Paste"), 0); | 368 | // m_drop->insertItem( QString("Paste"), 0); |
364 | // m_drop->insertItem( QString("cd"), 1); | 369 | // m_drop->insertItem( QString("cd"), 1); |