|
libeblearngui
|
#include <old_ebm_gui.h>
Public Slots | |
| virtual void | openProperties () |
| open the properties widget "properties" | |
| void | resize () |
| open and close the display widget "visible" by making it (in)visible and resizing the widget | |
| virtual void | print () |
| prints | |
| virtual void | refreshform (bool propup=false) |
| refresh the display and tells all the widgets added to do the same | |
Public Member Functions | |
| ebbox (QWidget *parent=0, const char *title=NULL, QDialog *prop=NULL, QWidget *vis=NULL, QMutex *argmutex=NULL) | |
| void | add_box (ebbox *ajout) |
Public Attributes | |
| Ui::Ebbox | ui |
| QDialog * | properties |
| QWidget * | visible |
| bool | open |
| QWidget * | mainwidget |
Protected Attributes | |
| vector< ebbox * > | added_widgets |
| this vector is used to transmit the refreshdisplay() signal to the widgets added | |
| QMutex * | mutex |
| see constructor | |
ebbox is a general container. It can be used either as a base class for the specialized 1-layer modules, or as a container for multilayer modules
| ebbox::ebbox | ( | QWidget * | parent = 0, |
| const char * | title = NULL, |
||
| QDialog * | prop = NULL, |
||
| QWidget * | vis = NULL, |
||
| QMutex * | argmutex = NULL |
||
| ) |
The main constructor
| parent | is not needed, leave it to 0 |
| prop | is a pointer to the parameters dialog associated with the module |
| vis | is a pointer to the display widget |
| argmutex | is the mutex used to protect the idxs and other structures (derived classes) in multi-thread applications |
| QWidget* ebbox::mainwidget |
not used actually but may be used in the future it is a pointer to the main widget wich could be used to send a resize() signal