28 #include <tqmemarray.h>
30 #include <tdelibs_export.h>
48 class TDEUI_EXPORT
KTabCtl :
public TQWidget
53 KTabCtl(TQWidget *parent = 0,
const char *name = 0);
57 void setFont(
const TQFont & font);
58 void setTabFont(
const TQFont &font );
60 void addTab(TQWidget *,
const TQString&);
61 bool isTabEnabled(
const TQString& );
62 void setTabEnabled(
const TQString&,
bool);
64 void setShape( TQTabBar::Shape shape );
65 virtual TQSize sizeHint()
const;
68 void paintEvent(TQPaintEvent *);
69 void resizeEvent(TQResizeEvent *);
72 void tabSelected(
int);
79 TQRect getChildRect()
const;
82 TQMemArray<TQWidget *> pages;
86 virtual void virtual_hook(
int id,
void* data );
88 class KTabCtrlPrivate* d;
Tabbed dialog with extended features.