casa
5.7.0-16
|
The main display window for the Qt version of the viewer. More...
#include <QtDisplayPanelGui.qo.h>
Public Types | |
enum | SCRIPTING_OPTION { INTERACT, SETOPTIONS } |
typedef std::list < viewer::Region * > | region_list_t |
typedef std::pair< QString, std::shared_ptr < casacore::ImageInterface < float > > > | OverplotInterface |
Public Slots | |
virtual void | setColorBarOrientation (bool vertical) |
At least for now, colorbars can only be placed horizontally or vertically, identically for all display panels. More... | |
virtual QtDisplayPanelGui * | createNewPanel () |
virtual void | showDataManager () |
virtual void | hideDataManager () |
virtual void | showExportManager () |
virtual void | hideExportManager () |
virtual void | showDataOptionsPanel () |
virtual void | hideDataOptionsPanel () |
virtual void | showPreferences () |
virtual void | removeAllDDs () |
virtual void | showPrintManager () |
Show/hide display panel's auxiliary windows. More... | |
virtual void | hidePrintManager () |
virtual void | showCanvasManager () |
virtual void | hideCanvasManager () |
virtual void | showRegionManager () |
virtual void | hideRegionManager () |
virtual void | showShapeManager () |
virtual void | hideShapeManager () |
virtual void | showAnnotatorPanel () |
virtual void | hideAnnotatorPanel () |
virtual void | showFileBoxPanel () |
virtual void | hideFileBoxPanel () |
virtual void | showMakeRegionPanel () |
virtual void | hideMakeRegionPanel () |
virtual void | showImageProfile () |
virtual void | hideImageProfile () |
virtual void | refreshImageProfile () |
void | resetImageProfile () |
virtual void | hideAllSubwindows () |
virtual void | hideImageMenus () |
void | movieChannels (int startChannel, int endChannel) |
Increments the channel in the images from the start channel to the end channel. More... | |
void | movieChannels (int channel, bool forward, int stepSize, int channelStart, int channelEnd) |
void | movieStop () |
void | registerAllDDs () |
void | unregisterAllDDs () |
virtual void | showStats (const casacore::String &) |
virtual void | hideStats () |
virtual QtDisplayData * | addDD (casacore::String path, casacore::String dataType, casacore::String displayType, bool autoRegister=true, bool tmpDtata=false, std::shared_ptr< casacore::ImageInterface< float > > img=std::shared_ptr< casacore::ImageInterface< float > >()) |
add a new DD More... | |
virtual void | doSelectChannel (int channelIndex) |
go to a specifc channel More... | |
virtual bool | restorePanelState (casacore::String filename) |
(Attempts to) restore panel state from named file. More... | |
virtual void | trackingMoved (Qt::DockWidgetArea) |
virtual void | animatorMoved (Qt::DockWidgetArea) |
virtual void | regionMoved (Qt::DockWidgetArea) |
virtual void | mousetoolbarMoved (bool) |
std::string | getrc (const std::string &key) |
note that 'key' is prefixed with something like "viewer.dpg."... More... | |
void | putrc (const std::string &key, const std::string &val) |
void | showMomentsCollapseImageProfile () |
void | showSpecFitImageProfile () |
void | disconnectHistogram () |
void | ddClose (QtDisplayData *&removeDD) |
void | ddOpen (const casacore::String &path, const casacore::String &dataType, const casacore::String &displayType, int insertPosition=-1, bool register=true, bool masterCoordinate=false, bool masterSaturation=false, bool masterHue=false) |
std::string | id () const |
retrieve the identifier string for this QtDisplayPanelGui... More... | |
void | unlinkCursorTracking (QtDisplayPanelGui *) |
void | linkCursorTracking (QtDisplayPanelGui *, QColor) |
Signals | |
void | regionChange (viewer::Region *, std::string) |
void | axisToolUpdate (QtDisplayData *controlling_dd) |
void | colorBarOrientationChange () |
void | frameChanged (int) |
Notification that the frame has changed. More... | |
void | overlay (QList< OverplotInterface >) |
Profile Overplots. More... | |
void | createDDFailed (casacore::String errMsg, casacore::String path, casacore::String dataType, casacore::String displayType) |
void | ddCreated (QtDisplayData *, bool autoRegister, int insertPosition, bool csMaster) |
The DD now exists, and is on QtViewerBase's list. More... | |
void | closed (const QtDisplayPanelGui *) |
The DD is no longer on QtViewerBase's list, but is not destroyed until after the signal. More... | |
void | cursorBoundary (QtDisplayPanel::CursorBoundaryCondition) |
void | cursorPosition (viewer::Position) |
Public Member Functions | |
~QtDisplayPanelGui () | |
QtViewer * | viewer () const |
access to our viewer More... | |
int | buttonToolState (const std::string &tool) const |
casacore::LogIO & | logIO () |
access our logger... More... | |
void | status (const std::string &s, const std::string &type="info") |
enter status information... More... | |
QtDisplayPanel * | displayPanel () |
access to graphics panel 'base'.... More... | |
const QtDisplayPanel * | displayPanel () const |
region_list_t | regions () |
void | revokeRegion (viewer::Region *r) |
region coupling between QtRegionDock and QtRegionSource(s)... More... | |
virtual void | setStatsPrint (bool printStats=true) |
virtual void | setUseRegion (bool useRegion=true) |
virtual bool | supports (SCRIPTING_OPTION option) const |
virtual QVariant | start_interact (const QVariant &input, int id) |
virtual QVariant | setoptions (const QMap< QString, QVariant > &input, int id) |
bool | colorBarsVertical () |
At least for now, colorbars can only be placed horizontally or vertically, identically for all display panels. More... | |
QtDisplayData * | createDD (casacore::String path, casacore::String dataType, casacore::String displayType, bool autoRegister=true, int insertPosition=-1, bool masterCoordinate=false, bool masterSaturation=false, bool masterHue=false, const viewer::DisplayDataOptions &ddo=viewer::DisplayDataOptions(), const viewer::ImageProperties &props=viewer::ImageProperties()) |
Create a new QtDD from given parameters, and add to internal DD list. More... | |
virtual bool | removeDD (QtDisplayData *&qdd) |
Removes the QDD from the list and deletes it (if it existed – Return value: whether qdd was in the list in the first place). More... | |
DisplayDataHolder::DisplayDataIterator | beginDD () const |
retrieve a copy of the current DD list. More... | |
DisplayDataHolder::DisplayDataIterator | endDD () const |
bool | isEmptyDD () const |
std::list< QtDisplayData * > | unregisteredDDs () |
return the number of user DDs. More... | |
QtDisplayData * | dd (const std::string &name) |
retrieve a DD with given name (0 if none). More... | |
QtDisplayData * | dd () |
retrieve the controlling DD... More... | |
bool | ddExists (QtDisplayData *qdd) |
Check that a given DD is on the list. More... | |
virtual casacore::String | errMsg () |
bool ddExists(const casacore::String& name) { return dd(name)!=0; } More... | |
virtual 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. More... | |
QtDataManager * | dataMgr () |
virtual std::string | rcid () const |
return the id for viewer state for this type of panel More... | |
viewer::QtRegionDock * | regionDock () |
int | numFrames () |
void | loadRegions (const std::string &path, const std::string &datatype) |
load casa (or DS9?) region files... More... | |
std::string | outputRegions (std::list< viewer::QtRegionState * > regions, std::string file, std::string format, std::string ds9_csys="pixel") |
zero length string indicates OK! More... | |
bool | useNewRegions () const |
void | activate (bool) |
called to indicate application activation state... More... | |
void | updateCursorInfo (WorldCanvas *wc, casacore::Quantity x, casacore::Quantity y) |
display cursor information for the specified point (in world coordinates) More... | |
Public Member Functions inherited from casa::QtPanelBase | |
QtPanelBase (QWidget *parent=0) | |
virtual void | closeMainPanel () |
Used to close this panel (i.e. More... | |
virtual void | releaseMainPanel () |
Used to indicate that "closing" the window should be reinterpreted as "hiding" the window, i.e. More... | |
Public Member Functions inherited from casa::viewer::StatusSink | |
StatusSink () | |
virtual | ~StatusSink () |
Public Attributes | |
QToolBar * | customToolBar |
public toolbars, for inserting custom buttons. More... | |
QToolBar * | customToolBar2 |
bool | autoDDOptionsShow |
true by default. More... | |
casacore::String | selectedDMDir |
Intended for use only by QtDataManager (or other data dialogs such as for save-restore), to inform QtDisplayPanel of the directory currently selected for data retrieval, if any ("" if none). More... | |
Protected Slots | |
virtual void | close () |
virtual void | quit () |
void | hideEvent (QHideEvent *ev) |
virtual void | ddRegChange_ () |
Respond to QDP::registrationChange() signal. More... | |
virtual void | ddRegClicked_ () |
Respond to registration/close menu clicks. More... | |
virtual void | ddUnregClicked_ () |
virtual void | ddCloseClicked_ () |
virtual void | updateAnimUi_ () |
Reflect animator state [changes] in gui. More... | |
virtual void | fwdPlayChannelMovie_ () |
These react to fwd/reverse Play buttons. More... | |
virtual void | fwdPlayImageMovie_ () |
virtual void | revPlayChannelMovie_ () |
virtual void | revPlayImageMovie_ () |
virtual void | displayTrackingData_ (casacore::Record trackingRec) |
Display tracking data gathered by underlying panel. More... | |
virtual void | arrangeTrackBoxes_ () |
Reacts to QDP registration change signal. More... | |
virtual void | deleteTrackBox_ (QtDisplayData *qdd) |
Deletes the TrackBox for the given QDD, if it exists. More... | |
virtual void | savePanelState_ () |
Brings up dialog for saving display panel state: reg'd DDs, their options, etc. More... | |
virtual void | restorePanelState_ () |
Brings up dialog for restore file, attempts restore. More... | |
virtual void | addGuiState_ (QDomDocument *) |
Responds to qdp_->creatingRstrDoc(QDomDocument*) signal. More... | |
virtual void | restoreGuiState_ (QDomDocument *) |
Responds to qdp_->restoring(QDomDocument*) signal. More... | |
Protected Member Functions | |
QtDisplayPanelGui (QtViewer *v, QWidget *parent=0, std::string rcstr="dpg", const std::list< std::string > &args=std::list< std::string >()) | |
QtDisplayPanelGui (const QtDisplayPanelGui *other, QWidget *parent=0, std::string rcstr="dpg", const std::list< std::string > &args=std::list< std::string >()) | |
virtual bool | syncDataDir_ (casacore::String filename) |
Keeps current data directory in sync between casacore::DataManager window and save-restore dialogs. More... | |
virtual void | updateDDMenus_ (bool doCloseMenu=true) |
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... More... | |
Protected Member Functions inherited from casa::QtPanelBase | |
bool | isOverridedClose () const |
Static Protected Attributes | |
static bool | logger_did_region_warning |
Private Slots | |
void | to_image_mode (bool channelCubes) |
void | to_channel_mode () |
void | loadRegions (const QString &path, const QString &type) |
void | incrementMovieChannel () |
void | clear_status_bar () |
void | reset_status_bar () |
void | controlling_dd_axis_change (casacore::String, casacore::String, casacore::String, std::vector< int >) |
void | initializeProfile () |
void | showHistogram () |
void | showAboutDialog () |
void | showSlicer () |
void | resetListenerImage () |
void | histogramRegionChange (int, viewer::region::RegionChanges change=viewer::region::RegionChangeLabel) |
void | showFitInteractive () |
void | showCleanTool () |
void | addSkyComponentOverlay (casacore::String path, const QString &colorName) |
void | removeSkyComponentOverlay (casacore::String path) |
void | add2DFitOverlay (QList< RegionShape * > fitMarkers) |
void | remove2DFitOverlay (QList< RegionShape * > fitMarkers) |
void | addResidualFitImage (casacore::String path) |
virtual void | addDDSlot (casacore::String path, casacore::String dataType, casacore::String displayType, bool autoRegister=true, bool tmpData=false, std::shared_ptr< casacore::ImageInterface< float > > img=std::shared_ptr< casacore::ImageInterface< float > >()) |
void | sliceChanged (int regionId, viewer::region::RegionChanges change, const QList< double > &worldX, const QList< double > &worldY, const QList< int > &pixelX, const QList< int > &pixelY) |
void | addSlice (int id, const QString &shape, const QString &, const QList< double > &worldX, const QList< double > &worldY, const QList< int > &pixelX, const QList< int > &pixelY, const QString &, const QString &, const QString &, int, int) |
void | showColorHistogram (QtDisplayData *displayData) |
void | globalColorSettingsChanged (bool global) |
void | globalOptionsChanged (QtDisplayData *originator, casacore::Record opts) |
void | updateColorHistogram (const QString &ddName) |
void | showImageManager () |
void | sliceMarkerVisibilityChanged (int regionId, bool visible) |
void | sliceMarkerPositionChanged (int regionId, int segmentIndex, float percentage) |
void | updateMultiSpectralFitLocation (casacore::Record trackingRec) |
void | animationImageChanged (int index) |
Written in response to CAS-5101. More... | |
void | registerDD (QtDisplayData *dd, int position) |
void | unregisterDD (QtDisplayData *dd) |
void | replaceControllingDD (QtDisplayData *oldControllingDD, QtDisplayData *newControllingDD) |
used to manage generation of the updateAxes() signal... More... | |
void | setAnimatedImage (int index) |
Change the image that is being viewed in the blink animator. More... | |
void | createRGBImage (QtDisplayData *coordinateMaster, QtDisplayData *redImage, QtDisplayData *greenImage, QtDisplayData *blueImage) |
Private Member Functions | |
void | construct_ (QtDisplayPanel *newpanel, const std::list< std::string > &args) |
portion of construction shared by multiple constructor functions... More... | |
void | animationModeChanged (bool modeZ, bool channelCubes) |
void | setAnimationRate () |
int | getBoundedChannel (int channelNumber) const |
void | updateViewedImage () |
void | profiledImageChange () |
void | generateSliceRegionUpdates () |
void | generateHistogramRegionUpdates () |
void | clearTools () |
QtDisplayPanelGui () | |
QtDisplayData * | processDD (casacore::String path, casacore::String dataType, casacore::String displayType, bool autoRegister, int insertPosition, bool masterCoordinate, bool masterSaturation, bool masterHue, QtDisplayData *qdd, const viewer::DisplayDataOptions &ddo=viewer::DisplayDataOptions()) |
void | connectRegionSignals (PanelDisplay *ppd) |
void | notifyDDRemoval (QtDisplayData *qdd) |
QtDisplayData * | lookForExistingController () |
Management of the controlling DD. More... | |
void | updateFrameInformation () |
void setControllingDD(QtDisplayData* controlDD); More... | |
void | updateFrameInformationChannel () |
void | updateFrameInformationImage () |
void | updateSliceCorners (int id, const QList< double > &worldX, const QList< double > &worldY) |
void | initAnimationHolder () |
void | initHistogramHolder () |
void | hideHistogram () |
void | initFit2DTool () |
void | hideFit2DTool () |
void | resetHistogram (viewer::Region *qtRegion) |
viewer::Region * | findRegion (int id) |
void | initCleanTool () |
interactive clean... More... | |
string | addAnimationDockWidget () |
Docking/Dock Widgets. More... | |
Static Private Member Functions | |
static std::string | idGen () |
Private Attributes | |
bool | use_new_regions |
int | movieChannel |
Animating the channel. More... | |
int | movieChannelEnd |
int | movieLast |
int | movieStart |
int | movieStep |
QTimer | movieTimer |
unsigned int | showdataoptionspanel_enter_count |
viewer::ViewerPreferences * | preferences |
AnimatorHolder * | animationHolder |
bool | adjust_channel_animator |
bool | adjust_image_animator |
int | animationImageIndex |
HistogramMain * | histogrammer |
ColorHistogram * | colorHistogram |
Fit2DTool * | fitTool |
SlicerMainWindow * | sliceTool |
std::shared_ptr < ImageManagerDialog > | imageManagerDialog |
AboutDialogViewer * | aboutDialog |
viewer::CleanGui * | clean_tool |
QDockWidget * | histogramDockWidget_ |
viewer::QtRegionDock * | regionDock_ |
CursorTrackingHolder * | trkgDockWidget_ |
QTimer * | status_bar_timer |
QString | status_bar_state |
QString | status_bar_stylesheet |
LinkedCursorEH * | linkedCursorHandler |
std::string | id_ |
Friends | |
class | QtViewer |
The main display window for the Qt version of the viewer.
Definition at line 122 of file QtDisplayPanelGui.qo.h.
typedef std::pair<QString, std::shared_ptr<casacore::ImageInterface<float> > > casa::QtDisplayPanelGui::OverplotInterface |
Definition at line 282 of file QtDisplayPanelGui.qo.h.
typedef std::list<viewer::Region*> casa::QtDisplayPanelGui::region_list_t |
Definition at line 158 of file QtDisplayPanelGui.qo.h.
Enumerator | |
---|---|
INTERACT | |
SETOPTIONS |
Definition at line 136 of file QtDisplayPanelGui.qo.h.
|
protected |
|
protected |
casa::QtDisplayPanelGui::~QtDisplayPanelGui | ( | ) |
|
inlineprivate |
Definition at line 629 of file QtDisplayPanelGui.qo.h.
void casa::QtDisplayPanelGui::activate | ( | bool | ) |
called to indicate application activation state...
true -> activated, false -> deactivated
|
privateslot |
|
private |
Docking/Dock Widgets.
|
virtualslot |
add a new DD
|
privatevirtualslot |
|
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 in casa::QtCleanPanelGui2, and casa::QtCleanPanelGui.
|
protectedvirtualslot |
Responds to qdp_->creatingRstrDoc(QDomDocument*) signal.
(Recall that qdp_ is unaware of this gui). Adds gui state to the QDomDocument qdp has created.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
Written in response to CAS-5101.
When multiple images are loaded, some with many channels and one with only one channel, the available frames in the channel animator needs to change based on the mode. Assume the single channel image is the one that will be animated in normal mode. In this case, the channel animator should register a single frame and not allow animation. However, if we are in "channel images mode", a form of blink mode, the number of available channels should be the maximum of the channel count in all the images. Channel animation should then take place. Method sets the mode, and then updates the channel count accordingly.
|
private |
|
virtualslot |
|
protectedvirtualslot |
Reacts to QDP registration change signal.
If necessary, changes the set of cursor position tracking boxes being displayed in trkgWidget_ (creating new TrackBoxes as necessary). A TrackBox will be shown for each qdd in qdp_->registeredDDs() where qdd->usesTracking() (in registration order).
|
signal |
DisplayDataHolder::DisplayDataIterator casa::QtDisplayPanelGui::beginDD | ( | ) | const |
retrieve a copy of the current DD list.
casacore::List<QtDisplayData*> dds() { return qdds_; }
int casa::QtDisplayPanelGui::buttonToolState | ( | const std::string & | tool | ) | const |
|
privateslot |
|
private |
|
protectedvirtualslot |
|
signal |
The DD is no longer on QtViewerBase's list, but is not destroyed until after the signal.
dd is removed from the world canvas holder ***** during the processing of this event... *****
void ddRemoved(QtDisplayData*);
|
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...
|
signal |
|
inline |
At least for now, colorbars can only be placed horizontally or vertically, identically for all display panels.
This returns the current value.
Definition at line 188 of file QtDisplayPanelGui.qo.h.
References colorBarsVertical_.
|
private |
|
private |
portion of construction shared by multiple constructor functions...
|
privateslot |
QtDisplayData* casa::QtDisplayPanelGui::createDD | ( | casacore::String | path, |
casacore::String | dataType, | ||
casacore::String | displayType, | ||
bool | autoRegister = true , |
||
int | insertPosition = -1 , |
||
bool | masterCoordinate = false , |
||
bool | masterSaturation = false , |
||
bool | masterHue = false , |
||
const viewer::DisplayDataOptions & | ddo = viewer::DisplayDataOptions() , |
||
const viewer::ImageProperties & | props = viewer::ImageProperties() |
||
) |
Create a new QtDD from given parameters, and add to internal DD list.
(For now) QtViewerBase retains 'ownership' of the QtDisplayData; call removeDD(qdd) to delete it. Unless autoregister is set false, all open DisplayPanels will register the DD for display. Check return value for 0, or connect to the createDDFailed() signal, to handle failure.
|
signal |
|
virtualslot |
|
privateslot |
|
signal |
|
signal |
|
inline |
Definition at line 254 of file QtDisplayPanelGui.qo.h.
References qdm_.
QtDisplayData* casa::QtDisplayPanelGui::dd | ( | const std::string & | name | ) |
retrieve a DD with given name (0 if none).
QtDisplayData* casa::QtDisplayPanelGui::dd | ( | ) |
retrieve the controlling DD...
|
slot |
|
protectedvirtualslot |
|
signal |
The DD now exists, and is on QtViewerBase's list.
autoregister tells DPs whether they are to register the DD. dd is added to the world canvas holder during ***** the processing of this event... *****
bool casa::QtDisplayPanelGui::ddExists | ( | QtDisplayData * | qdd | ) |
Check that a given DD is on the list.
Use qdd pointer or its name.
|
slot |
|
protectedvirtualslot |
Respond to QDP::registrationChange() signal.
|
protectedvirtualslot |
Respond to registration/close menu clicks.
|
protectedvirtualslot |
|
protectedvirtualslot |
Deletes the TrackBox for the given QDD, if it exists.
(Deletion automatically removes it from the trkgWidget_ and its layout). Connected to the ddRemoved() signal of QtViewerBase.
|
slot |
|
inline |
access to graphics panel 'base'....
Definition at line 155 of file QtDisplayPanelGui.qo.h.
References qdp_.
|
inline |
Definition at line 156 of file QtDisplayPanelGui.qo.h.
References qdp_.
|
protectedvirtualslot |
Display tracking data gathered by underlying panel.
|
virtualslot |
go to a specifc channel
DisplayDataHolder::DisplayDataIterator casa::QtDisplayPanelGui::endDD | ( | ) | const |
|
inlinevirtual |
bool ddExists(const casacore::String& name) { return dd(name)!=0; }
Latest error (in createDD, etc.)
Definition at line 239 of file QtDisplayPanelGui.qo.h.
References errMsg_.
|
private |
|
signal |
Notification that the frame has changed.
|
inlineprotectedvirtualslot |
These react to fwd/reverse Play buttons.
They allow a single play button to be used to toggle between play and stop.
Definition at line 475 of file QtDisplayPanelGui.qo.h.
References casa::QtDisplayPanel::animating(), casa::QtDisplayPanel::fwdPlayChannelMovie(), qdp_, and casa::QtDisplayPanel::stopChannelMovie().
|
inlineprotectedvirtualslot |
Definition at line 479 of file QtDisplayPanelGui.qo.h.
References casa::QtDisplayPanel::animating(), casa::QtDisplayPanel::fwdPlayImageMovie(), qdp_, and casa::QtDisplayPanel::stopImageMovie().
|
private |
|
private |
|
private |
|
slot |
note that 'key' is prefixed with something like "viewer.dpg."...
for both get and put...
|
privateslot |
|
privateslot |
|
virtualslot |
Referenced by hideEvent().
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
inlineprotectedslot |
Note: If the display panel is iconified or the user changes desktops, isVisible() will remain true here (surprising, but useful – see isVisible() doc). Otherwise, in this context, [I believe] we can assume the display panel has been closed; in that case, we want to 'close' the auxiliary windows as well. (Note that there is no 'closeEvent' per se).
Definition at line 438 of file QtDisplayPanelGui.qo.h.
References hideAllSubwindows().
|
virtualslot |
|
virtualslot |
|
private |
|
private |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
privateslot |
|
inlineslot |
retrieve the identifier string for this QtDisplayPanelGui...
Definition at line 389 of file QtDisplayPanelGui.qo.h.
References id_.
|
staticprivate |
|
privateslot |
|
private |
|
private |
interactive clean...
|
private |
|
private |
|
privateslot |
bool casa::QtDisplayPanelGui::isEmptyDD | ( | ) | const |
|
slot |
void casa::QtDisplayPanelGui::loadRegions | ( | const std::string & | path, |
const std::string & | datatype | ||
) |
load casa (or DS9?) region files...
|
privateslot |
|
inline |
|
private |
Management of the controlling DD.
|
virtualslot |
|
slot |
Increments the channel in the images from the start channel to the end channel.
|
slot |
|
slot |
|
private |
int casa::QtDisplayPanelGui::numFrames | ( | ) |
std::string casa::QtDisplayPanelGui::outputRegions | ( | std::list< viewer::QtRegionState * > | regions, |
std::string | file, | ||
std::string | format, | ||
std::string | ds9_csys = "pixel" |
||
) |
zero length string indicates OK!
|
signal |
Profile Overplots.
|
private |
|
private |
|
slot |
|
protectedvirtualslot |
|
inlinevirtual |
return the id for viewer state for this type of panel
Definition at line 259 of file QtDisplayPanelGui.qo.h.
References rcid_.
|
virtualslot |
|
signal |
|
inline |
Definition at line 263 of file QtDisplayPanelGui.qo.h.
References regionDock_.
|
virtualslot |
|
inline |
Definition at line 159 of file QtDisplayPanelGui.qo.h.
References regionDock_, and casa::viewer::QtRegionDock::regions().
|
slot |
|
privateslot |
|
privateslot |
|
virtualslot |
|
virtual |
Removes the QDD from the list and deletes it (if it existed – Return value: whether qdd was in the list in the first place).
|
privateslot |
|
privateslot |
used to manage generation of the updateAxes() signal...
|
privateslot |
|
private |
|
slot |
|
privateslot |
|
protectedvirtualslot |
Responds to qdp_->restoring(QDomDocument*) signal.
Sets gui-specific state (most notably, overall window size).
|
virtualslot |
(Attempts to) restore panel state from named file.
|
protectedvirtualslot |
Brings up dialog for restore file, attempts restore.
Triggered by dpRstrAct_.
|
inline |
region coupling between QtRegionDock and QtRegionSource(s)...
may be null at destruction time...
Definition at line 163 of file QtDisplayPanelGui.qo.h.
References qdp_, and casa::QtDisplayPanel::revokeRegion().
|
inlineprotectedvirtualslot |
Definition at line 484 of file QtDisplayPanelGui.qo.h.
References casa::QtDisplayPanel::animating(), qdp_, casa::QtDisplayPanel::revPlayChannelMovie(), and casa::QtDisplayPanel::stopChannelMovie().
|
inlineprotectedvirtualslot |
Definition at line 488 of file QtDisplayPanelGui.qo.h.
References casa::QtDisplayPanel::animating(), qdp_, casa::QtDisplayPanel::revPlayImageMovie(), and casa::QtDisplayPanel::stopImageMovie().
|
protectedvirtualslot |
Brings up dialog for saving display panel state: reg'd DDs, their options, etc.
Triggered by dpSaveAct_.
|
privateslot |
Change the image that is being viewed in the blink animator.
|
private |
|
virtualslot |
At least for now, colorbars can only be placed horizontally or vertically, identically for all display panels.
This sets that state for everyone. Sends out colorBarOrientationChange signal when the state changes.
|
virtual |
Reimplemented in casa::QtCleanPanelGui2, and casa::QtCleanPanelGui.
|
inlinevirtual |
Definition at line 173 of file QtDisplayPanelGui.qo.h.
References casa::QtDisplayPanel::printStats, and qdp_.
|
inlinevirtual |
Definition at line 177 of file QtDisplayPanelGui.qo.h.
References qdp_, and casa::QtDisplayPanel::useRegion.
|
privateslot |
|
virtualslot |
|
virtualslot |
|
privateslot |
|
privateslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
virtualslot |
|
virtualslot |
|
slot |
|
virtualslot |
|
virtualslot |
Show/hide display panel's auxiliary windows.
|
virtualslot |
|
virtualslot |
|
privateslot |
|
slot |
|
virtualslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
virtual |
Reimplemented in casa::QtCleanPanelGui2, and casa::QtCleanPanelGui.
|
virtual |
enter status information...
Implements casa::viewer::StatusSink.
|
virtual |
Reimplemented in casa::QtCleanPanelGui2, and casa::QtCleanPanelGui.
|
protectedvirtual |
Keeps current data directory in sync between casacore::DataManager window and save-restore dialogs.
|
privateslot |
|
privateslot |
|
virtualslot |
|
slot |
|
slot |
|
privateslot |
std::list<QtDisplayData*> casa::QtDisplayPanelGui::unregisteredDDs | ( | ) |
return the number of user DDs.
int nDDs() { return qdds_.len(); }
return a list of DDs that are registered on some panel. casacore::List<QtDisplayData*> registeredDDs();
return a list of DDs that exist but are not registered on any panel.
|
protectedvirtualslot |
Reflect animator state [changes] in gui.
|
privateslot |
void casa::QtDisplayPanelGui::updateCursorInfo | ( | WorldCanvas * | wc, |
casacore::Quantity | x, | ||
casacore::Quantity | y | ||
) |
display cursor information for the specified point (in world coordinates)
|
protectedvirtual |
|
private |
void setControllingDD(QtDisplayData* controlDD);
Methods for letting the animator know whether it should display the image/channel animator(s) based on the number of images and and the number of channels in the images.
|
private |
|
private |
|
privateslot |
|
private |
|
private |
|
inline |
Definition at line 273 of file QtDisplayPanelGui.qo.h.
References use_new_regions.
|
inline |
|
friend |
Definition at line 124 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 670 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 661 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 662 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 660 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 663 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
bool casa::QtDisplayPanelGui::autoDDOptionsShow |
true by default.
Set false to disable auto-raise of the Data Options panel whenever the first DD is created.
Definition at line 764 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 674 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
At least for now, colorbars can only be placed horizontally or vertically, identically for all display panels.
Here is where that state is kept for everyone.
Definition at line 561 of file QtDisplayPanelGui.qo.h.
Referenced by colorBarsVertical().
|
private |
Definition at line 666 of file QtDisplayPanelGui.qo.h.
QToolBar* casa::QtDisplayPanelGui::customToolBar |
public toolbars, for inserting custom buttons.
Definition at line 170 of file QtDisplayPanelGui.qo.h.
QToolBar* casa::QtDisplayPanelGui::customToolBar2 |
Definition at line 171 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 593 of file QtDisplayPanelGui.qo.h.
|
protected |
ddRegMenu_,
Definition at line 583 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 583 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 593 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Existing user-visible QDDs
casacore::List<QtDisplayData*> qdds_;
Definition at line 537 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 583 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 538 of file QtDisplayPanelGui.qo.h.
Referenced by errMsg().
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 667 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 583 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 680 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 665 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 690 of file QtDisplayPanelGui.qo.h.
Referenced by id().
|
private |
Definition at line 669 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 688 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 532 of file QtDisplayPanelGui.qo.h.
Referenced by logIO().
|
staticprotected |
Definition at line 533 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 592 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 595 of file QtDisplayPanelGui.qo.h.
|
private |
Animating the channel.
Definition at line 613 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 614 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 615 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 616 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 617 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 619 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 658 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 576 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 578 of file QtDisplayPanelGui.qo.h.
|
protected |
QtAnnotatorGui* qap_;.
Definition at line 568 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 566 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 541 of file QtDisplayPanelGui.qo.h.
Referenced by dataMgr().
|
protected |
Definition at line 543 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 564 of file QtDisplayPanelGui.qo.h.
Referenced by displayPanel(), fwdPlayChannelMovie_(), fwdPlayImageMovie_(), revokeRegion(), revPlayChannelMovie_(), revPlayImageMovie_(), setStatsPrint(), and setUseRegion().
|
protected |
Definition at line 542 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 569 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 570 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 565 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 571 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 572 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 573 of file QtDisplayPanelGui.qo.h.
|
protected |
connection to rc file
Definition at line 598 of file QtDisplayPanelGui.qo.h.
|
protected |
rc id for this panel type
Definition at line 600 of file QtDisplayPanelGui.qo.h.
Referenced by rcid().
|
private |
Definition at line 681 of file QtDisplayPanelGui.qo.h.
Referenced by regionDock(), and regions().
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 577 of file QtDisplayPanelGui.qo.h.
casacore::String casa::QtDisplayPanelGui::selectedDMDir |
Intended for use only by QtDataManager (or other data dialogs such as for save-restore), to inform QtDisplayPanel of the directory currently selected for data retrieval, if any ("" if none).
Definition at line 769 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 628 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 668 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 685 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 686 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 684 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 583 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 682 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
private |
Definition at line 610 of file QtDisplayPanelGui.qo.h.
Referenced by useNewRegions().
|
protected |
Definition at line 563 of file QtDisplayPanelGui.qo.h.
Referenced by viewer().
|
protected |
Definition at line 583 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.
|
protected |
Definition at line 585 of file QtDisplayPanelGui.qo.h.