• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdeui
 

kdeui

Signals | Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
KTabCtl Class Reference

#include <ktabctl.h>

Inherits TQWidget.

Signals

void tabSelected (int)

Public Member Functions

 KTabCtl (TQWidget *parent=0, const char *name=0)
void show ()
void setFont (const TQFont &font)
void setTabFont (const TQFont &font)
void addTab (TQWidget *, const TQString &)
bool isTabEnabled (const TQString &)
void setTabEnabled (const TQString &, bool)
void setBorder (bool)
void setShape (TQTabBar::Shape shape)
virtual TQSize sizeHint () const

Protected Slots

void showTab (int i)

Protected Member Functions

void paintEvent (TQPaintEvent *)
void resizeEvent (TQResizeEvent *)
void setSizes ()
TQRect getChildRect () const
virtual void virtual_hook (int id, void *data)

Protected Attributes

TQTabBar * tabs
TQMemArray< TQWidget * > pages
int bh
bool blBorder

Detailed Description

Tabbed dialog with extended features.

KTabCtl is very similar to TQTabDialog, with the following differences:

  • To avoid confusion, the API is almost identical with TQTabDialog.
  • Does not create any buttons, 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. This is very useful if the contents of some widgets on page A depend on the contents of some other widgets on page B.
Author
Alexander Sanda (alex@.nosp@m.dark.nosp@m.star..nosp@m.ping.nosp@m..at)
Version
$Id$

Definition at line 48 of file ktabctl.h.

Constructor & Destructor Documentation

KTabCtl::KTabCtl ( TQWidget *  parent = 0,
const char *  name = 0 
)

KTabCtl provides a universal tab control.

It is in no ways limited to dialogs and can be used for whatever you want. It has no buttons or any other stuff.

However, this is based on the original TQTabDialog.

Definition at line 34 of file ktabctl.cpp.


The documentation for this class was generated from the following files:
  • ktabctl.h
  • ktabctl.cpp

kdeui

Skip menu "kdeui"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeui

Skip menu "kdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdeui by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |