QSettingsDialog  1.0.0
A Qt library to easily create a settings dialog for user configurable settings
Classes | Macros
Variant-Widgets

A module containing all default edit and group widgets. More...

Classes

class  VariantWidgetsRegistrator
 A static class to globally register different types of edit widgets. More...
 
class  FilePath
 A custom type that represents a file path (is a QString) More...
 
class  IntRange
 A custom type that represents an integer range (is an int) More...
 
class  HtmlText
 A custom type that represents html-text (is a QString) More...
 

Macros

#define VARIANT_WIDGETS_AUTOLOAD   "env_qsettingsdialog_autoload"
 Enviroment variable name for autoload configuration.
 
#define AUTOLOAD_GROUPS   0b1000
 Enviroment variable value to autoload groups.
 
#define AUTOLOAD_WIDGETS   0b0100
 Enviroment variable value to autoload default edit widgets.
 
#define AUTOLOAD_ENUMS   0b0010
 Enviroment variable value to autoload enum factories.
 
#define AUTOLOAD_EXTENDED   0b0001
 Enviroment variable value to autoload extended edit widgets.
 

Detailed Description

A module containing all default edit and group widgets.

This module is basically a collection of edit and group widgets. These widgets are organized into groups and can be added as global defaults to the engine, with the statuc VariantWidgetsRegistrator class.

Extended Types

The Variant-Widgets define three special types. These are mainly there to be used as types for special edit widgets. Each of those three types can be implicitly converted to it's base class and can be created from it's base. The types are:

Core Structure

The following diagramm describes the Variant-Widgets structure. Bold classes are the most important ones for you as an api user:

structure_variantwidgets.svg
The Variant-Widgets-Structure in a class diagram

Examples

The core can be found in any of the default examples, but all of it's features are tested out in the VariantWidgetsTest. Use this example if you interested in all the feature of the Variant-Widgets.