#include <ApplicationInterface.h>
Collaboration diagram for ApplicationInterface:
Public Member Functions | |
ApplicationInterface (MdiInterface *mdiInt) | |
~ApplicationInterface () | |
virtual MdiInterface * | mdiInterface () |
Get the MdiInterface pointer. Not very nice method to access at a protected variable. | |
virtual QIcon * | icon (unsigned index=0) |
Get the application icon. | |
virtual unsigned | uniqueId (void *objectPtr) |
Get the unique identifier of selected object Each created object in MDI system have a unique 32 bit identifier. | |
virtual QWidget * | create (unsigned alias=0, AppBatchList &par=AppBatchList()) |
Create an application. | |
virtual QWidget * | open (unsigned alias=0, const char *fileNamePath=0, AppBatchList &par=AppBatchList()) |
Create an application and load a specific file. | |
virtual const char * | fileName (void *objectPtr) |
virtual bool | saveAs (const char *filePath, void *objectPtr) |
virtual bool | save (void *objectPtr) |
virtual bool | print (void *objectPtr) |
virtual void | undo (void *objectPtr) |
virtual void | redo (void *objectPtr) |
virtual void | cut (void *objectPtr) |
virtual void | copy (void *objectPtr) |
virtual void | paste (void *objectPtr) |
virtual bool | close (void *objectPtr) |
virtual void | update (void *objectPtr) |
virtual void | help (unsigned alias=0) |
virtual void | script (void *sctx) |
virtual void | basic (void *sctx) |
Data Fields | |
MethodLibrary | library |
Protected Attributes | |
MdiInterface * | mInt |
|
Definition at line 68 of file ApplicationInterface.h. References mInt. |
|
Definition at line 69 of file ApplicationInterface.h. |
|
Definition at line 176 of file ApplicationInterface.h. |
|
Definition at line 164 of file ApplicationInterface.h. |
|
Definition at line 158 of file ApplicationInterface.h. |
|
Create an application.
Usage:AppBatchList bl; bl << AppComPar("title", "Calorimeter Monitor", "Time (s)", "Temperature (ºC)", "Cell Power (W)"); // Get the address of the application interface ApplicationInterface * plot = mInt->applicationInterface("PLOT2D"); QWidget * plotWidget = plot->create(0, bl); Definition at line 124 of file ApplicationInterface.h. |
|
Definition at line 157 of file ApplicationInterface.h. |
|
Definition at line 147 of file ApplicationInterface.h. |
|
Definition at line 166 of file ApplicationInterface.h. |
|
Get the application icon.
Usage:// Get the address of the application interface ApplicationInterface * te = mInt->applicationInterface("TextEditor"); QIcon * icon = te->icon(0); Definition at line 84 of file ApplicationInterface.h. |
|
Get the MdiInterface pointer. Not very nice method to access at a protected variable.
Definition at line 106 of file ApplicationInterface.h. References mInt. |
|
Create an application and load a specific file.
Usage:ApplicationInterface * textEditor = mInt->applicationInterface("TextEditor"); AppBatchList bl; bl << AppComPar("clearFilter"); bl << AppComPar("setFilter", "JS - Java script file (*.js)"); bl << AppComPar("setHighLighter", "js"); QWidget * wd = textEditor->open(alias, fileName, bl); Definition at line 142 of file ApplicationInterface.h. |
|
Definition at line 159 of file ApplicationInterface.h. |
|
Definition at line 150 of file ApplicationInterface.h. |
|
Definition at line 156 of file ApplicationInterface.h. |
|
Definition at line 149 of file ApplicationInterface.h. |
|
Definition at line 148 of file ApplicationInterface.h. |
|
Definition at line 171 of file ApplicationInterface.h. |
|
Definition at line 155 of file ApplicationInterface.h. |
|
Get the unique identifier of selected object Each created object in MDI system have a unique 32 bit identifier.
Usage:// Get the address of the application interface ApplicationInterface * rte = mInt->applicationInterface("RichTextEditor"); unsigned id = te->uniqueId(mInt->selectedWindow()); Definition at line 98 of file ApplicationInterface.h. |
|
Definition at line 165 of file ApplicationInterface.h. |
|
Definition at line 179 of file ApplicationInterface.h. |
|
Definition at line 182 of file ApplicationInterface.h. Referenced by ApplicationInterface(), and mdiInterface(). |