28 #ifndef REGION_QTREGIONDOCK_H_
29 #define REGION_QTREGIONDOCK_H_
33 #include <display/region/QtRegionDock.ui.h>
42 class QtDisplayPanelGui;
63 void status(
const std::string &msg,
const std::string &
type=
"info" );
119 std::string format, std::string ds9_csys=
"pixel" );
158 void output_region_event(
const QString &what,
const QString &where,
const QString &
type,
const QString &csys );
QtDisplayPanelGui * panel()
region::region_list_type selected_region_set_
maintain a count of selected regions, information which is used to determine the corner treatment whe...
std::map< std::string, int > & coordState()
size_t selectedRegionCount()
retrieve the selected region state...
void emitCreate(Region *)
std::map< std::string, int > current_coord_state
An ordered list of annotations and comments representing an ascii region file. <author>Dave Mehringer...
region::region_list_type weakly_selected_region_set_
void revokeRegion(Region *r)
void clearWeaklySelectedRegionSet()
void selectedCountUpdateNeeded()
called to signal that selected region state needs to be updated...
void loadRegions(const QString &path, const QString &type)
virtual Type type()
Return the type enum.
void delete_all_regions(bool)
void deleteRegions(const region::region_list_type &)
void addRegion(Region *, QtRegionState *, int index=-1)
void closeEvent(QCloseEvent *event)
void removeWeaklySelectedRegion(Region *)
QtRegionDock(QtDisplayPanelGui *, QWidget *parent=0)
bool isWeaklySelectedRegion(const Region *) const
const region::region_list_type & selectedRegionSet()
void region_stack_change(QWidget *)
void delete_current_region(bool)
void status(const std::string &msg, const std::string &type="info")
std::string outputRegions(std::list< viewer::QtRegionState * > regions, std::string file, std::string format, std::string ds9_csys="pixel")
zero length string indicates OK!
QtDisplayData * current_dd
void deleteRegion(QtRegionState *)
triggers deletion elsewhere of Region containing this QtRegionState which then causes the removal of ...
std::list< Region * > region_list_t
All regions are specified in "linear coordinates", not "pixel coordinates".
void selectRegion(QtRegionState *, bool scroll=true)
std::map< QtRegionState *, Region * > region_map_t
void regionChange(viewer::Region *, std::string)
notice sent after QtRegionState is removed from QStackWidget, and* after Region has already been dele...
std::string path(const std::string &name)
region::region_list_type marked_region_set_
The main display window for the Qt version of the viewer.
std::list< Region * > regions() const
void saveRegions(std::list< QtRegionState * >, RegionTextList &)
const region::region_list_type & markedRegionSet()
std::pair< int, int > current_tab_state
void output_region_event(const QString &what, const QString &where, const QString &type, const QString &csys)
void emit_region_stack_change(int)
void handle_visibility(bool)
int indexOf(QtRegionState *) const
void leaveEvent(QEvent *)
void removeRegion(QtRegionState *)
const region::region_list_type & weaklySelectedRegionSet()
void enterEvent(QEvent *)
void addWeaklySelectedRegion(Region *)
size_t markedRegionCount()
void updateStackOrder(int topIndex)
Allows the images displayed in the region dock to remain in sync with the images selected in the anim...
region_list_t region_list
std::set< Region * > region_list_type
Allows the dock widget z-position to be behind the main window instead of the default behavior of alw...
void update_region_statistics()
void regionSelected(int id)
void updateFrameCount(int count)
std::pair< int, int > & tabState()
void updateRegionState(QtDisplayData *)
Defines nreal time structures used by the VLA table filler.