17 #ifndef QGSAUTHCONFIGEDITOR_H 
   18 #define QGSAUTHCONFIGEDITOR_H 
   20 #include <QSqlTableModel> 
   24 #include "ui_qgsauthconfigeditor.h" 
   49     void toggleTitleVisibility( 
bool visible );
 
   53     void setShowUtilitiesButton( 
bool show = 
true );
 
   56     void setRelayMessages( 
bool relay = 
true );
 
   60     void refreshTableView();
 
   63     void setMasterPassword();
 
   66     void clearCachedMasterPassword();
 
   69     void resetMasterPassword();
 
   72     void clearCachedAuthenticationConfigs();
 
   75     void removeAuthenticationConfigs();
 
   78     void eraseAuthenticationDatabase();
 
   84     void selectionChanged( 
const QItemSelection &selected, 
const QItemSelection &deselected );
 
   87     void checkSelection();
 
   89     void btnAddConfig_clicked();
 
   91     void btnEditConfig_clicked();
 
   93     void btnRemoveConfig_clicked();
 
   99     QString selectedConfigId();
 
  101     QSqlTableModel *mConfigModel = 
nullptr;
 
  103     QMenu *mAuthUtilitiesMenu = 
nullptr;
 
  104     QAction *mActionSetMasterPassword = 
nullptr;
 
  105     QAction *mActionClearCachedMasterPassword = 
nullptr;
 
  106     QAction *mActionResetMasterPassword = 
nullptr;
 
  107     QAction *mActionClearCachedAuthConfigs = 
nullptr;
 
  108     QAction *mActionRemoveAuthConfigs = 
nullptr;
 
  109     QAction *mActionEraseAuthDatabase = 
nullptr;
 
  111     bool mDisabled = 
false;
 
  112     QVBoxLayout *mAuthNotifyLayout = 
nullptr;
 
  113     QLabel *mAuthNotify = 
nullptr;
 
  116 #endif // QGSAUTHCONFIGEDITOR_H