Namespaces | Defines
ConfigDialog.cpp File Reference
#include "ConfigDialog.h"
#include <QSettings>
#include <ConfigDialog.moc>
Include dependency graph for ConfigDialog.cpp:

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 Documentation

#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 
)
Value:
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.



aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17