casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QtPlotServer.qo.h
Go to the documentation of this file.
1 //# QtPlotServer.qo.h: main class for plotting; panels are created from here
2 //# with surrounding Gui functionality
3 //# Copyright (C) 2005
4 //# Associated Universities, Inc. Washington DC, USA.
5 //#
6 //# This library is free software; you can redistribute it and/or modify it
7 //# under the terms of the GNU Library General Public License as published by
8 //# the Free Software Foundation; either version 2 of the License, or (at your
9 //# option) any later version.
10 //#
11 //# This library is distributed in the hope that it will be useful, but WITHOUT
12 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14 //# License for more details.
15 //#
16 //# You should have received a copy of the GNU Library General Public License
17 //# along with this library; if not, write to the Free Software Foundation,
18 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
19 //#
20 //# Correspondence concerning AIPS++ should be addressed as follows:
21 //# Internet email: aips2-request@nrao.edu.
22 //# Postal address: AIPS++ Project Office
23 //# National Radio Astronomy Observatory
24 //# 520 Edgemont Road
25 //# Charlottesville, VA 22903-2475 USA
26 //#
27 //# $Id: QtPlotServer.qo.h,v 1.7 2006/10/10 21:42:05 dking Exp $
28 
29 #ifndef QTDBUSPLOTSERVER_QO_H_
30 #define QTDBUSPLOTSERVER_QO_H_
31 
32 #include <QObject>
33 
34 
35 namespace casa {
36 
37  class QtDBusPlotSvrAdaptor;
38  class QtPlotSvrPanel;
39 
40  class QtPlotServer : public QObject {
41  Q_OBJECT
42  public:
43 
44  QtPlotServer( const char *dbus_name=0 );
45  ~QtPlotServer( );
46 
47  // name used to initialize connection to dbus
48  static const QString &name( );
49 
50  QtPlotSvrPanel *panel( const QString &title, const QString &xlabel="", const QString &ylabel="", const QString &window_title="",
51  const QList<int> &size=QList<int>( ), const QString &legend="bottom", const QString &zoom="bottom",
52  QtPlotSvrPanel *with_panel=0, bool new_row=false );
53 
54  private:
55  static QString name_;
56  QString dbus_name_;
58 
59  };
60 
61 }
62 
63 #endif
QtPlotServer(const char *dbus_name=0)
size_t size() const
QtDBusPlotSvrAdaptor * dbus_
static const QString & name()
name used to initialize connection to dbus
static QString name_
QtPlotSvrPanel * panel(const QString &title, const QString &xlabel="", const QString &ylabel="", const QString &window_title="", const QList< int > &size=QList< int >(), const QString &legend="bottom", const QString &zoom="bottom", QtPlotSvrPanel *with_panel=0, bool new_row=false)