12 #ifndef QTCTRL_INPUT_DIALOG 13 #define QTCTRL_INPUT_DIALOG 16 #include <QVBoxLayout> 18 #include <QDialogButtonBox> 40 OkCancelDialog(QWidget* parent,
const char* title,
const char* msg);
59 const char* msg,
const int nb_lines,
60 const int nb_col,
const char* nameVal[],
61 const bool isGreek[],
double val[]);
73 const char* title,
const char* msg,
74 iSeeML::rob::OrPtConfig &q);
85 static bool getState(QWidget* parent,
const char* title,
86 const char* msg,
State &state);
93 layout.insertWidget(index, &widget);
99 #endif // QTCTRL_INPUT_DIALOG This class defines a sub-class of dialog windows which lower part is a horizontal button panel with o...
State class, i.e. configuration and velocities.
QLabel text
The upper label.
OkCancelDialog(QWidget *parent, const char *title, const char *msg)
The dialog is build with a given parent and title.
static bool getDoubleArray(QWidget *parent, const char *title, const char *msg, const int nb_lines, const int nb_col, const char *nameVal[], const bool isGreek[], double val[])
Asks in a dialog for a set of doubles, and returns it.
void insertWidget(QWidget &widget)
Inserts the given widget (containing the inputs) in the dialog, between message and buttons...
This class defines a state, i.e. a configuration and its (translation and rotation) velocities...
QDialogButtonBox buttons_layout
The button layout.
static bool getOrPtConfig(QWidget *parent, const char *title, const char *msg, iSeeML::rob::OrPtConfig &q)
Asks in a dialog for an oriented point.
QVBoxLayout layout
The main layout (vertic.)
int index
The index of additional widgets.
static bool getState(QWidget *parent, const char *title, const char *msg, State &state)
Asks in a dialog for a state.