##// END OF EJS Templates
variable time is now set to range graphe displayed when it is displayed...
variable time is now set to range graphe displayed when it is displayed in it

File last commit:

r267:7ca994d5565d
r289:85f427f84e81
Show More
VariableMenuHeaderWidget.h
37 lines | 945 B | text/x-c | CLexer
/ gui / include / Variable / VariableMenuHeaderWidget.h
Alexandre Leroux
Creates a widget that will be the header of the menu in variable widget...
r267 #ifndef SCIQLOP_VARIABLEMENUHEADERWIDGET_H
#define SCIQLOP_VARIABLEMENUHEADERWIDGET_H
#include <QLoggingCategory>
#include <QWidget>
#include <memory>
namespace Ui {
class VariableMenuHeaderWidget;
} // Ui
class Variable;
Q_DECLARE_LOGGING_CATEGORY(LOG_VariableMenuHeaderWidget)
/**
* @brief The VariableMenuHeaderWidget class represents the widget used as a header of a menu in the
* variable inspector
* @sa VariableInspectorWidget
*/
class VariableMenuHeaderWidget : public QWidget {
public:
/**
* Ctor
* @param variables the list of variables used to generate the header
* @param parent the parent widget
*/
explicit VariableMenuHeaderWidget(const QVector<std::shared_ptr<Variable> > &variables,
QWidget *parent = 0);
virtual ~VariableMenuHeaderWidget() noexcept;
private:
Ui::VariableMenuHeaderWidget *ui;
};
#endif // SCIQLOP_VARIABLEMENUHEADERWIDGET_H