#include <QtCleanPanelGui2.qo.h>
Signals | |
void | interact (QVariant) |
Public Member Functions | |
~QtCleanPanelGui2 () | |
bool | supports (SCRIPTING_OPTION option) const |
QVariant | start_interact (const QVariant &input, int id) |
QVariant | setoptions (const QMap< QString, QVariant > &input, int id) |
void | addedData (QString type, QtDisplayData *) |
the QtDBusViewerAdaptor can handle loading & registering data itself, but to connect up extra functionality, the upper-level QtDisplayPanelGui (or in the current case, the derived QtCleanPanelGui2) would have to be notified that data has been added. | |
Protected Slots | |
virtual void | exitStop () |
virtual void | exitDone () |
virtual void | exitNoMore () |
virtual void | newMouseRegion (Record mouseRegion, WorldCanvasHolder *wch) |
Connected to the rectangle region mouse tools new rectangle signal. | |
virtual void | changeMaskAxis (String, String, String, std::vector< int >) |
virtual void | changeImageAxis (String, String, String, std::vector< int >) |
virtual void | changeMaskSelectionText (String x, String y, String z) |
Protected Member Functions | |
QtCleanPanelGui2 (QtViewer *v, QWidget *parent=0, const std::list< std::string > &args=std::list< std::string >()) | |
void | closeEvent (QCloseEvent *event) |
scripted (via dbus) panels should override the closeEvent( ) and hide the gui instead of deleting it when it was created via a dbus script. | |
Protected Attributes | |
std::list< QWidget * > | disabled_widgets |
QRadioButton * | addRB_ |
QRadioButton * | eraseRB_ |
QRadioButton * | allChanRB_ |
QRadioButton * | thisPlaneRB_ |
QRadioButton * | allHiddenRB_ |
QRadioButton * | thisHiddenRB_ |
QPushButton * | maskNoMorePB_ |
QPushButton * | maskDonePB_ |
QPushButton * | stopPB_ |
QLineEdit * | niterED_ |
QLineEdit * | cycleniterED_ |
QLineEdit * | threshED_ |
QLineEdit * | cyclethreshED_ |
Record | buttonState_ |
QPalette | default_palette |
standard palette. | |
QPalette | input_palette |
palette used when input is expected for clean. | |
Private Member Functions | |
void | writeRegionText (const ImageRegion &imageReg, const String &filename, Float value) |
Private Attributes | |
bool | in_interact_mode |
int | interact_id |
QtDisplayData * | imagedd_ |
QtDisplayData * | maskdd_ |
std::string | axis_change |
DisplayCoordinateSystem | csys_p |
DirectionCoordinate | dirCoord_p |
Friends | |
class | QtViewer |
Demo class to encapsulate 'serial' running of qtviewer into callable methods of a class; this example also applies it to the task of interactive selection of CLEAN boxes.
Definition at line 63 of file QtCleanPanelGui2.qo.h.
casa::QtCleanPanelGui2::QtCleanPanelGui2 | ( | QtViewer * | v, | |
QWidget * | parent = 0 , |
|||
const std::list< std::string > & | args = std::list< std::string >() | |||
) | [protected] |
casa::QtCleanPanelGui2::~QtCleanPanelGui2 | ( | ) |
void casa::QtCleanPanelGui2::addedData | ( | QString | type, | |
QtDisplayData * | ||||
) | [virtual] |
the QtDBusViewerAdaptor can handle loading & registering data itself, but to connect up extra functionality, the upper-level QtDisplayPanelGui (or in the current case, the derived QtCleanPanelGui2) would have to be notified that data has been added.
This will allow it to set up the callbacks for drawing regions..\.
Reimplemented from casa::QtDisplayPanelGui.
virtual void casa::QtCleanPanelGui2::changeImageAxis | ( | String | , | |
String | , | |||
String | , | |||
std::vector< int > | ||||
) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui2::changeMaskAxis | ( | String | , | |
String | , | |||
String | , | |||
std::vector< int > | ||||
) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui2::changeMaskSelectionText | ( | String | x, | |
String | y, | |||
String | z | |||
) | [protected, virtual, slot] |
void casa::QtCleanPanelGui2::closeEvent | ( | QCloseEvent * | event | ) | [protected] |
scripted (via dbus) panels should override the closeEvent( ) and hide the gui instead of deleting it when it was created via a dbus script.
.\.
Reimplemented from casa::QtDisplayPanelGui.
virtual void casa::QtCleanPanelGui2::exitDone | ( | ) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui2::exitNoMore | ( | ) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui2::exitStop | ( | ) | [protected, virtual, slot] |
void casa::QtCleanPanelGui2::interact | ( | QVariant | ) | [signal] |
virtual void casa::QtCleanPanelGui2::newMouseRegion | ( | Record | mouseRegion, | |
WorldCanvasHolder * | wch | |||
) | [protected, virtual, slot] |
Connected to the rectangle region mouse tools new rectangle signal.
Accumulates [/ displays] selected boxes.
QVariant casa::QtCleanPanelGui2::setoptions | ( | const QMap< QString, QVariant > & | input, | |
int | id | |||
) | [virtual] |
Reimplemented from casa::QtDisplayPanelGui.
QVariant casa::QtCleanPanelGui2::start_interact | ( | const QVariant & | input, | |
int | id | |||
) | [virtual] |
Reimplemented from casa::QtDisplayPanelGui.
bool casa::QtCleanPanelGui2::supports | ( | SCRIPTING_OPTION | option | ) | const [virtual] |
Reimplemented from casa::QtDisplayPanelGui.
void casa::QtCleanPanelGui2::writeRegionText | ( | const ImageRegion & | imageReg, | |
const String & | filename, | |||
Float | value | |||
) | [private] |
friend class QtViewer [friend] |
Reimplemented from casa::QtDisplayPanelGui.
Definition at line 71 of file QtCleanPanelGui2.qo.h.
QRadioButton* casa::QtCleanPanelGui2::addRB_ [protected] |
Definition at line 114 of file QtCleanPanelGui2.qo.h.
QRadioButton* casa::QtCleanPanelGui2::allChanRB_ [protected] |
Definition at line 116 of file QtCleanPanelGui2.qo.h.
QRadioButton* casa::QtCleanPanelGui2::allHiddenRB_ [protected] |
Definition at line 118 of file QtCleanPanelGui2.qo.h.
std::string casa::QtCleanPanelGui2::axis_change [private] |
Definition at line 142 of file QtCleanPanelGui2.qo.h.
Record casa::QtCleanPanelGui2::buttonState_ [protected] |
Definition at line 127 of file QtCleanPanelGui2.qo.h.
Definition at line 144 of file QtCleanPanelGui2.qo.h.
QLineEdit* casa::QtCleanPanelGui2::cycleniterED_ [protected] |
Definition at line 124 of file QtCleanPanelGui2.qo.h.
QLineEdit* casa::QtCleanPanelGui2::cyclethreshED_ [protected] |
Definition at line 126 of file QtCleanPanelGui2.qo.h.
QPalette casa::QtCleanPanelGui2::default_palette [protected] |
DirectionCoordinate casa::QtCleanPanelGui2::dirCoord_p [private] |
Definition at line 145 of file QtCleanPanelGui2.qo.h.
std::list<QWidget*> casa::QtCleanPanelGui2::disabled_widgets [protected] |
Definition at line 112 of file QtCleanPanelGui2.qo.h.
QRadioButton* casa::QtCleanPanelGui2::eraseRB_ [protected] |
Definition at line 115 of file QtCleanPanelGui2.qo.h.
QtDisplayData* casa::QtCleanPanelGui2::imagedd_ [private] |
Definition at line 140 of file QtCleanPanelGui2.qo.h.
bool casa::QtCleanPanelGui2::in_interact_mode [private] |
Definition at line 135 of file QtCleanPanelGui2.qo.h.
QPalette casa::QtCleanPanelGui2::input_palette [protected] |
palette used when input is expected for clean.
.\.
Definition at line 132 of file QtCleanPanelGui2.qo.h.
int casa::QtCleanPanelGui2::interact_id [private] |
Definition at line 136 of file QtCleanPanelGui2.qo.h.
QtDisplayData* casa::QtCleanPanelGui2::maskdd_ [private] |
Definition at line 141 of file QtCleanPanelGui2.qo.h.
QPushButton* casa::QtCleanPanelGui2::maskDonePB_ [protected] |
Definition at line 121 of file QtCleanPanelGui2.qo.h.
QPushButton* casa::QtCleanPanelGui2::maskNoMorePB_ [protected] |
Definition at line 120 of file QtCleanPanelGui2.qo.h.
QLineEdit* casa::QtCleanPanelGui2::niterED_ [protected] |
Definition at line 123 of file QtCleanPanelGui2.qo.h.
QPushButton* casa::QtCleanPanelGui2::stopPB_ [protected] |
Definition at line 122 of file QtCleanPanelGui2.qo.h.
QRadioButton* casa::QtCleanPanelGui2::thisHiddenRB_ [protected] |
Definition at line 119 of file QtCleanPanelGui2.qo.h.
QRadioButton* casa::QtCleanPanelGui2::thisPlaneRB_ [protected] |
Definition at line 117 of file QtCleanPanelGui2.qo.h.
QLineEdit* casa::QtCleanPanelGui2::threshED_ [protected] |
Definition at line 125 of file QtCleanPanelGui2.qo.h.