PARP Research Group University of Murcia, Spain


QVDefaultGUI Class Reference
[Graphical User Interface]

Main user interface widget for QVision applications. More...

#include <qvdefaultgui/qvdefaultgui.h>

Inherits QVGUI.

List of all members.

Public Member Functions

 QVDefaultGUI (QWidget *parent=0)
 Constructs a QVDefaultGUI object.


Detailed Description

Main user interface widget for QVision applications.

This is the default graphical user interface class. It offers basic widgets to control several aspects of the execution of a QVision application. More specifically, this default GUI will show two separated tabbed toolbox widgets: one for workers, with a control button bar and a parameter inspector for each QVWorker object in the application, and another one for cameras, which also provides control and input/output information for each QVCameraWorker. The main widget has also a menu with typical Quit, Window and Help submenus. Particularly, the window submenu allows show/hide control of every window (QVImageCanvas, QVGLCanvas, and QVPlot ) created by the QVision application.

It is very easy to use this class: you simply must declare an instance of it in the main function of your application (after the QVApplication object declaration). Then, when the application enters its exec() method, this instance of QVDefautlGUI will detect all the involved workers, cameras, canvas and so on, and will automatically create the needed visual interface:

int main(int argc, char *argv[])
        {
        QVApplication app(argc, argv, "An example application");
        QVDefaultGUI interface;
        // Declaration and linking of workers, cameras, canvas, etc. of our application would be here...
        return app.exec();
        }

This class is one of the implementations of the pure virtual base class QVGUI provided by the QVision framework. Maybe you are also interested in the QVDesignerGUI one.

qvdefaultgui.png

Definition at line 61 of file qvdefaultgui.h.


Constructor & Destructor Documentation

QVDefaultGUI::QVDefaultGUI ( QWidget *  parent = 0  ) 

Constructs a QVDefaultGUI object.

Parameters:
parent (Optional) parent for the created widget

Definition at line 39 of file qvdefaultgui.cpp.


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



QVision framework. PARP research group, copyright 2007, 2008.