Custom QToolButton that adds a menu to select expression.
More...
#include <pqExpressionChooserButton.h>
Inherits QToolButton.
Custom QToolButton that adds a menu to select expression.
This is simply a QToolButton with a menu. The menu has actions which correspond to expressions. When user clicks any of those actions, pqExpressionChooserButton::expressionSelected
signal is fired with the expression as argument.
Definition at line 19 of file pqExpressionChooserButton.h.
◆ pqExpressionChooserButton()
pqExpressionChooserButton::pqExpressionChooserButton |
( |
QWidget * |
parent, |
|
|
const QString & |
group = "" |
|
) |
| |
◆ ~pqExpressionChooserButton()
pqExpressionChooserButton::~pqExpressionChooserButton |
( |
| ) |
|
|
override |
◆ setGroup()
void pqExpressionChooserButton::setGroup |
( |
const QString & |
group | ) |
|
◆ expressionSelected
void pqExpressionChooserButton::expressionSelected |
( |
const QString & |
expr | ) |
const |
|
signal |
◆ updateMenu
void pqExpressionChooserButton::updateMenu |
( |
| ) |
|
|
protectedslot |
◆ Group
QString pqExpressionChooserButton::Group |
|
protected |
The documentation for this class was generated from the following file: