Class SBGActionDelimiter#
ClassList > SBGActionDelimiter
This class provides the possibility to create section separators in context menus with icons and text. More...
#include "SBGActionDelimiter.hpp"
Inherits the following classes: QWidgetAction
Public Attributes#
Type | Name |
---|---|
QPixmap | pixmap |
QString | text |
Public Functions#
Type | Name |
---|---|
SBGActionDelimiter (const QString & text, QObject * parent=nullptr) Builds an action delimiter with text text . |
|
SBGActionDelimiter (const QPixmap & pixmap, const QString & text, QObject * parent=nullptr) Builds an action delimiter with image pixmap and texttext . |
|
QWidget * | createWidget (QWidget * parent) |
virtual | ~SBGActionDelimiter () Destructor. |
Detailed Description#
Short name: SBActionDelimiter
Public Attributes Documentation#
variable pixmap#
variable text#
Public Functions Documentation#
function SBGActionDelimiter [1/2]#
Builds an action delimiter with text text
.
function SBGActionDelimiter [2/2]#
Builds an action delimiter with image pixmap
and texttext
.
SBGActionDelimiter::SBGActionDelimiter (
const QPixmap & pixmap,
const QString & text,
QObject * parent=nullptr
)
function createWidget#
function ~SBGActionDelimiter#
Destructor.