SARibbon 2.5.2
SARibbon wiki
载入中...
搜索中...
未找到
SARibbonCtrlContainer类 参考

#include <SARibbonCtrlContainer.h>

类 SARibbonCtrlContainer 继承关系图:

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
 

详细描述

成员函数说明

◆ hasContainerWidget()

bool SARibbonCtrlContainer::hasContainerWidget ( ) const

Check if container widget exists

◆ icon()

QIcon SARibbonCtrlContainer::icon ( ) const

Get the icon

◆ iconWidget()

QWidget * SARibbonCtrlContainer::iconWidget ( ) const

Get the widget displaying the icon

◆ setIcon()

void SARibbonCtrlContainer::setIcon ( const QIcon &  i)

Set the icon

◆ setText()

void SARibbonCtrlContainer::setText ( const QString &  t)

Set the text

◆ text()

QString SARibbonCtrlContainer::text ( ) const

Get the text


该类的文档由以下文件生成: