Show
Ignore:
Timestamp:
10/19/06 06:46:34 (2 years ago)
Author:
erijo
Message:

Use CETabWidget instead of QTabWidget all over the place, to be able to switch tabs with the mouse wheel. Thanks to Fabian for suggesting this (and supplying a patch). Closes #1422.

Also fixes a small bug in the "mouse wheel" logic. Without this fix, you could use the mouse wheel anywhere in the options dialog to change tabs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/src/userinfodlg.cpp

    r4699 r4716  
    119119  QBoxLayout *lay = new QVBoxLayout(this, 8); 
    120120 
    121   tabs = new QTabWidget(this); 
     121  tabs = new CETabWidget(this); 
    122122  lay->addWidget(tabs, 2); 
    123123