17 #ifndef QGSAUTHCONFIGEDITOR_H
18 #define QGSAUTHCONFIGEDITOR_H
20 #include <QSqlTableModel>
24 #include "ui_qgsauthconfigeditor.h"
49 void toggleTitleVisibility(
bool visible );
55 QStringList selectedAuthenticationConfigIds()
const;
59 void setShowUtilitiesButton(
bool show =
true );
62 void setRelayMessages(
bool relay =
true );
66 void refreshTableView();
69 void importAuthenticationConfigs();
72 void exportSelectedAuthenticationConfigs();
75 void setMasterPassword();
78 void clearCachedMasterPassword();
81 void resetMasterPassword();
84 void clearCachedAuthenticationConfigs();
87 void removeAuthenticationConfigs();
90 void eraseAuthenticationDatabase();
96 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
99 void checkSelection();
101 void btnAddConfig_clicked();
103 void btnEditConfig_clicked();
105 void btnRemoveConfig_clicked();
110 QString selectedConfigId();
112 QSqlTableModel *mConfigModel =
nullptr;
114 QMenu *mAuthUtilitiesMenu =
nullptr;
115 QAction *mActionImportAuthenticationConfigs =
nullptr;
116 QAction *mActionExportSelectedAuthenticationConfigs =
nullptr;
117 QAction *mActionSetMasterPassword =
nullptr;
118 QAction *mActionClearCachedMasterPassword =
nullptr;
119 QAction *mActionResetMasterPassword =
nullptr;
120 QAction *mActionClearCachedAuthConfigs =
nullptr;
121 QAction *mActionRemoveAuthConfigs =
nullptr;
122 QAction *mActionEraseAuthDatabase =
nullptr;
124 bool mDisabled =
false;
125 QVBoxLayout *mAuthNotifyLayout =
nullptr;
126 QLabel *mAuthNotify =
nullptr;
Widget for editing authentication configuration database.
MessageLevel
Message log level (mirrors that of QgsMessageLog, so it can also output there)
A bar for displaying non-blocking messages to the user.