Go to the source code of this file.
Namespaces | |
namespace | Aseba |
Defines | |
#define | BOOL_TO_CHECKED(value) (value == true ? Qt::Checked : Qt::Unchecked) |
#define | CHECKED_TO_BOOL(value) (value == Qt::Checked ? true : false) |
#define | CONFIG_PROPERTY_CHECKBOX_HANDLER(name, page, keyword) |
#define | HORIZONTAL_STRUT 700 |
#define | TITLE_SPACING 10 |
#define BOOL_TO_CHECKED | ( | value | ) | (value == true ? Qt::Checked : Qt::Unchecked) |
Definition at line 28 of file ConfigDialog.cpp.
#define CHECKED_TO_BOOL | ( | value | ) | (value == Qt::Checked ? true : false) |
Definition at line 29 of file ConfigDialog.cpp.
#define CONFIG_PROPERTY_CHECKBOX_HANDLER | ( | name, | |
page, | |||
keyword | |||
) |
const bool ConfigDialog::get##name() { \ if (me) \ return me->page->checkboxCache[#keyword].value; \ else \ return false; \ } \ \ void ConfigDialog::set##name(bool value) { \ if (me && !me->isVisible()) \ me->page->checkboxCache[#keyword].value = value; \ }
Definition at line 31 of file ConfigDialog.cpp.
#define HORIZONTAL_STRUT 700 |
Definition at line 46 of file ConfigDialog.cpp.
#define TITLE_SPACING 10 |
Definition at line 45 of file ConfigDialog.cpp.