Image Component Library (ICL)
|
Class for handling "float" textfield components. More...
#include <FloatHandle.h>
Public Member Functions | |
FloatHandle () | |
Create an empty handle. More... | |
FloatHandle (QLineEdit *le, GUIWidget *w) | |
Create a new FloatHandel. More... | |
void | operator= (float f) |
make the associated text field show a float More... | |
float | getValue () const |
returns the current text as float More... | |
Public Member Functions inherited from icl::qt::GUIHandle< QLineEdit > | |
const QLineEdit * | operator * () const |
use the *-oprator to get the wrapped component (const) More... | |
QLineEdit *& | operator * () |
use the *-oprator to get the wrapped component (unconst) More... | |
QLineEdit * | operator-> () |
this can be used for direct access to wrapped type More... | |
const QLineEdit * | operator-> () const |
this can be used for direct access to wrapped type More... | |
bool | isNull () const |
returns whether wrapped pointer is null or not More... | |
void | enable () |
enables the wrapped GUI component More... | |
void | disable () |
disables the wrapped GUI component More... | |
Public Member Functions inherited from icl::qt::GUIHandleBase | |
virtual | ~GUIHandleBase () |
virtual destructor More... | |
GUIWidget * | getGUIWidget () |
returns parent GUIWidget pointer More... | |
virtual void | registerCallback (const GUI::Callback &cb, const std::string &events="all") |
registers a callback on this gui widget More... | |
virtual void | registerCallback (const GUI::ComplexCallback &cb, const std::string &events="all") |
registers a complex callback on this gui component More... | |
virtual void | removeCallbacks () |
removes all callbacks from parent GUIWidget component More... | |
virtual void | cb () |
envokes all registered callbacks More... | |
Additional Inherited Members | |
Protected Member Functions inherited from icl::qt::GUIHandle< QLineEdit > | |
GUIHandle () | |
as GUIHandle is just an interface, its base constructor is protected More... | |
GUIHandle (QLineEdit *t, GUIWidget *w) | |
as GUIHandle is just an interface, its base constructor is protected More... | |
Protected Member Functions inherited from icl::qt::GUIHandleBase | |
GUIHandleBase (GUIWidget *w=0) | |
create a new GUIHandleBase More... | |
Class for handling "float" textfield components.
|
inline |
Create an empty handle.
|
inline |
Create a new FloatHandel.
float icl::qt::FloatHandle::getValue | ( | ) | const |
returns the current text as float
void icl::qt::FloatHandle::operator= | ( | float | f | ) |
make the associated text field show a float