#include <chooser.h>
Public Member Functions | |
| Chooser (QWidget *parent=0) | |
| int | addTab (const QIcon &icon) |
Protected Member Functions | |
| QSize | tabSizeHint (int index) const |
The "Chooser" widget is found quite often on Mac OS X.
This class reduces the size of the tabs to fit the tab icons, without leaving odd spaces on the right-hand size of each (normally used to sep icon from text).
| Chooser::Chooser | ( | QWidget * | parent = 0 |
) |
| int Chooser::addTab | ( | const QIcon & | icon | ) |
| QSize Chooser::tabSizeHint | ( | int | index | ) | const [protected] |
This implementation of this method reduces the size of the tabs to fit the tab icons, without leaving odd spaces on the right-hand size of each (normally used to sep icon from text).
1.5.2