31 #include <QWizardPage>
32 #include <QGridLayout>
37 #include <QPushButton>
39 #include <QAbstractTableModel>
40 #include <QSortFilterProxyModel>
59 bool isSelected(
int irow)
const {
return mList.
at(irow).isSelected; }
101 void deleteProperty();
102 void handleNameChanged(
const QString& txt);
117 QIcon mLeftArrowIcon;
118 QIcon mRightArrowIcon;
QString rightArrowIconPath() const
QString disabledIconStyle() const
void setLeftArrowIconPath(const QString &p)
QString leftArrowIconPath() const
QList< GateTypeProperty > getProperties() const
void setDisabledIconStyle(const QString &s)
QString leftArrowIconPath
void setRightArrowIconPath(const QString &p)
QString rightArrowIconPath
QString enabledIconStyle() const
void initializePage() override
GeneralInfoWizardPage(const GateLibrary *gt, QWidget *parent=nullptr)
void setEnabledIconStyle(const QString &s)
QString disabledIconStyle
bool isComplete() const override
void setData(QString name, const std::vector< GateTypeProperty > &properties)
int rowCount(const QModelIndex &index=QModelIndex()) const override
bool isSelected(int irow) const
void setSelected(GateTypeProperty gtp, bool select)
int columnCount(const QModelIndex &index=QModelIndex()) const override
ListPropertyModel(QObject *parent=nullptr)
GateTypeProperty property(int irow) const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
ListPropertyProxy(bool showSel, QObject *parent=nullptr)
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent=QModelIndex()) const override
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
const T & at(int i) const const
QObject * parent() const const
GateTypeProperty property