DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
Dtk::Widget::DTabBarPrivate类 参考
类 Dtk::Widget::DTabBarPrivate 继承关系图:

class  FullWidget
 
struct  TabBarAnimation
 

Public 成员函数

 DTabBarPrivate (DTabBar *qq)
 
void refreshSpacers ()
 
void updateTabAlignment ()
 
void moveTabOffset (int index, int offset)
 
void drawDTabbarExtendLine ()
 
bool eventFilter (QObject *watched, QEvent *event) override
 
bool event (QEvent *e) override
 
QSize minimumSizeHint () const override
 
void paintEvent (QPaintEvent *e) override
 
void mouseMoveEvent (QMouseEvent *e) override
 
void mouseReleaseEvent (QMouseEvent *e) override
 
void dragEnterEvent (QDragEnterEvent *e) override
 
void dragLeaveEvent (QDragLeaveEvent *e) override
 
void dragMoveEvent (QDragMoveEvent *e) override
 
void dropEvent (QDropEvent *e) override
 
void showEvent (QShowEvent *e) override
 
QSize tabSizeHint (int index) const override
 
QSize minimumTabSizeHint (int index) const override
 
void tabInserted (int index) override
 
void tabRemoved (int index) override
 
void tabLayoutChange () override
 
void initStyleOption (QStyleOptionTab *option, int tabIndex) const
 
QTabBarPrivate * dd () const
 
Q_SLOT void startDrag ()
 
void setupMovableTab ()
 
void updateMoveingTabPosition (const QPoint &mouse)
 
void setupDragableTab ()
 
void slide (int from, int to)
 
void layoutTab (int index)
 
void moveTabFinished (int index)
 
void layoutWidgets (int start=0)
 
void makeVisible (int index)
 
void autoScrollTabs (const QPoint &mouse)
 
void stopAutoScrollTabs ()
 
void ensureScrollTabsAnimation ()
 
void startTabFlash ()
 
void setDragingFromOther (bool v)
 
int tabInsertIndexFromMouse (QPoint pos)
 
Q_INVOKABLE void startMove (int index)
 
void stopMove ()
 
void onCurrentChanged (int current)
 
void updateCloseButtonVisible ()
 

Public 属性

QList< QSize > tabMinimumSize
 
QList< QSize > tabMaximumSize
 
bool visibleAddButton = true
 
DIconButtonaddButton
 
QPointer< QDrag > drag
 
bool dragable = false
 
int startDragDistance
 
bool dragingFromOther = false
 
bool canInsertFromDrag = false
 
bool ignoreDragEvent = false
 
bool mousePress = false
 
bool stretchIsRemove = false
 
QColor maskColor
 
QColor flashColor
 
qreal opacityOnFlash = 1
 
int flashTabIndex = -1
 
DIconButtonleftScrollButton
 
DIconButtonrightScrollButton
 
QBoxLayout * layout
 
QSpacerItem * stretch
 
QSpacerItem * leftBtnL
 
QSpacerItem * leftBtnR
 
QSpacerItem * rightBtnL
 
QSpacerItem * addBtnL
 
QSpacerItem * addBtnR
 
Dtk::Widget::DTabBarPrivate::FullWidgettopFullWidget = nullptr
 
QVariantAnimation * scrollTabAnimation = nullptr
 
int scrollOffset
 
QPoint dragStartPosition
 
int ghostTabIndex = -1
 

该类的文档由以下文件生成: