Chooser Class Reference

The Chooser class extends QTabBar to provide a bar that can be used for choosing tools, views, alignments and so forth, which use symbols rather than text. More...

#include <chooser.h>

List of all members.

Public Member Functions

 Chooser (QWidget *parent=0)
int addTab (const QIcon &icon)

Protected Member Functions

QSize tabSizeHint (int index) const


Detailed Description

The Chooser class extends QTabBar to provide a bar that can be used for choosing tools, views, alignments and so forth, which use symbols rather than text.

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).


Constructor & Destructor Documentation

Chooser::Chooser ( QWidget *  parent = 0  ) 


Member Function Documentation

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).


The documentation for this class was generated from the following files:
Generated on Mon Jul 30 09:46:51 2007 for Digest by  doxygen 1.5.2