org.kde.koala

Class KTabCtl

public class KTabCtl extends QWidget

Tabbed dialog with extended features. KTabCtl is very similar to QTabDialog, with the following differences:
  • To avoid confusion, the API is almost identical with QTabDialog.
  • 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.
  • See KTabCtlSignals for signals emitted by KTabCtl

    Version: $Id: KTabCtl.java 473384 2005-10-23 14:17:09Z rdale $

    Author: Alexander Sanda (alex@darkstar.ping.at)

    UNKNOWN: Tabbed dialog with extended features.

    Constructor Summary
    protected KTabCtl(Class dummy)
    KTabCtl(QWidget parent, String name)
    KTabCtl(QWidget parent)
    KTabCtl()
    Method Summary
    voidaddTab(QWidget arg1, String arg2)
    StringclassName()
    voiddispose()
    Delete the wrapped C++ instance ahead of finalize()
    protected voidfinalize()
    Deletes the wrapped C++ instance
    protected QRectgetChildRect()
    booleanisDisposed()
    Has the wrapped C++ instance been deleted?
    booleanisTabEnabled(String arg1)
    QMetaObjectmetaObject()
    protected voidpaintEvent(QPaintEvent arg1)
    protected voidresizeEvent(QResizeEvent arg1)
    voidsetBorder(boolean arg1)
    voidsetFont(QFont font)
    voidsetShape(int shape)
    protected voidsetSizes()
    voidsetTabEnabled(String arg1, boolean arg2)
    voidsetTabFont(QFont font)
    voidshow()
    protected voidshowTab(int i)
    QSizesizeHint()

    Constructor Detail

    KTabCtl

    protected KTabCtl(Class dummy)

    KTabCtl

    public KTabCtl(QWidget parent, String name)

    KTabCtl

    public KTabCtl(QWidget parent)

    KTabCtl

    public KTabCtl()

    Method Detail

    addTab

    public void addTab(QWidget arg1, String arg2)

    className

    public String className()

    dispose

    public void dispose()
    Delete the wrapped C++ instance ahead of finalize()

    finalize

    protected void finalize()
    Deletes the wrapped C++ instance

    getChildRect

    protected QRect getChildRect()

    isDisposed

    public boolean isDisposed()
    Has the wrapped C++ instance been deleted?

    isTabEnabled

    public boolean isTabEnabled(String arg1)

    metaObject

    public QMetaObject metaObject()

    paintEvent

    protected void paintEvent(QPaintEvent arg1)

    resizeEvent

    protected void resizeEvent(QResizeEvent arg1)

    setBorder

    public void setBorder(boolean arg1)

    setFont

    public void setFont(QFont font)

    setShape

    public void setShape(int shape)

    setSizes

    protected void setSizes()

    setTabEnabled

    public void setTabEnabled(String arg1, boolean arg2)

    setTabFont

    public void setTabFont(QFont font)

    show

    public void show()

    showTab

    protected void showTab(int i)

    sizeHint

    public QSize sizeHint()