##// END OF EJS Templates
Close launcher console on windows...
Close launcher console on windows Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1457:818df2712e31
Show More
VariableInspectorWidget.h
61 lines | 1.6 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)
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Activates menu on variable widget
r245
Add implementation of progress bar on variable inspector connected to...
r401 class QProgressBarItemDelegate;
Switched to new TS impl but quite broken!...
r1420 namespace Ui
{
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 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
*/
Switched to new TS impl but quite broken!...
r1420 class VariableInspectorWidget : public QWidget
{
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 Q_OBJECT
public:
Switched to new TS impl but quite broken!...
r1420 explicit VariableInspectorWidget(QWidget* parent = 0);
Alexandre Leroux
Initializes the variable inspector and adds it to the MainWindow
r110 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
*/
Switched to new TS impl but quite broken!...
r1420 void tableMenuAboutToBeDisplayed(
QMenu* tableMenu, const QVector<std::shared_ptr<Variable2>>& 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:
Switched to new TS impl but quite broken!...
r1420 Ui::VariableInspectorWidget* ui;
Alexandre Leroux
Activates menu on variable widget
r245
Switched to new TS impl but quite broken!...
r1420 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)
Switched to new TS impl but quite broken!...
r1420 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