casa
5.7.0-16
|
#include <QtDBusViewerAdaptor.qo.h>
Classes | |
class | data_desc |
class | panel_desc |
Public Slots | |
QDBusVariant | start_interact (const QDBusVariant &input, int panel) |
QDBusVariant | datarange (const QList< double > &range, int data=0) |
QDBusVariant | contourlevels (const QList< double > &levels, double baselevel=2147483648.0, double unitlevel=2147483648.0, int panel_or_data=0) |
QDBusVariant | contourcolor (const QString &color, int panel_or_data=0) |
QDBusVariant | contourthickness (double thickness, int panel_or_data=0) |
QDBusVariant | axes (const QString &x="", const QString &y="", const QString &z="", int panel=0) |
QDBusVariant | colormap (const QString &map, int panel_or_data=0) |
QDBusVariant | colorwedge (bool show=true, int panel_or_data=0) |
QDBusVariant | load (const QString &path, const QString &displaytype="raster", int panel=0, double scaling=0) |
QDBusVariant | reload (int panel_or_data) |
QDBusVariant | unload (int data) |
QDBusVariant | restore (const QString &path, int panel=0) |
QDBusVariant | panel (const QString &type="viewer", bool hidden=false) |
QDBusVariant | hide (int panel=0) |
QDBusVariant | show (int panel=0) |
QDBusVariant | close (int panel=0) |
QDBusVariant | popup (const QString &what, int panel=0) |
QDBusVariant | cwd (const QString &new_path="") |
QDBusVariant | freeze (int panel=0) |
QDBusVariant | unfreeze (int panel=0) |
QDBusVariant | channel (int num=-1, int panel=0) |
QDBusVariant | zoom (int level, int panel=0) |
QDBusVariant | zoom (const QList< double > &blc, const QList< double > &trc, const QString &coordinates="pixel", int panel=0) |
QDBusVariant | release (int panel) |
like "close()", but leaves the closing up to the user if the window is not hidden More... | |
QDBusVariant | setoptions (const QDBusVariant &input, int panel) |
To change certain things so the panel. More... | |
bool | output (const QString &device, const QString &devicetype="file", int panel=0, double scale=1.0, int dpi=300, const QString &format="jpg", const QString &orientation="portrait", const QString &media="letter") |
device: file name or printer name devicetype: "file", "printer", or "ghostscript" format: "jpg", "pdf", "eps", "ps", "png", "xbm", "xpm", "ppm" [only used with devicetype == "file"] [extension on device, e.g. More... | |
QDBusVariant | fileinfo (const QString &path) |
QStringList | keyinfo (int) |
bool | done () |
Signals | |
void | interact (QDBusVariant) |
void | exiting (QDBusVariant) |
Public Member Functions | |
QString | dbusName () const |
bool | connectToDBus (const QString &dbus_name="") |
Connects to the DBus server using the name provided (if non-null). More... | |
QtDBusViewerAdaptor (QtViewer *) | |
Constructor which takes the application. More... | |
~QtDBusViewerAdaptor () | |
Destructor. More... | |
Public Member Functions inherited from casa::QtDBusApp | |
QString | dbusServiceName (const QString &name, const pid_t pid) |
QString | dbusObjectName (const QString &name, const pid_t pid) |
const QString & | dbusServiceName (const QString &name="") |
const QString & | dbusObjectName (const QString &name="") |
QtDBusApp () | |
virtual | ~QtDBusApp () |
Protected Slots | |
void | handle_interact (QVariant) |
void | handle_destroyed_panel (QObject *) |
Protected Member Functions | |
QtDisplayPanelGui * | create_panel () |
void | load_data (QtDisplayPanelGui *panel, int index) |
void | unload_data (QtDisplayPanelGui *panel, int index, bool erase=true) |
QtDisplayPanelGui * | erase_panel (int panel) |
void | erase_data (int) |
Protected Member Functions inherited from casa::QtDBusApp | |
bool | connectToDBus (QObject *object, const QString &dbus_name="") |
Private Types | |
typedef std::map< int, panel_desc * > | panelmap |
typedef std::map< int, data_desc * > | datamap |
Private Member Functions | |
QDBusVariant | error (const QString &message) |
bool | printps (QtDisplayPanel *panel, const QString &type, const QString &file, int dpi, const QString &orientation, const QString &media) |
bool | printraster (QtDisplayPanel *panel, const QString &type, const QString &file, double scale) |
void | adjusteps (const char *from, const char *to, const QSize &wcmax, const QRect &viewport) |
int | get_id (QtDisplayPanelGui *, QtDisplayData *, const QString &path, const QString &type) |
int | get_id (QtDisplayPanelGui *) |
QtDisplayPanelGui * | findpanel (int key, bool create=true) |
QtDisplayData * | finddata (int key) |
Private Attributes | |
QtViewer * | viewer_ |
datamap | managed_datas |
panelmap | managed_panels |
Additional Inherited Members | |
Static Public Member Functions inherited from casa::QtDBusApp | |
static QDBusConnection | connection () |
static QString | serviceOwner (const QString &service) |
static QString | serviceOwner (const std::string &service) |
static bool | serviceIsAvailable (const QString &service) |
static bool | serviceIsAvailable (const std::string &service) |
static QString | generateServiceName (const QString &name, const pid_t pid) |
Definition at line 44 of file QtDBusViewerAdaptor.qo.h.
|
private |
Definition at line 222 of file QtDBusViewerAdaptor.qo.h.
|
private |
Definition at line 221 of file QtDBusViewerAdaptor.qo.h.
casa::QtDBusViewerAdaptor::QtDBusViewerAdaptor | ( | QtViewer * | ) |
Constructor which takes the application.
casa::QtDBusViewerAdaptor::~QtDBusViewerAdaptor | ( | ) |
Destructor.
|
private |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
inlinevirtual |
Connects to the DBus server using the name provided (if non-null).
Otherwise, the dbusName() method with the current process ID is used. Returns a boolean which indicates whether the connection succeeded or not.
Implements casa::QtDBusApp.
Definition at line 53 of file QtDBusViewerAdaptor.qo.h.
References casa::QtDBusApp::connectToDBus().
|
slot |
|
slot |
|
slot |
|
protected |
|
slot |
|
slot |
|
inlinevirtual |
Implements casa::QtDBusApp.
Definition at line 50 of file QtDBusViewerAdaptor.qo.h.
References casa::QtViewer::name().
|
slot |
|
protected |
|
protected |
|
inlineprivate |
Definition at line 130 of file QtDBusViewerAdaptor.qo.h.
|
signal |
|
slot |
|
private |
|
private |
|
slot |
|
private |
|
private |
|
protectedslot |
|
protectedslot |
|
slot |
|
signal |
|
slot |
|
slot |
|
protected |
|
slot |
device: file name or printer name devicetype: "file", "printer", or "ghostscript" format: "jpg", "pdf", "eps", "ps", "png", "xbm", "xpm", "ppm" [only used with devicetype == "file"] [extension on device, e.g.
"outfile.pdf" overrides "format"] scale: size scale factor for raster output (e.g. jpg etc.) dpi: resolution of PS or EPS images orientation: "portrait", "landscape" media: "letter" or "a4"
|
slot |
|
slot |
|
private |
|
private |
|
slot |
like "close()", but leaves the closing up to the user if the window is not hidden
|
slot |
|
slot |
|
slot |
To change certain things so the panel.
|
slot |
|
slot |
|
slot |
|
slot |
|
protected |
|
slot |
|
slot |
|
private |
Definition at line 223 of file QtDBusViewerAdaptor.qo.h.
|
private |
Definition at line 224 of file QtDBusViewerAdaptor.qo.h.
|
private |
Definition at line 214 of file QtDBusViewerAdaptor.qo.h.