![]() |
SARibbon 2.5.2
SARibbon wiki
|
#include <SARibbonCtrlContainer.h>
类 | |
| class | PrivateData |
Public 成员函数 | |
| SARibbonCtrlContainer (QWidget *parent=nullptr) | |
| Constructor for SARibbonCtrlContainer | |
| ~SARibbonCtrlContainer () | |
| Destructor for SARibbonCtrlContainer | |
| void | setEnableShowIcon (bool b) |
| Enable or disable icon display | |
| void | setEnableShowTitle (bool b) |
| Enable or disable title display | |
| bool | hasContainerWidget () const |
| Check if container widget exists | |
| void | setIcon (const QIcon &i) |
| Set the icon | |
| void | setIcon (const QPixmap &pixmap) |
| Set the icon from pixmap | |
| QIcon | icon () const |
| Get the icon | |
| void | setText (const QString &t) |
| Set the text | |
| QString | text () const |
| Get the text | |
| void | setContainerWidget (QWidget *w) |
| Set the container widget | |
| QWidget * | containerWidget () |
| Get the container widget | |
| const QWidget * | containerWidget () const |
| Get the container widget (const) | |
| QWidget * | iconWidget () const |
| Get the widget displaying the icon | |
| bool SARibbonCtrlContainer::hasContainerWidget | ( | ) | const |
Check if container widget exists
| QIcon SARibbonCtrlContainer::icon | ( | ) | const |
Get the icon
| QWidget * SARibbonCtrlContainer::iconWidget | ( | ) | const |
Get the widget displaying the icon
| void SARibbonCtrlContainer::setIcon | ( | const QIcon & | i | ) |
Set the icon
| void SARibbonCtrlContainer::setText | ( | const QString & | t | ) |
Set the text
| QString SARibbonCtrlContainer::text | ( | ) | const |
Get the text