88 const int value = data.toInt();
static ShowTypes::ShowType SeverityToShowType(Severity severity)
Convert severity string to ShowTypes value.
static ShowTypes::ShowType VariantToShowType(const QVariant &data)
Convert QVariant (that contains an int) to Showtypes value.
ShowType
Show types we have (i.e.
static Severity ShowTypeToSeverity(ShowTypes::ShowType type)
Convert ShowType to severity string.
void show(ShowTypes::ShowType category, bool showing)
Show/hide the showtype.
void load()
Load visibility settings from the platform's settings storage.
bool isShown(ShowTypes::ShowType category) const
Is the showtype visible in the GUI?
void save() const
Save visibility settings to the platform's settings storage.
Severity
enum class for severity.
@ none
No severity (default value).
@ portability
Portability warning.
@ information
Checking information.
@ performance
Performance warning.
@ error
Programming error.
@ internal
Internal message.
#define SETTINGS_SHOW_INFORMATION
#define SETTINGS_SHOW_ERRORS
#define SETTINGS_SHOW_PERFORMANCE
#define SETTINGS_SHOW_STYLE
#define SETTINGS_SHOW_WARNINGS
#define SETTINGS_SHOW_PORTABILITY