kdk::KTabBar(3)

NAME
kdk::KTabBar - 支持三种样式

SYNOPSIS

#include <ktabbar.h>

Inherits QTabBar.

  Signals

void rightlicked (QPoint point)
鼠标右键信号

  Public Member Functions

KTabBar (KTabBarStyle barStyle=SegmentLight, QWidget *parent=nullptr)
void setTabBarStyle (KTabBarStyle barStyle)
设置TabBar样式
KTabBarStyle barStyle ()
返回TabBar样式
void setBorderRadius (int radius)
设置圆角半径，只对SegmentDark，SegmentLight样式生效
int borderRadius ()
获取圆角半径
void setBackgroundColor (const QColor &color)
设置背景色

  Protected Member Functions

QSize sizeHint () const
QSize minimumTabSizeHint (int index) const
QSize tabSizeHint (int index) const
void paintEvent (QPaintEvent *event)

Detailed Description

支持三种样式

Since
    1.0.0

Author

Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.