Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQDumbTab Class Reference

#include <YQDumbTab.h>

Inheritance diagram for YQDumbTab:

YDumbTab YContainerWidget YWidget List of all members.

Public Slots

void sendTabSelectedEvent (int index)
void resizeClientArea ()

Public Member Functions

 YQDumbTab (QWidget *parent, const YWidgetOpt &opt)
void setEnabling (bool enabled)
long nicesize (YUIDimension dim)
void setSize (long newWidth, long newHeight)
bool eventFilter (QObject *obj, QEvent *ev)
void addChild (YWidget *child)

Protected Member Functions

void addTab (const YCPString &label)
int getSelectedTabIndex ()
void setSelectedTab (int index)

Protected Attributes

QTabBar * _tabBar
QVBox * _clientArea
YQAlignment_contents
bool _doingResize

Constructor & Destructor Documentation

YQDumbTab::YQDumbTab QWidget *  parent,
const YWidgetOpt opt
 

Constructor.


Member Function Documentation

void YQDumbTab::addChild YWidget child  )  [virtual]
 

Notification that a child widget has been added. Reimplemented from YContainerWidget.

Reimplemented from YContainerWidget.

void YQDumbTab::addTab const YCPString label  )  [protected, virtual]
 

Add a tab header with the specified label.

Reimplemented from YDumbTab.

Reimplemented from YDumbTab.

bool YQDumbTab::eventFilter QObject *  obj,
QEvent *  ev
 

Event filter - inherited from QWidget

int YQDumbTab::getSelectedTabIndex  )  [protected, virtual]
 

Get the index (0..n) of the currently selected tab.

Reimplemented from YDumbTab.

Reimplemented from YDumbTab.

long YQDumbTab::nicesize YUIDimension  dim  )  [virtual]
 

Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT

Reimplemented from YContainerWidget.

void YQDumbTab::resizeClientArea  )  [slot]
 

Adapt the size of the client area to fit in its current space.

void YQDumbTab::sendTabSelectedEvent int  index  )  [slot]
 

Send an event that the tab with the specified index is selected.

void YQDumbTab::setEnabling bool  enabled  )  [virtual]
 

Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input.

Reimplemented from YWidget.

void YQDumbTab::setSelectedTab int  index  )  [protected, virtual]
 

Select a tab by index (0..n) and send an according event.

Reimplemented from YDumbTab.

Reimplemented from YDumbTab.

void YQDumbTab::setSize long  newWidth,
long  newHeight
[virtual]
 

Sets the new size of the widget.

Reimplemented from YContainerWidget.


Member Data Documentation

QVBox* YQDumbTab::_clientArea [protected]
 

YQAlignment* YQDumbTab::_contents [protected]
 

bool YQDumbTab::_doingResize [protected]
 

QTabBar* YQDumbTab::_tabBar [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:59:03 2005 for yast2-qt by  doxygen 1.4.4