.TH "KCustomTabBar" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME KCustomTabBar .SH SYNOPSIS .br .PP .PP Inherits QWidget\&. .PP Inherited by \fBkdk::KCrumb\fP, and \fBkdk::KNativeTabbar\fP\&. .SS "Public Types" .in +1c .ti -1c .RI "enum \fBShape\fP { \fBRoundedNorth\fP, \fBRoundedSouth\fP, \fBRoundedWest\fP, \fBRoundedEast\fP, \fBTriangularNorth\fP, \fBTriangularSouth\fP, \fBTriangularWest\fP, \fBTriangularEast\fP }" .br .ti -1c .RI "enum \fBButtonPosition\fP { \fBLeftSide\fP, \fBRightSide\fP }" .br .ti -1c .RI "enum \fBSelectionBehavior\fP { \fBSelectLeftTab\fP, \fBSelectRightTab\fP, \fBSelectPreviousTab\fP }" .br .in -1c .SS "Public Slots" .in +1c .ti -1c .RI "void \fBsetCurrentIndex\fP (int index)" .br .ti -1c .RI "void \fBleftScrollTabs\fP ()" .br .ti -1c .RI "void \fBrightScrollTabs\fP ()" .br .ti -1c .RI "void \fBcloseTab\fP ()" .br .in -1c .SS "Signals" .in +1c .ti -1c .RI "void \fBcurrentChanged\fP (int index)" .br .ti -1c .RI "void \fBtabCloseRequested\fP (int index)" .br .ti -1c .RI "void \fBtabMoved\fP (int from, int to)" .br .ti -1c .RI "void \fBtabBarClicked\fP (int index)" .br .ti -1c .RI "void \fBtabBarDoubleClicked\fP (int index)" .br .ti -1c .RI "void \fBleftBStatus\fP (bool flag)" .br .ti -1c .RI "void \fBrightBStatus\fP (bool flag)" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKCustomTabBar\fP (QWidget *parent=nullptr)" .br .ti -1c .RI "Shape \fBshape\fP () const" .br .ti -1c .RI "void \fBsetShape\fP (Shape shape)" .br .ti -1c .RI "int \fBaddTab\fP (const QString &text)" .br .ti -1c .RI "int \fBaddTab\fP (const QIcon &icon, const QString &text)" .br .ti -1c .RI "int \fBinsertTab\fP (int index, const QString &text)" .br .ti -1c .RI "int \fBinsertTab\fP (int index, const QIcon &icon, const QString &text)" .br .ti -1c .RI "void \fBremoveTab\fP (int index)" .br .ti -1c .RI "void \fBmoveTab\fP (int from, int to)" .br .ti -1c .RI "bool \fBisTabEnabled\fP (int index) const" .br .ti -1c .RI "void \fBsetTabEnabled\fP (int index, bool)" .br .ti -1c .RI "QString \fBtabText\fP (int index) const" .br .ti -1c .RI "void \fBsetTabText\fP (int index, const QString &text)" .br .ti -1c .RI "void \fBsetTabContent\fP (int index, const QString &text)" .br .ti -1c .RI "QColor \fBtabTextColor\fP (int index) const" .br .ti -1c .RI "void \fBsetTabTextColor\fP (int index, const QColor &color)" .br .ti -1c .RI "QIcon \fBtabIcon\fP (int index) const" .br .ti -1c .RI "void \fBsetTabIcon\fP (int index, const QIcon &icon)" .br .ti -1c .RI "Qt::TextElideMode \fBelideMode\fP () const" .br .ti -1c .RI "void \fBsetElideMode\fP (Qt::TextElideMode)" .br .ti -1c .RI "void \fBsetTabToolTip\fP (int index, const QString &tip)" .br .ti -1c .RI "QString \fBtabToolTip\fP (int index) const" .br .ti -1c .RI "void \fBsetTabWhatsThis\fP (int index, const QString &text)" .br .ti -1c .RI "QString \fBtabWhatsThis\fP (int index) const" .br .ti -1c .RI "void \fBsetTabData\fP (int index, const QVariant &data)" .br .ti -1c .RI "QVariant \fBtabData\fP (int index) const" .br .ti -1c .RI "QRect \fBtabRect\fP (int index) const" .br .ti -1c .RI "int \fBtabAt\fP (const QPoint &pos) const" .br .ti -1c .RI "int \fBcurrentIndex\fP () const" .br .ti -1c .RI "int \fBcount\fP () const" .br .ti -1c .RI "QSize \fBsizeHint\fP () const override" .br .ti -1c .RI "QSize \fBminimumSizeHint\fP () const override" .br .ti -1c .RI "void \fBsetDrawBase\fP (bool drawTheBase)" .br .ti -1c .RI "bool \fBdrawBase\fP () const" .br .ti -1c .RI "QSize \fBiconSize\fP () const" .br .ti -1c .RI "void \fBsetIconSize\fP (const QSize &size)" .br .ti -1c .RI "bool \fBusesScrollButtons\fP () const" .br .ti -1c .RI "void \fBsetUsesScrollButtons\fP (bool useButtons)" .br .ti -1c .RI "bool \fBtabsClosable\fP () const" .br .ti -1c .RI "void \fBsetTabsClosable\fP (bool closable)" .br .ti -1c .RI "void \fBsetTabButton\fP (int index, ButtonPosition position, QWidget *widget)" .br .ti -1c .RI "QWidget * \fBtabButton\fP (int index, ButtonPosition position) const" .br .ti -1c .RI "SelectionBehavior \fBselectionBehaviorOnRemove\fP () const" .br .ti -1c .RI "void \fBsetSelectionBehaviorOnRemove\fP (SelectionBehavior behavior)" .br .ti -1c .RI "bool \fBexpanding\fP () const" .br .ti -1c .RI "void \fBsetExpanding\fP (bool enabled)" .br .ti -1c .RI "bool \fBisMovable\fP () const" .br .ti -1c .RI "void \fBsetMovable\fP (bool movable)" .br .ti -1c .RI "bool \fBdocumentMode\fP () const" .br .ti -1c .RI "void \fBsetDocumentMode\fP (bool set)" .br .ti -1c .RI "bool \fBautoHide\fP () const" .br .ti -1c .RI "void \fBsetAutoHide\fP (bool hide)" .br .ti -1c .RI "bool \fBchangeCurrentOnDrag\fP () const" .br .ti -1c .RI "void \fBsetChangeCurrentOnDrag\fP (bool change)" .br .ti -1c .RI "QString \fBaccessibleTabName\fP (int index) const" .br .ti -1c .RI "void \fBsetAccessibleTabName\fP (int index, const QString &name)" .br .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "virtual QSize \fBtabSizeHint\fP (int index) const" .br .ti -1c .RI "virtual QSize \fBminimumTabSizeHint\fP (int index) const" .br .ti -1c .RI "virtual void \fBtabInserted\fP (int index)" .br .ti -1c .RI "virtual void \fBtabRemoved\fP (int index)" .br .ti -1c .RI "virtual void \fBtabLayoutChange\fP ()" .br .ti -1c .RI "bool \fBevent\fP (QEvent *) override" .br .ti -1c .RI "void \fBresizeEvent\fP (QResizeEvent *) override" .br .ti -1c .RI "void \fBshowEvent\fP (QShowEvent *) override" .br .ti -1c .RI "void \fBhideEvent\fP (QHideEvent *) override" .br .ti -1c .RI "void \fBpaintEvent\fP (QPaintEvent *) override" .br .ti -1c .RI "void \fBmousePressEvent\fP (QMouseEvent *) override" .br .ti -1c .RI "void \fBmouseMoveEvent\fP (QMouseEvent *) override" .br .ti -1c .RI "void \fBmouseReleaseEvent\fP (QMouseEvent *) override" .br .ti -1c .RI "void \fBwheelEvent\fP (QWheelEvent *event) override" .br .ti -1c .RI "void \fBkeyPressEvent\fP (QKeyEvent *) override" .br .ti -1c .RI "void \fBchangeEvent\fP (QEvent *) override" .br .ti -1c .RI "void \fBtimerEvent\fP (QTimerEvent *event) override" .br .ti -1c .RI "void \fBinitStyleOption\fP (QStyleOptionTab *option, int tabIndex) const" .br .in -1c .SS "Properties" .in +1c .ti -1c .RI "Shape \fBshape\fP" .br .ti -1c .RI "int \fBcurrentIndex\fP" .br .ti -1c .RI "int \fBcount\fP" .br .ti -1c .RI "bool \fBdrawBase\fP" .br .ti -1c .RI "QSize \fBiconSize\fP" .br .ti -1c .RI "Qt::TextElideMode \fBelideMode\fP" .br .ti -1c .RI "bool \fBusesScrollButtons\fP" .br .ti -1c .RI "bool \fBtabsClosable\fP" .br .ti -1c .RI "SelectionBehavior \fBselectionBehaviorOnRemove\fP" .br .ti -1c .RI "bool \fBexpanding\fP" .br .ti -1c .RI "bool \fBmovable\fP" .br .ti -1c .RI "bool \fBdocumentMode\fP" .br .ti -1c .RI "bool \fBautoHide\fP" .br .ti -1c .RI "bool \fBchangeCurrentOnDrag\fP" .br .in -1c .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.