17 #ifndef QGSAUTHGUIUTILS_H
18 #define QGSAUTHGUIUTILS_H
34 static QColor greenColor();
37 static QColor orangeColor();
43 static QColor yellowColor();
46 static QString greenTextStyleSheet(
const QString& selector =
"*" );
49 static QString orangeTextStyleSheet(
const QString& selector =
"*" );
56 static bool isDisabled(
QgsMessageBar *msgbar,
int timeout = 0 );
59 static void setMasterPassword(
QgsMessageBar *msgbar,
int timeout = 0 );
62 static void clearCachedMasterPassword(
QgsMessageBar *msgbar,
int timeout = 0 );
68 static void clearCachedAuthenticationConfigs(
QgsMessageBar *msgbar,
int timeout = 0 );
71 static void removeAuthenticationConfigs(
QgsMessageBar *msgbar,
int timeout = 0,
QWidget *parent = 0 );
74 static void eraseAuthenticationDatabase(
QgsMessageBar *msgbar,
int timeout = 0,
QWidget *parent = 0 );
77 static void fileFound(
bool found,
QWidget * widget );
83 #endif // QGSAUTHGUIUTILS_H
A bar for displaying non-blocking messages to the user.
Utility functions for use by authentication GUI widgets or standalone apps.