table of contents
- unstable 3.0.1.1-1+b1
| kdk::KDirTabBar(3) | Library Functions Manual | kdk::KDirTabBar(3) |
NAME¶
kdk::KDirTabBar - 目录层级控件
SYNOPSIS¶
#include <kdirtabbar.h>
Inherits QWidget.
Signals¶
void tabBarClicked (const QString uri)
Public Member Functions¶
KDirTabBar (QWidget *parent=nullptr)
void setCurrentPath (const QString Dirpath)
设置目标路径 QString currentPath ()
const
获取目标路径 void setVisibleDepth
(const int depth)
设置tabbar显示个数 int visibleDepth
()
获取tabbar显示个数 void setIcon
(int index, const QIcon &icon)
设置图标 QIcon icon (int index)
获取图标 void setRootPath (const QString
targetPath)
设置Root QString RootPath ()
获取Root路径 void setTextLength (int length)
设置按钮显示字体长度
int textLength ()
返回字体显示长度 QList<
QToolButton * > buttons ()
返回button列表
Detailed Description¶
目录层级控件
Since
Member Function Documentation¶
QList< QToolButton * > kdk::KDirTabBar::buttons ()¶
返回button列表
Returns
QString kdk::KDirTabBar::currentPath () const¶
获取目标路径
Returns
QIcon kdk::KDirTabBar::icon (int index)¶
获取图标
Returns
QString kdk::KDirTabBar::RootPath ()¶
获取Root路径
Returns
void kdk::KDirTabBar::setCurrentPath (const QString Dirpath)¶
设置目标路径
Parameters
void kdk::KDirTabBar::setIcon (int index, const QIcon & icon)¶
设置图标
Parameters
void kdk::KDirTabBar::setRootPath (const QString targetPath)¶
设置Root
Parameters
void kdk::KDirTabBar::setTextLength (int length)¶
设置按钮显示字体长度
Parameters
void kdk::KDirTabBar::setVisibleDepth (const int depth)¶
设置tabbar显示个数
Parameters
int kdk::KDirTabBar::textLength ()¶
返回字体显示长度
Returns
int kdk::KDirTabBar::visibleDepth ()¶
获取tabbar显示个数
Returns
Author¶
Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code.
| Version version:3.0 | LIBKYSDK-APPLICATIONS |