##// END OF EJS Templates
Started PySide2 migration, builds with CMake and produces a working binary...
Started PySide2 migration, builds with CMake and produces a working binary Need to port all previous stuff from Pybind11 to PySide2/shboken Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1477:70de8bd3d575
Show More
VariableMenuHeaderWidget.h
39 lines | 917 B | text/x-c | CLexer
/ gui / include / Variable / VariableMenuHeaderWidget.h
#ifndef SCIQLOP_VARIABLEMENUHEADERWIDGET_H
#define SCIQLOP_VARIABLEMENUHEADERWIDGET_H
#include <QLoggingCategory>
#include <QWidget>
#include <memory>
namespace Ui
{
class VariableMenuHeaderWidget;
} // Ui
class Variable2;
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<Variable2>>& variables, QWidget* parent = 0);
virtual ~VariableMenuHeaderWidget() noexcept;
private:
Ui::VariableMenuHeaderWidget* ui;
};
#endif // SCIQLOP_VARIABLEMENUHEADERWIDGET_H