kdk::KIconBar(3)

NAME
kdk::KIconBar - 图标和标题组合控件

SYNOPSIS

#include <kiconbar.h>

Inherits QFrame.

  Signals

void doubleClick ()
双击会发出双击信号，父widget可以绑定相应槽函数

  Public Member Functions

KIconBar (QWidget *parent=nullptr)
KIconBar (const QString &iconName, const QString &text, QWidget *parent=nullptr)
void setIcon (const QString &iconName)
设置图标
void setIcon (const QIcon &icon)
设置图标
void setWidgetName (const QString &widgetName)
设置标题
QLabel * nameLabel ()
获取标题label
QLabel * iconLabel ()
获取图标label

  Protected Member Functions

void mouseDoubleClickEvent (QMouseEvent *event)
void resizeEvent (QResizeEvent *event)
QSize sizeHint () const override

Detailed Description

图标和标题组合控件

Since
    1.0.0

Author

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