libeblearngui
ebbox Class Reference

#include <old_ebm_gui.h>

Inheritance diagram for ebbox:
fc_ebm1_GUI fc_ebm2_GUI Idx_Gui layers_2_GUI module_1_1_GUI module_2_1_GUI state_Idx_Gui c_layer_GUI edist_cost_GUI f_layer_GUI full_layer_GUI linear_module_GUI logadd_layer_GUI s_layer_GUI

List of all members.

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

Detailed Description

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


Constructor & Destructor Documentation

ebbox::ebbox ( QWidget *  parent = 0,
const char *  title = NULL,
QDialog *  prop = NULL,
QWidget *  vis = NULL,
QMutex *  argmutex = NULL 
)

The main constructor

Parameters:
parentis not needed, leave it to 0
propis a pointer to the parameters dialog associated with the module
visis a pointer to the display widget
argmutexis the mutex used to protect the idxs and other structures (derived classes) in multi-thread applications

Member Data Documentation

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


The documentation for this class was generated from the following files: