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

    r4699 r4716  
    3434#include <qpushbutton.h> 
    3535#include <qlineedit.h> 
    36 #include <qtabwidget.h> 
    3736#include <qvbuttongroup.h> 
    3837#include <qvalidator.h> 
     
    4140#include <qtextcodec.h> 
    4241 
     42#include "ewidgets.h" 
    4343#include "searchuserdlg.h" 
    4444#include "sigman.h" 
     
    144144 
    145145  // pre-search widgets 
    146   search_tab = new QTabWidget(this); 
     146  search_tab = new CETabWidget(this); 
    147147 
    148148  //-- first tab: search by Alias/name