##// END OF EJS Templates
Wrapper prototype working, with all kind of Serie...
Wrapper prototype working, with all kind of Serie Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1479:704e0f1deb02
Show More
VariableMenuHeaderWidget.h
39 lines | 917 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...
r289 #ifndef SCIQLOP_VARIABLEMENUHEADERWIDGET_H
#define SCIQLOP_VARIABLEMENUHEADERWIDGET_H
#include <QLoggingCategory>
#include <QWidget>
#include <memory>
Switched to new TS impl but quite broken!...
r1420 namespace Ui
{
Alexandre Leroux
Creates a widget that will be the header of the menu in variable widget...
r289 class VariableMenuHeaderWidget;
} // Ui
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Creates a widget that will be the header of the menu in variable widget...
r289
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
*/
Switched to new TS impl but quite broken!...
r1420 class VariableMenuHeaderWidget : public QWidget
{
Alexandre Leroux
Creates a widget that will be the header of the menu in variable widget...
r289 public:
/**
* Ctor
* @param variables the list of variables used to generate the header
* @param parent the parent widget
*/
Switched to new TS impl but quite broken!...
r1420 explicit VariableMenuHeaderWidget(
const QVector<std::shared_ptr<Variable2>>& variables, QWidget* parent = 0);
Alexandre Leroux
Creates a widget that will be the header of the menu in variable widget...
r289 virtual ~VariableMenuHeaderWidget() noexcept;
private:
Switched to new TS impl but quite broken!...
r1420 Ui::VariableMenuHeaderWidget* ui;
Alexandre Leroux
Creates a widget that will be the header of the menu in variable widget...
r289 };
#endif // SCIQLOP_VARIABLEMENUHEADERWIDGET_H