#include <ContextFreeServices.h>
|
void | openCube (cube::CubeProxy *cube) |
|
QWidget * | getWidget () |
|
void | setMessage (const QString &str, cubegui::MessageType type=cubegui::Information) |
|
bool | connect (const QString &serverUrl) |
|
void | disconnect () |
|
std::vector< unsigned char > | sendToPlugin (const QString &serverPluginName, const std::vector< unsigned char > &data) |
|
bool cubepluginapi::ContextFreeServices::connect |
( |
const QString & |
serverUrl | ) |
|
connect to server (e.g. "cube://localhost:3300" ) before sendToPlugin is called
void cubepluginapi::ContextFreeServices::disconnect |
( |
| ) |
|
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::CubeProxy * |
cube | ) |
|
closes this plugin and loads the given cube
void cubepluginapi::ContextFreeServices::openCubeRequest |
( |
cube::CubeProxy * |
cube | ) |
|
|
signal |
std::vector<unsigned char> cubepluginapi::ContextFreeServices::sendToPlugin |
( |
const QString & |
serverPluginName, |
|
|
const std::vector< unsigned char > & |
data |
|
) |
| |
send data to the server side plugin identified by serverPluginName and wait for an answer
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