Cube GUI Plugin User Guide  (CubeGUI 4.4.4, revision 18494)
How to develop a Cube GUI Plugin, road map and examples
Signals | Public Member Functions | Static Public Member Functions | List of all members
cubepluginapi::ContextFreeServices Class Reference

#include <ContextFreeServices.h>

Inheritance diagram for cubepluginapi::ContextFreeServices:
QObject

Signals

void openCubeRequest (cube::Cube *cube)
 

Public Member Functions

void openCube (cube::Cube *cube)
 
QWidget * getWidget ()
 
void setMessage (const QString &str, cubegui::MessageType type=cubegui::Information)
 

Static Public Member Functions

static ContextFreeServicesgetInstance ()
 

Member Function Documentation

static ContextFreeServices* cubepluginapi::ContextFreeServices::getInstance ( )
static
QWidget* cubepluginapi::ContextFreeServices::getWidget ( )

returns a widget on the main screen which can be used by the plugin. If the plugin is closed, all children of the widget are deleted.

void cubepluginapi::ContextFreeServices::openCube ( cube::Cube *  cube)

closes this plugin and loads the given cube

void cubepluginapi::ContextFreeServices::openCubeRequest ( cube::Cube *  cube)
signal
void cubepluginapi::ContextFreeServices::setMessage ( const QString &  str,
cubegui::MessageType  type = cubegui::Information 
)

Writes the given message to the status line at the bottom of the cube window


Cube Writer Library    Copyright © 1998–2017 Forschungszentrum Jülich GmbH, Jülich Supercomputing Centre
Copyright © 2009–2015 German Research School for Simulation Sciences GmbH, Laboratory for Parallel Programming