VariableInspectorWidget.h
35 lines
| 854 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r105 | #ifndef SCIQLOP_VARIABLEINSPECTORWIDGET_H | ||
#define SCIQLOP_VARIABLEINSPECTORWIDGET_H | ||||
Alexandre Leroux
|
r228 | #include <QMenu> | ||
Alexandre Leroux
|
r105 | #include <QWidget> | ||
Alexandre Leroux
|
r228 | #include <memory> | ||
class Variable; | ||||
Alexandre Leroux
|
r105 | namespace Ui { | ||
class VariableInspectorWidget; | ||||
} // Ui | ||||
/** | ||||
* @brief The VariableInspectorWidget class representes represents the variable inspector, from | ||||
* which it is possible to view the loaded variables, handle them or trigger their display in | ||||
* visualization | ||||
*/ | ||||
class VariableInspectorWidget : public QWidget { | ||||
Q_OBJECT | ||||
public: | ||||
explicit VariableInspectorWidget(QWidget *parent = 0); | ||||
virtual ~VariableInspectorWidget(); | ||||
private: | ||||
Ui::VariableInspectorWidget *ui; | ||||
Alexandre Leroux
|
r228 | |||
private slots: | ||||
/// Slot called when right clicking on an variable in the table (displays a menu) | ||||
void onTableMenuRequested(const QPoint &pos) noexcept; | ||||
Alexandre Leroux
|
r105 | }; | ||
#endif // SCIQLOP_VARIABLEINSPECTORWIDGET_H | ||||