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/optionsdlg.cpp

    r4704 r4716  
    4848#endif 
    4949 
     50#include "ewidgets.h" 
    5051#include "optionsdlg.h" 
    5152#include "licq_log.h" 
     
    7071  QBoxLayout* top_lay = new QVBoxLayout(this, 4); 
    7172 
    72   tabw = new QTabWidget(this); 
     73  tabw = new CETabWidget(this); 
    7374  top_lay->addWidget(tabw); 
    7475