Iterator class to create a Qt GUI element for each input parameter of an VISH object.
More...
#include <QParameterGUI.hpp>
|
|
using | CreatorCallback = std::function< void(const string &name, qVParameter *inputWidget, const string &member, int EL)> |
| |
|
|
bool | apply (const RefPtr< VSlot > &what, int lv) override |
| |
| | CreateParameterGUI (const RefPtr< VObject > &VNew, QWidget *Parent, int LabelWidth, const CreatorCallback &Callback, qVInputContext &theInputContext, const QPointer< QFormLayout > &theFormLayout) |
| |
|
virtual bool | HandleSource () const |
| |
|
void | iterate (const RefPtr< VObject > &VNew, int EL) |
| |
|
|
static int | LabelWidth (const RefPtr< VObject > &VNew, int EL, QWidget *Parent) |
| | Determine the required with of the parental label.
|
| |
|
|
CreatorCallback | callback |
| |
|
WeakPtr< VCreationPreferences > | InputPrefs |
| |
|
int | labelWidth |
| |
|
QPointer< QFormLayout > | myFormLayout |
| |
|
qVInputContext & | myInputContext |
| |
|
RefPtr< VObject > | Owner |
| |
|
QPointer< QWidget > | ParentWidget |
| |
Iterator class to create a Qt GUI element for each input parameter of an VISH object.
◆ CreateParameterGUI()
| Wizt::CreateParameterGUI::CreateParameterGUI |
( |
const RefPtr< VObject > & |
VNew, |
|
|
QWidget * |
Parent, |
|
|
int |
LabelWidth, |
|
|
const CreatorCallback & |
Callback, |
|
|
qVInputContext & |
theInputContext, |
|
|
const QPointer< QFormLayout > & |
theFormLayout |
|
) |
| |
- Parameters
-
| LabelWidth | in pixels, must be determined earlier |
| MainValuePoolProvider | Some information which tells which ValuePool to use. |
The documentation for this struct was generated from the following file: