Albert
Loading...
Searching...
No Matches
widgetsutil.h File Reference
#include <QCheckBox>
#include <QDoubleSpinBox>
#include <QLineEdit>
#include <QSpinBox>
#include <QString>
#include <albert/export.h>
Include dependency graph for widgetsutil.h:

Go to the source code of this file.

Namespaces

namespace  albert
 
namespace  albert::util
 

Functions

template<typename T , typename GET , typename SET >
void albert::util::bind (QCheckBox *checkbox, T *object, GET get, SET set)
 Binds a property of type bool of object to checkbox.
 
template<typename T , typename GET , typename SET , typename SIG >
void albert::util::bind (QCheckBox *checkbox, T *object, GET get, SET set, SIG sig)
 Binds a property of type bool of object to checkbox.
 
template<typename T , typename GET , typename SET >
void albert::util::bind (QLineEdit *lineedit, T *object, GET get, SET set)
 Binds a property of type QString of object to lineedit.
 
template<typename T , typename GET , typename SET , typename SIG >
void albert::util::bind (QLineEdit *lineedit, T *object, GET get, SET set, SIG sig)
 Binds a property of type QString of object to lineedit.
 
template<typename T , typename GET , typename SET >
void albert::util::bind (QSpinBox *spinbox, T *object, GET get, SET set)
 Binds a property of type int of object to spinbox.
 
template<typename T , typename GET , typename SET , typename SIG >
void albert::util::bind (QSpinBox *spinbox, T *object, GET get, SET set, SIG sig)
 Binds a property of type int of object to spinbox.
 
template<typename T , typename GET , typename SET >
void albert::util::bind (QDoubleSpinBox *spinbox, T *object, GET get, SET set)
 Binds a property of type double of object to spinbox.
 
template<typename T , typename GET , typename SET , typename SIG >
void albert::util::bind (QDoubleSpinBox *spinbox, T *object, GET get, SET set, SIG sig)
 Binds a property of type double of object to spinbox.