casa
$Rev:20696$
|
#include <QtCleanPanelGui.qo.h>
Signals | |
void | interact (QVariant) |
Public Member Functions | |
~QtCleanPanelGui () | |
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 QtCleanPanelGui) 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 | |
QtCleanPanelGui (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 * | ncyclesED_ |
QLineEdit * | threshED_ |
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 |
CoordinateSystem | 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 QtCleanPanelGui.qo.h.
casa::QtCleanPanelGui::QtCleanPanelGui | ( | QtViewer * | v, |
QWidget * | parent = 0 , |
||
const std::list< std::string > & | args = std::list< std::string >() |
||
) | [protected] |
void casa::QtCleanPanelGui::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 QtCleanPanelGui) 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::QtCleanPanelGui::changeImageAxis | ( | String | , |
String | , | ||
String | , | ||
std::vector< int > | |||
) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui::changeMaskAxis | ( | String | , |
String | , | ||
String | , | ||
std::vector< int > | |||
) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui::changeMaskSelectionText | ( | String | x, |
String | y, | ||
String | z | ||
) | [protected, virtual, slot] |
void casa::QtCleanPanelGui::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::QtCleanPanelGui::exitDone | ( | ) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui::exitNoMore | ( | ) | [protected, virtual, slot] |
virtual void casa::QtCleanPanelGui::exitStop | ( | ) | [protected, virtual, slot] |
void casa::QtCleanPanelGui::interact | ( | QVariant | ) | [signal] |
virtual void casa::QtCleanPanelGui::newMouseRegion | ( | Record | mouseRegion, |
WorldCanvasHolder * | wch | ||
) | [protected, virtual, slot] |
Connected to the rectangle region mouse tools new rectangle signal.
Accumulates [/ displays] selected boxes.
QVariant casa::QtCleanPanelGui::setoptions | ( | const QMap< QString, QVariant > & | input, |
int | id | ||
) | [virtual] |
Reimplemented from casa::QtDisplayPanelGui.
QVariant casa::QtCleanPanelGui::start_interact | ( | const QVariant & | input, |
int | id | ||
) | [virtual] |
Reimplemented from casa::QtDisplayPanelGui.
bool casa::QtCleanPanelGui::supports | ( | SCRIPTING_OPTION | option | ) | const [virtual] |
Reimplemented from casa::QtDisplayPanelGui.
void casa::QtCleanPanelGui::writeRegionText | ( | const ImageRegion & | imageReg, |
const String & | filename, | ||
Float | value | ||
) | [private] |
friend class QtViewer [friend] |
Reimplemented from casa::QtDisplayPanelGui.
Definition at line 71 of file QtCleanPanelGui.qo.h.
QRadioButton* casa::QtCleanPanelGui::addRB_ [protected] |
Definition at line 114 of file QtCleanPanelGui.qo.h.
QRadioButton* casa::QtCleanPanelGui::allChanRB_ [protected] |
Definition at line 116 of file QtCleanPanelGui.qo.h.
QRadioButton* casa::QtCleanPanelGui::allHiddenRB_ [protected] |
Definition at line 118 of file QtCleanPanelGui.qo.h.
std::string casa::QtCleanPanelGui::axis_change [private] |
Definition at line 141 of file QtCleanPanelGui.qo.h.
Record casa::QtCleanPanelGui::buttonState_ [protected] |
Definition at line 126 of file QtCleanPanelGui.qo.h.
Definition at line 143 of file QtCleanPanelGui.qo.h.
QPalette casa::QtCleanPanelGui::default_palette [protected] |
standard palette...
Definition at line 129 of file QtCleanPanelGui.qo.h.
Definition at line 144 of file QtCleanPanelGui.qo.h.
std::list<QWidget*> casa::QtCleanPanelGui::disabled_widgets [protected] |
Definition at line 112 of file QtCleanPanelGui.qo.h.
QRadioButton* casa::QtCleanPanelGui::eraseRB_ [protected] |
Definition at line 115 of file QtCleanPanelGui.qo.h.
QtDisplayData* casa::QtCleanPanelGui::imagedd_ [private] |
Definition at line 139 of file QtCleanPanelGui.qo.h.
bool casa::QtCleanPanelGui::in_interact_mode [private] |
Definition at line 134 of file QtCleanPanelGui.qo.h.
QPalette casa::QtCleanPanelGui::input_palette [protected] |
palette used when input is expected for clean...
Definition at line 131 of file QtCleanPanelGui.qo.h.
int casa::QtCleanPanelGui::interact_id [private] |
Definition at line 135 of file QtCleanPanelGui.qo.h.
QtDisplayData* casa::QtCleanPanelGui::maskdd_ [private] |
Definition at line 140 of file QtCleanPanelGui.qo.h.
QPushButton* casa::QtCleanPanelGui::maskDonePB_ [protected] |
Definition at line 121 of file QtCleanPanelGui.qo.h.
QPushButton* casa::QtCleanPanelGui::maskNoMorePB_ [protected] |
Definition at line 120 of file QtCleanPanelGui.qo.h.
QLineEdit* casa::QtCleanPanelGui::ncyclesED_ [protected] |
Definition at line 124 of file QtCleanPanelGui.qo.h.
QLineEdit* casa::QtCleanPanelGui::niterED_ [protected] |
Definition at line 123 of file QtCleanPanelGui.qo.h.
QPushButton* casa::QtCleanPanelGui::stopPB_ [protected] |
Definition at line 122 of file QtCleanPanelGui.qo.h.
QRadioButton* casa::QtCleanPanelGui::thisHiddenRB_ [protected] |
Definition at line 119 of file QtCleanPanelGui.qo.h.
QRadioButton* casa::QtCleanPanelGui::thisPlaneRB_ [protected] |
Definition at line 117 of file QtCleanPanelGui.qo.h.
QLineEdit* casa::QtCleanPanelGui::threshED_ [protected] |
Definition at line 125 of file QtCleanPanelGui.qo.h.