kdk::KDirTabBar(3) Library Functions Manual kdk::KDirTabBar(3)

kdk::KDirTabBar - 目录层级控件

#include <kdirtabbar.h>

Inherits QWidget.


void tabBarClicked (const QString uri)


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列表

目录层级控件

Since

2.5.2.0

返回button列表

Returns

获取目标路径

Returns

QString

获取图标

Returns

QIcon

获取Root路径

Returns

QString

设置目标路径

Parameters

path

设置图标

Parameters

icon

设置Root

Parameters

设置按钮显示字体长度

Parameters

int

设置tabbar显示个数

Parameters

int

返回字体显示长度

Returns

int

获取tabbar显示个数

Returns

int

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

Version version:3.0 LIBKYSDK-APPLICATIONS