17 #ifndef QGSAUTHGUIUTILS_H 18 #define QGSAUTHGUIUTILS_H 35 static QColor greenColor();
38 static QColor orangeColor();
44 static QColor yellowColor();
47 static QString greenTextStyleSheet(
const QString& selector =
"*" );
50 static QString orangeTextStyleSheet(
const QString& selector =
"*" );
57 static bool isDisabled(
QgsMessageBar *msgbar,
int timeout = 0 );
60 static void setMasterPassword(
QgsMessageBar *msgbar,
int timeout = 0 );
63 static void clearCachedMasterPassword(
QgsMessageBar *msgbar,
int timeout = 0 );
66 static void resetMasterPassword(
QgsMessageBar *msgbar,
int timeout = 0,
QWidget *parent =
nullptr );
69 static void clearCachedAuthenticationConfigs(
QgsMessageBar *msgbar,
int timeout = 0 );
72 static void removeAuthenticationConfigs(
QgsMessageBar *msgbar,
int timeout = 0,
QWidget *parent =
nullptr );
75 static void eraseAuthenticationDatabase(
QgsMessageBar *msgbar,
int timeout = 0,
QWidget *parent =
nullptr );
78 static void fileFound(
bool found,
QWidget * widget );
84 #endif // QGSAUTHGUIUTILS_H
A bar for displaying non-blocking messages to the user.
Utility functions for use by authentication GUI widgets or standalone apps.