30 #include <QAbstractTableModel>
31 #include <QModelIndex>
45 : mName(name_), mPath(path_), mCount(cnt) {;}
83 void handleGatelibIndexChanged(
int inx);
84 void handleInvokeFileDialog();
85 void handleShowFullPath(
bool checked);
QVariant data(int column, bool fullPath) const
GateLibrarySelectionEntry(const QString &name_, const QString &path_, int cnt)
QString gateLibraryPath() const
QString saveIconPath() const
void setCurrent(const QString &glPath)
void setSaveIconPath(const QString &path)
void setSaveIconStyle(const QString &sty)
void gatelibSelected(bool singleFile)
GateLibrarySelection(const QString &defaultGl, QWidget *parent=nullptr)
QString saveIconStyle() const
void handleShowFullPath(bool checked)
bool isWarnSubstitute() const
int columnCount(const QModelIndex &index=QModelIndex()) const override
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
int addGateLibrary(const QString &path)
int getIndexByPath(const QString &path)
GateLibrarySelectionTable(bool addAutoDetect, QObject *parent=nullptr)
int rowCount(const QModelIndex &index=QModelIndex()) const override
QString gateLibraryPath(int inx) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const const override
QObject * parent() const const