casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PlotMSDataSymbolWidget.qo.h
Go to the documentation of this file.
1 //# Copyright (C) 2009
2 //# Associated Universities, Inc. Washington DC, USA.
3 //#
4 //# This library is free software; you can redistribute it and/or modify it
5 //# under the terms of the GNU Library General Public License as published by
6 //# the Free Software Foundation; either version 2 of the License, or (at your
7 //# option) any later version.
8 //#
9 //# This library is distributed in the hope that it will be useful, but WITHOUT
10 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12 //# License for more details.
13 //#
14 //# You should have received a copy of the GNU Library General Public License
15 //# along with this library; if not, write to the Free Software Foundation,
16 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
17 //#
18 //# Correspondence concerning AIPS++ should be addressed as follows:
19 //# Internet email: aips2-request@nrao.edu.
20 //# Postal address: AIPS++ Project Office
21 //# National Radio Astronomy Observatory
22 //# 520 Edgemont Road
23 //# Charlottesville, VA 22903-2475 USA
24 //#
25 //# $Id: $
26 #ifndef DATASYMBOLWIDGET_QO_H
27 #define DATASYMBOLWIDGET_QO_H
28 
29 #include <QWidget>
30 #include <plotms/GuiTabs/PlotMSDataSymbolWidget.ui.h>
31 
32 namespace casa {
33 
34 class PlotSymbolWidget;
35 class PlotMSPlotter;
36 class PMS_PP_Display;
37 
41 class PlotMSDataSymbolWidget : public QWidget
42 {
43  Q_OBJECT
44 
45 public:
48  void getValue(PMS_PP_Display* d, int index );
49  void setValue( const PMS_PP_Display* d, int );
50  void setLabelDefaults( QMap<QLabel*,QString>& map );
51  void update( const PMS_PP_Display* d, int index );
52 
53 signals:
54  void highlightWidgetText( QLabel* source, bool highlight);
55  void symbolChanged();
56 
57 private slots:
58  void symbolColorizeChanged();
59  void connectorChanged();
60 
61 private:
62  // Symbol widgets for unflagged and flagged points, respectively.
65  Ui::PlotMSDataSymbolWidgetClass ui;
66 };
67 
68 }
69 
70 #endif // DATASYMBOLWIDGET_QO_H
Represents how symbols are colored and drawn on the plot.
void highlightWidgetText(QLabel *source, bool highlight)
Subclass of PlotMSPlotParameters::Group to handle display parameters.
PlotMSDataSymbolWidget(PlotMSPlotter *parent=0)
void getValue(PMS_PP_Display *d, int index)
Ui::PlotMSDataSymbolWidgetClass ui
void setValue(const PMS_PP_Display *d, int)
void update(const PMS_PP_Display *d, int index)
void setLabelDefaults(QMap< QLabel *, QString > &map)
High(ish)-level plotter class that manages the GUI (semi-) transparently to the rest of PlotMS...
PlotSymbolWidget * itsSymbolWidget_
Symbol widgets for unflagged and flagged points, respectively.
Widget for choosing a plot symbol.