|
GUI & | operator<< (const GUIComponent &component) const |
| hierarchical stream operator to create complex GUIs More...
|
|
GUI & | operator<< (const GUI &g) const |
| hierarchical stream operator to create complex GUIs More...
|
|
const ContainerGUIComponent & | handle (const std::string &handle) const |
| sets the component's handle More...
|
|
const ContainerGUIComponent & | label (const std::string &label) const |
| sets the component's label More...
|
|
const ContainerGUIComponent & | size (const utils::Size &size) const |
| sets the component's initial size More...
|
|
const ContainerGUIComponent & | size (int w, int h) const |
| sets the component's initial size More...
|
|
const ContainerGUIComponent & | minSize (const utils::Size &minSize) const |
| sets the component's minimum size constraint More...
|
|
const ContainerGUIComponent & | minSize (int w, int h) const |
| sets the component's minimum size constraint More...
|
|
const ContainerGUIComponent & | maxSize (const utils::Size &maxSize) const |
| sets the component's maximum size constraint More...
|
|
const ContainerGUIComponent & | maxSize (int w, int h) const |
| sets the component's maximum size constraint More...
|
|
const ContainerGUIComponent & | margin (int margin) const |
| sets the component's layout margin More...
|
|
const ContainerGUIComponent & | spacing (int spacing) const |
| sets the component's layout spacing More...
|
|
ContainerGUIComponent & | handle (const std::string &handle) |
| sets the component's handle More...
|
|
ContainerGUIComponent & | label (const std::string &label) |
| sets the component's label More...
|
|
ContainerGUIComponent & | size (const utils::Size &size) |
| sets the component's initial size More...
|
|
ContainerGUIComponent & | size (int w, int h) |
| sets the component's initial size More...
|
|
ContainerGUIComponent & | minSize (const utils::Size &minSize) |
| sets the component's minimum size constraint More...
|
|
ContainerGUIComponent & | minSize (int w, int h) |
| sets the component's minimum size constraint More...
|
|
ContainerGUIComponent & | maxSize (const utils::Size &maxSize) |
| sets the component's maximum size constraint More...
|
|
ContainerGUIComponent & | maxSize (int w, int h) |
| sets the component's maximum size constraint More...
|
|
ContainerGUIComponent & | margin (int margin) |
| sets the component's layout margin More...
|
|
ContainerGUIComponent & | spacing (int spacing) |
| sets the component's layout spacing More...
|
|
| GUI (QWidget *parent=0) |
| Default constructor, creates a vbox GUI Component. More...
|
|
| GUI (const GUIComponent &component, QWidget *parent=0) |
| creates a GUI from a givne GUIComponent More...
|
|
| GUI (const GUI &gui, QWidget *parent=0) |
| copy constructor More...
|
|
GUI & | operator= (const GUI &other) |
| gui-copy operator More...
|
|
virtual | ~GUI () |
| Destructor. More...
|
|
virtual GUI & | operator<< (const GUIComponent &component) |
| adds a new GUI component More...
|
|
virtual GUI & | operator<< (const GUI &g) |
| stream operator to add new other GUIs More...
|
|
template<class T > |
T & | allocValue (const std::string &id, const T &val=T()) |
| wraps the data-stores allocValue function More...
|
|
template<class T > |
void | release (const std::string &id) |
| wraps the datastores release function More...
|
|
template<class T > |
T & | get (const std::string &id, bool typeCheck=true) |
|
DataStore::Data | operator[] (const std::string &key) |
| returns a Data instance from the datastore More...
|
|
template<class T > |
std::vector< T > | collect (const std::vector< std::string > &keys) |
| collects data from different components at once More...
|
|
virtual bool | isVisible () const |
| returns whether this gui is actually visible More...
|
|
virtual void | create () |
| internally creates everything More...
|
|
virtual void | show () |
| internally creates everything (and makes the gui visible) More...
|
|
virtual void | hide () |
| make this gui invisible (nothing more) More...
|
|
virtual void | switchVisibility () |
| if widget is visible, this hides the widget, otherwise the widget is shown More...
|
|
GUIWidget * | getRootWidget () |
| returns the root widget of the gui (only avialable after create() or show()) More...
|
|
void | lockData () |
| internally locks the datastore More...
|
|
void | unlockData () |
| internally unlocks the data store More...
|
|
void | waitForCreation () |
| waits for the gui to be created completely More...
|
|
const DataStore & | getDataStore () const |
| returns the GUI internal dataStore More...
|
|
void | registerCallback (const Callback &cb, const std::string &handleNamesList, char listDelim=',') |
| registers a callback function on each component More...
|
|
void | registerCallback (const ComplexCallback &cb, const std::string &handleNamesList, char listDelim=',') |
| registeres a complex callback at a given GUI component More...
|
|
void | removeCallbacks (const std::string &handleNamesList, char listDelim=',') |
| removes all callbacks from components More...
|
|
bool | isDummy () const |
| returns whether this GUI is a dummy GUI More...
|
|
bool | hasBeenCreated () const |
| returns whether this GUI has been created or not More...
|
|
std::string | createXMLDescription () const |
| creates a hierarchical xml-description of the GUI Layout More...
|
|
Special GUI extension, that mimics the GUIComponent interface.
The Container GUIComponent mimics the GUIComponent interface in order to provide a unified look and feel within a hierarchical GUI definition section. Internally a mutable GUIComponent is used for parameter accumulation