类似QStandardItem的GalleryItem
更多...
#include <SARibbonGalleryItem.h>
|
| SARibbonGalleryItem (const QString &text, const QIcon &icon) |
|
| SARibbonGalleryItem (QAction *act) |
|
void | setData (int role, const QVariant &data) |
|
virtual QVariant | data (int role) const |
|
void | setText (const QString &text) |
|
QString | text () const |
|
void | setToolTip (const QString &text) |
|
QString | toolTip () const |
|
void | setIcon (const QIcon &ico) |
|
QIcon | icon () const |
|
bool | isSelectable () const |
|
void | setSelectable (bool isSelectable) |
|
bool | isEnable () const |
|
void | setEnable (bool isEnable) |
|
void | setFlags (Qt::ItemFlags flag) |
|
virtual Qt::ItemFlags | flags () const |
|
void | setAction (QAction *act) |
|
QAction * | action () |
|
void | setTextAlignment (Qt::Alignment a) |
|
Qt::Alignment | textAlignment () const |
|
|
class | SARibbonGalleryGroupModel |
|
类似QStandardItem的GalleryItem
该类的文档由以下文件生成:
- F:/src/SARibbon/src/SARibbonBar/SARibbonGalleryItem.h
- F:/src/SARibbon/src/SARibbonBar/SARibbonGalleryItem.cpp