.TH "kdk::KDirTabBar" 3 "Version version:3.0" "LIBKYSDK-APPLICATIONS" \" -*- nroff -*- .ad l .nh .SH NAME kdk::KDirTabBar \- 目录层级控件 .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits QWidget\&. .SS "Signals" .in +1c .ti -1c .RI "void \fBtabBarClicked\fP (const QString uri)" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBKDirTabBar\fP (QWidget *parent=nullptr)" .br .ti -1c .RI "void \fBsetCurrentPath\fP (const QString Dirpath)" .br .RI "设置目标路径 " .ti -1c .RI "QString \fBcurrentPath\fP () const" .br .RI "获取目标路径 " .ti -1c .RI "void \fBsetVisibleDepth\fP (const int depth)" .br .RI "设置tabbar显示个数 " .ti -1c .RI "int \fBvisibleDepth\fP ()" .br .RI "获取tabbar显示个数 " .ti -1c .RI "void \fBsetIcon\fP (int index, const QIcon &\fBicon\fP)" .br .RI "设置图标 " .ti -1c .RI "QIcon \fBicon\fP (int index)" .br .RI "获取图标 " .ti -1c .RI "void \fBsetRootPath\fP (const QString targetPath)" .br .RI "设置Root " .ti -1c .RI "QString \fBRootPath\fP ()" .br .RI "获取Root路径 " .ti -1c .RI "void \fBsetTextLength\fP (int length)" .br .RI "设置按钮显示字体长度 " .ti -1c .RI "int \fBtextLength\fP ()" .br .RI "返回字体显示长度 " .ti -1c .RI "QList< QToolButton * > \fBbuttons\fP ()" .br .RI "返回button列表 " .in -1c .SH "Detailed Description" .PP 目录层级控件 .PP \fBSince\fP .RS 4 2\&.5\&.2\&.0 .RE .PP .SH "Member Function Documentation" .PP .SS "QList< QToolButton * > kdk::KDirTabBar::buttons ()" .PP 返回button列表 .PP \fBReturns\fP .RS 4 .RE .PP .SS "QString kdk::KDirTabBar::currentPath () const" .PP 获取目标路径 .PP \fBReturns\fP .RS 4 QString .RE .PP .SS "QIcon kdk::KDirTabBar::icon (int index)" .PP 获取图标 .PP \fBReturns\fP .RS 4 QIcon .RE .PP .SS "QString kdk::KDirTabBar::RootPath ()" .PP 获取Root路径 .PP \fBReturns\fP .RS 4 QString .RE .PP .SS "void kdk::KDirTabBar::setCurrentPath (const QString Dirpath)" .PP 设置目标路径 .PP \fBParameters\fP .RS 4 \fIpath\fP .RE .PP .SS "void kdk::KDirTabBar::setIcon (int index, const QIcon & icon)" .PP 设置图标 .PP \fBParameters\fP .RS 4 \fIicon\fP .RE .PP .SS "void kdk::KDirTabBar::setRootPath (const QString targetPath)" .PP 设置Root .PP \fBParameters\fP .RS 4 \fI\fP .RE .PP .SS "void kdk::KDirTabBar::setTextLength (int length)" .PP 设置按钮显示字体长度 .PP \fBParameters\fP .RS 4 \fIint\fP .RE .PP .SS "void kdk::KDirTabBar::setVisibleDepth (const int depth)" .PP 设置tabbar显示个数 .PP \fBParameters\fP .RS 4 \fIint\fP .RE .PP .SS "int kdk::KDirTabBar::textLength ()" .PP 返回字体显示长度 .PP \fBReturns\fP .RS 4 int .RE .PP .SS "int kdk::KDirTabBar::visibleDepth ()" .PP 获取tabbar显示个数 .PP \fBReturns\fP .RS 4 int .RE .PP .SH "Author" .PP Generated automatically by Doxygen for LIBKYSDK-APPLICATIONS from the source code\&.