32 #include <QMessageBox>
33 #include <QFileDialog>
39 class GatelibraryTableModel;
40 class GatelibraryManager;
84 bool mReadOnly =
false;
93 void toggleSearchbar();
94 void handleEditAction();
95 void handleDeleteAction();
96 void handleCurrentSelectionChanged(
QModelIndex prevIndex);
98 void handleUnsavedChanges();
109 void activate(
bool readOnly =
false);
157 std::filesystem::path mPath;
void setDeleteIconStyle(const QString &s)
void setGateLibraryPath(std::filesystem::path p)
void triggerEditType(QModelIndex index)
void handleContextMenuRequested(const QPoint &pos)
void triggerCurrentSelectionChanged(QModelIndex index, QModelIndex prevIndex)
QString searchIconStyle() const
void handleSaveAsAction()
QString editTypeIconPath() const
void triggerDoubleClicked(QModelIndex index)
void setSearchActiveIconStyle(const QString &s)
void toggleReadOnlyMode(bool readOnly)
QString searchIconPath() const
void setDeleteIconPath(const QString &s)
QString deleteIconPath() const
GatelibraryContentWidget(GatelibraryTableModel *model, QWidget *parent=nullptr)
void setEditTypeIconPath(const QString &s)
QString deleteIconStyle() const
QString disabledIconStyle() const
void setSearchIconStyle(const QString &s)
void triggerDeleteType(QModelIndex index)
void setDisabledIconStyle(const QString &s)
QString enabledIconStyle() const
void setEnabledIconStyle(const QString &s)
void activate(bool readOnly=false)
void setAddTypeIconPath(const QString &s)
void toggleSelection(bool selected)
QString addTypeIconPath() const
void setGateLibrary(GateLibrary *gl)
void setSearchIconPath(const QString &s)
QString searchActiveIconStyle() const
A model to display loaded gatelibraries.
A proxy model to filter the ContextTableModel by a given string.
A QFrame with a QLineEdit that can be used to input a substring to search for.
QObject * parent() const const