##// END OF EJS Templates
More GUI tests refactoring, this will allow more complex tests and ease sync graph tests...
More GUI tests refactoring, this will allow more complex tests and ease sync graph tests Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1348:ea7d1a66f4ab
r1370:c3077e0c31af
Show More
VariableInspectorWidget.h
59 lines | 1.7 KiB | text/x-c | CLexer
/ gui / include / Variable / VariableInspectorWidget.h
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 #ifndef SCIQLOP_VARIABLEINSPECTORWIDGET_H
#define SCIQLOP_VARIABLEINSPECTORWIDGET_H
Alexandre Leroux
Pull request fixes
r251 #include <QLoggingCategory>
Alexandre Leroux
Activates menu on variable widget
r245 #include <QMenu>
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 #include <QWidget>
Alexandre Leroux
Activates menu on variable widget
r245 #include <memory>
All the codebase is modified to build with new Variable Controller...
r1348 #include <Variable/VariableModel2.h>
Alexandre Leroux
Pull request fixes
r251 Q_DECLARE_LOGGING_CATEGORY(LOG_VariableInspectorWidget)
Alexandre Leroux
Activates menu on variable widget
r245 class Variable;
Add implementation of progress bar on variable inspector connected to...
r401 class QProgressBarItemDelegate;
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 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();
Alexandre Leroux
Creates signal to make dynmaic menu for a variable
r247 signals:
/**
Alexandre Leroux
Changes signal to pass a list of variables...
r288 * Signal emitted before a menu concerning variables is displayed. It is used for other widgets
Alexandre Leroux
Creates signal to make dynmaic menu for a variable
r247 * to complete the menu.
* @param tableMenu the menu to be completed
Alexandre Leroux
Changes signal to pass a list of variables...
r288 * @param variables the variables concerned by the menu
Alexandre Leroux
Creates signal to make dynmaic menu for a variable
r247 * @remarks To make the dynamic addition of menus work, the connections to this signal must be
* in Qt :: DirectConnection
*/
Alexandre Leroux
Changes signal to pass a list of variables...
r288 void tableMenuAboutToBeDisplayed(QMenu *tableMenu,
const QVector<std::shared_ptr<Variable> > &variables);
Alexandre Leroux
Creates signal to make dynmaic menu for a variable
r247
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 private:
Ui::VariableInspectorWidget *ui;
Alexandre Leroux
Activates menu on variable widget
r245
Add implementation of progress bar on variable inspector connected to...
r401 QProgressBarItemDelegate *m_ProgressBarItemDelegate;
All the codebase is modified to build with new Variable Controller...
r1348 VariableModel2* m_model;
Add implementation of progress bar on variable inspector connected to...
r401
Alexandre Leroux
Activates menu on variable widget
r245 private slots:
/// Slot called when right clicking on an variable in the table (displays a menu)
void onTableMenuRequested(const QPoint &pos) noexcept;
Alexandre Leroux
Fixes refresh problem in Variable widget
r368 /// Refreshes instantly the variable view
void refresh() noexcept;
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 };
#endif // SCIQLOP_VARIABLEINSPECTORWIDGET_H