class KTabCtl

KTabCtl is very similar to QTabDialog, with the following differences: To avoid confusion, the API is almost identical with QTabDialog. More...

Definition#include <ktabctl.h>
InheritsQWidget
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals

Protected Methods

Protected Slots

Protected Members


Detailed Description

KTabCtl is very similar to QTabDialog, with the following differences: To avoid confusion, the API is almost identical with QTabDialog.

does not create any button, therefore KTabCtl is not limited to dialog boxes. You can use it whereever you want.

emits the signal tabSelected(int pagenumber) when the user selects one of the tabs. This gives you the chance to update the widget contents of a single page. The signal is emitted _before_ the page is shown. Very important, if the contents of some widgets on page (a) depend on the contents of some other widgets on page (b).

 KTabCtl (QWidget *parent = 0, const char *name = 0)

KTabCtl ()

void  show ()

void  setFont (const QFont & font)

void  setTabFont ( const QFont &font )

void  addTab (QWidget *, const char *)

bool  isTabEnabled (const char * )

void  setTabEnabled (const char *, bool)

void  setBorder (bool)

void  setShape ( QTabBar::Shape shape )

void  paintEvent (QPaintEvent *)

[protected]

void  resizeEvent (QResizeEvent *)

[protected]

void  tabSelected (int)

[signal]

void  showTab (int i)

[protected slot]

void  setSizes ()

[protected]

QRect  getChildRect ()

[protected const]

QTabBar * tabs

[protected]

QArrayT<QWidget *> pages

[protected]

int bh

[protected]

bool blBorder

[protected]


Generated by: root@george.devel.redhat.com on Thu Sep 14 21:18:43 2000, using kdoc 2.0a36.