TwiceAsNice  2019-02-18
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Properties | List of all members
BasdaVinoImageView Class Reference

#include <ImageView.h>

Inheritance diagram for BasdaVinoImageView:
Inheritance graph
Collaboration diagram for BasdaVinoImageView:
Collaboration graph

Public Slots

virtual void updateCutLevelProperties (const Basda::QImageFitsCutsBase &)
 
virtual void setCutlevelMode (int)
 
virtual void setCutlevelType (int)
 
virtual void setCutlevelLow (double)
 
virtual void setCutlevelHigh (double)
 
virtual void updateCutLevelProperties (const Basda::QImageFitsCutsBase &)
 
virtual void setCutlevelMode (int)
 
virtual void setCutlevelType (int)
 
virtual void setCutlevelLow (double)
 
virtual void setCutlevelHigh (double)
 
virtual void updateCutLevelProperties (const Basda::QImageFitsCutsBase &)
 
virtual void setCutlevelMode (int)
 
virtual void setCutlevelType (int)
 
virtual void setCutlevelLow (double)
 
virtual void setCutlevelHigh (double)
 
- Public Slots inherited from QImageView
virtual void setCoordValPos (const QPointF &_pos, double _val)
 
virtual void setCutLevels (const Basda::QImageFitsCutsBase &_cut)
 
virtual void setVisibleZoom (bool)
 
virtual void setVisibleOverview (bool)
 
virtual void setFileSave ()
 
virtual void setRotationDeg (double angle)
 
virtual void fitScene ()
 
virtual void setColor (QAction *)
 
virtual void setCoords (QAction *)
 
virtual void setVisibleOverlay (QAction *_action)
 
virtual void setCoordValPos (const QPointF &_pos, double _val)
 
virtual void setCutLevels (const Basda::QImageFitsCutsBase &_cut)
 
virtual void setVisibleZoom (bool)
 
virtual void setVisibleOverview (bool)
 
virtual void setFileSave ()
 
virtual void setRotationDeg (double angle)
 
virtual void fitScene ()
 
virtual void setColor (QAction *)
 
virtual void setCoords (QAction *)
 
virtual void setVisibleOverlay (QAction *_action)
 
virtual void setCoordValPos (const QPointF &_pos, double _val)
 
virtual void setCutLevels (const Basda::QImageFitsCutsBase &_cut)
 
virtual void setVisibleZoom (bool)
 
virtual void setVisibleOverview (bool)
 
virtual void setFileSave ()
 
virtual void setRotationDeg (double angle)
 
virtual void fitScene ()
 
virtual void setColor (QAction *)
 
virtual void setCoords (QAction *)
 
virtual void setVisibleOverlay (QAction *_action)
 

Public Member Functions

 BasdaVinoImageView (QWidget *parent, bool _connect=false)
 Constructor. More...
 
virtual ~BasdaVinoImageView ()
 
 BasdaVinoImageView (QWidget *parent, bool _connect=false)
 Constructor. More...
 
virtual ~BasdaVinoImageView ()
 
 BasdaVinoImageView (QWidget *parent, bool _connect=false)
 Constructor. More...
 
virtual ~BasdaVinoImageView ()
 
- Public Member Functions inherited from QImageView
 QImageView (QWidget *parent=0, const char *_name=0, Qt::WindowFlags f=0)
 
 QImageView (QGraphicsScene *, QWidget *parent=0, const char *_name=0, Qt::WindowFlags f=0)
 
virtual ~QImageView ()
 
virtual void initialize ()
 
virtual void drawForeground (QPainter *painter, const QRectF &rect)
 
virtual void wheelEvent (QWheelEvent *mouseEvent)
 
virtual void mousePressEvent (QMouseEvent *_event)
 
virtual void mouseReleaseEvent (QMouseEvent *_event)
 
virtual void pushImage (const Basda::ImageBase *_image, const Basda::QImageFitsCutsBase &_cuts)
 
virtual void pushImage (const Basda::ImageBase *_image)
 
template<typename ImageType >
void pushImage (const ImageType *_image)
 
template<typename ImageType >
void pushImage (const ImageType *_image, const Basda::QImageFitsCutsBase &_cuts)
 
virtual void contextMenuEvent (QContextMenuEvent *_event)
 
void addOverlayItem (QGraphicsItem *_item, int _chanId=0, const std::string &_name="")
 
QImageFitsItemBaseitem (int=0)
 
virtual QSize sizeHint () const
 
virtual bool isVisibleZoom ()
 
virtual bool isVisibleOverview ()
 
 QImageView (QWidget *parent=0, const char *_name=0, Qt::WindowFlags f=0)
 
 QImageView (QGraphicsScene *, QWidget *parent=0, const char *_name=0, Qt::WindowFlags f=0)
 
virtual ~QImageView ()
 
virtual void initialize ()
 
virtual void drawForeground (QPainter *painter, const QRectF &rect)
 
virtual void wheelEvent (QWheelEvent *mouseEvent)
 
virtual void mousePressEvent (QMouseEvent *_event)
 
virtual void mouseReleaseEvent (QMouseEvent *_event)
 
virtual void pushImage (const Basda::ImageBase *_image, const Basda::QImageFitsCutsBase &_cuts)
 
virtual void pushImage (const Basda::ImageBase *_image)
 
template<typename ImageType >
void pushImage (const ImageType *_image)
 
template<typename ImageType >
void pushImage (const ImageType *_image, const Basda::QImageFitsCutsBase &_cuts)
 
virtual void contextMenuEvent (QContextMenuEvent *_event)
 
void addOverlayItem (QGraphicsItem *_item, int _chanId=0, const std::string &_name="")
 
QImageFitsItemBaseitem (int=0)
 
virtual QSize sizeHint () const
 
virtual bool isVisibleZoom ()
 
virtual bool isVisibleOverview ()
 
 QImageView (QWidget *parent=0, const char *_name=0, Qt::WindowFlags f=0)
 
 QImageView (QGraphicsScene *, QWidget *parent=0, const char *_name=0, Qt::WindowFlags f=0)
 
virtual ~QImageView ()
 
virtual void initialize ()
 
virtual void drawForeground (QPainter *painter, const QRectF &rect)
 
virtual void wheelEvent (QWheelEvent *mouseEvent)
 
virtual void mousePressEvent (QMouseEvent *_event)
 
virtual void mouseReleaseEvent (QMouseEvent *_event)
 
virtual void pushImage (const Basda::ImageBase *_image, const Basda::QImageFitsCutsBase &_cuts)
 
virtual void pushImage (const Basda::ImageBase *_image)
 
template<typename ImageType >
void pushImage (const ImageType *_image)
 
template<typename ImageType >
void pushImage (const ImageType *_image, const Basda::QImageFitsCutsBase &_cuts)
 
virtual void contextMenuEvent (QContextMenuEvent *_event)
 
void addOverlayItem (QGraphicsItem *_item, int _chanId=0, const std::string &_name="")
 
QImageFitsItemBaseitem (int=0)
 
virtual QSize sizeHint () const
 
virtual bool isVisibleZoom ()
 
virtual bool isVisibleOverview ()
 
- Public Member Functions inherited from Nice::BridgeItem
void detach (QWidget *_widget)
 
bool getSynchStatus () const
 Get the sync status. More...
 
const QString & getNodeName ()
 
virtual void setState (CompletionState _state)
 Set the state of the widget (either Nice::OK or Nice::Unsynched ). More...
 
virtual void updateGUI (const ::Nice::Any &)
 Update the widgets data field from the connected Property. More...
 
virtual void setLabels (std::vector< std::string > _vec)
 Set the Labels This function has to be implemented in the derived widget class. More...
 
void setLabel (const QString &_text="")
 Set the text label of this widget. More...
 
QString getLabel ()
 
template<typename E >
std::vector< E * > getBridgeItems ()
 Get all widgets which are connected to the same Property like this one. More...
 
virtual void setShowLabels (bool _show)
 Enables to Labels. More...
 
Nice::JointgetNode () const
 Get the connected Joint node. More...
 
Nice::PropertygetProperty () const
 Get the connected Property. More...
 
virtual void getSessionData (Nice::JointPtr &)
 Fills the passed Joint with the internal session data. More...
 
virtual void setSessionData (Nice::JointPtr)
 Set the internal session data from thge passed Joint. More...
 
virtual void connect (const ::Nice::PropertyPtr _p)
 Connects the widget to a Joint or Property. More...
 
void applyReadOnlyActor ()
 
virtual void connect (const ::Nice::JointPtr _j)
 Connects the widget to a Joint or Property. More...
 
void applyBridge ()
 
QString getPropertyNode () const
 Get the path to the connected Joint. More...
 
virtual bool isReadOnly ()
 Checks if an attribute RO (read only) is set to true. More...
 
virtual void setPropertyNode (QString _nodeName)
 Set the relative path to the displayed Property from the connected Joint. More...
 
void setSynchStatus (bool _on)
 Set the current sync state. More...
 
void setUserConfirmationStatus (bool _on)
 
virtual void setLock (const bool &_locked)
 
void disconnect ()
 Disconnects the widget from the connected Joint or Property. More...
 
void detach (QWidget *_widget)
 
bool getSynchStatus () const
 Get the sync status. More...
 
const QString & getNodeName ()
 
virtual void setState (CompletionState _state)
 Set the state of the widget (either Nice::OK or Nice::Unsynched ). More...
 
virtual void updateGUI (const ::Nice::Any &)
 Update the widgets data field from the connected Property. More...
 
virtual void setLabels (std::vector< std::string > _vec)
 Set the Labels This function has to be implemented in the derived widget class. More...
 
void setLabel (const QString &_text="")
 Set the text label of this widget. More...
 
QString getLabel ()
 
template<typename E >
std::vector< E * > getBridgeItems ()
 Get all widgets which are connected to the same Property like this one. More...
 
virtual void setShowLabels (bool _show)
 Enables to Labels. More...
 
Nice::JointgetNode () const
 Get the connected Joint node. More...
 
Nice::PropertygetProperty () const
 Get the connected Property. More...
 
virtual void getSessionData (Nice::JointPtr &)
 Fills the passed Joint with the internal session data. More...
 
virtual void setSessionData (Nice::JointPtr)
 Set the internal session data from thge passed Joint. More...
 
virtual void connect (const ::Nice::PropertyPtr _p)
 Connects the widget to a Joint or Property. More...
 
void applyReadOnlyActor ()
 
virtual void connect (const ::Nice::JointPtr _j)
 Connects the widget to a Joint or Property. More...
 
void applyBridge ()
 
QString getPropertyNode () const
 Get the path to the connected Joint. More...
 
virtual bool isReadOnly ()
 Checks if an attribute RO (read only) is set to true. More...
 
virtual void setPropertyNode (QString _nodeName)
 Set the relative path to the displayed Property from the connected Joint. More...
 
void setSynchStatus (bool _on)
 Set the current sync state. More...
 
void setUserConfirmationStatus (bool _on)
 
virtual void setLock (const bool &_locked)
 
void disconnect ()
 Disconnects the widget from the connected Joint or Property. More...
 
void detach (QWidget *_widget)
 
bool getSynchStatus () const
 Get the sync status. More...
 
const QString & getNodeName ()
 
virtual void setState (CompletionState _state)
 Set the state of the widget (either Nice::OK or Nice::Unsynched ). More...
 
virtual void updateGUI (const ::Nice::Any &)
 Update the widgets data field from the connected Property. More...
 
virtual void setLabels (std::vector< std::string > _vec)
 Set the Labels This function has to be implemented in the derived widget class. More...
 
void setLabel (const QString &_text="")
 Set the text label of this widget. More...
 
QString getLabel ()
 
template<typename E >
std::vector< E * > getBridgeItems ()
 Get all widgets which are connected to the same Property like this one. More...
 
virtual void setShowLabels (bool _show)
 Enables to Labels. More...
 
Nice::JointgetNode () const
 Get the connected Joint node. More...
 
Nice::PropertygetProperty () const
 Get the connected Property. More...
 
virtual void getSessionData (Nice::JointPtr &)
 Fills the passed Joint with the internal session data. More...
 
virtual void setSessionData (Nice::JointPtr)
 Set the internal session data from thge passed Joint. More...
 
virtual void connect (const ::Nice::PropertyPtr _p)
 Connects the widget to a Joint or Property. More...
 
void applyReadOnlyActor ()
 
virtual void connect (const ::Nice::JointPtr _j)
 Connects the widget to a Joint or Property. More...
 
void applyBridge ()
 
QString getPropertyNode () const
 Get the path to the connected Joint. More...
 
virtual bool isReadOnly ()
 Checks if an attribute RO (read only) is set to true. More...
 
virtual void setPropertyNode (QString _nodeName)
 Set the relative path to the displayed Property from the connected Joint. More...
 
void setSynchStatus (bool _on)
 Set the current sync state. More...
 
void setUserConfirmationStatus (bool _on)
 
virtual void setLock (const bool &_locked)
 
void disconnect ()
 Disconnects the widget from the connected Joint or Property. More...
 

Protected Member Functions

virtual void updateGUI (const Nice::Any &_val)
 
virtual void initOverlays ()
 
virtual void initAttributes ()
 virtual function is called after connecting to a property. More...
 
virtual void updateGUI (const Nice::Any &_val)
 
virtual void initOverlays ()
 
virtual void initAttributes ()
 virtual function is called after connecting to a property. More...
 
virtual void updateGUI (const Nice::Any &_val)
 
virtual void initOverlays ()
 
virtual void initAttributes ()
 virtual function is called after connecting to a property. More...
 
- Protected Member Functions inherited from QImageView
template<typename Type >
QImageFitsItemBasecreateImageItem (QImageFitsItemBaseMap::iterator &_it, const Basda::ImageBase *_image, const Basda::QImageFitsCutsBase &_cuts)
 
template<typename Type >
QImageFitsItemBasecreateImageItem (QImageFitsItemBaseMap::iterator &_it, const Basda::ImageBase *_image, const Basda::QImageFitsCutsBase &_cuts)
 
template<typename Type >
QImageFitsItemBasecreateImageItem (QImageFitsItemBaseMap::iterator &_it, const Basda::ImageBase *_image, const Basda::QImageFitsCutsBase &_cuts)
 
- Protected Member Functions inherited from Nice::BridgeItem
virtual void initSlots ()
 
template<typename E >
void set (const E &_value)
 Set the value from the derived widget to the Property. More...
 
void init (QWidget *_widget)
 Initialize the widget. More...
 
 BridgeItem ()
 Constructor. More...
 
virtual ~BridgeItem ()
 Destructor. More...
 
void setWidgetName ()
 
CompletionState getState ()
 Get the current state of the widget. More...
 
void resetGUI ()
 Update the widgets data field from the connected Property. More...
 
virtual int requestUserConfirmation ()
 
virtual void trySetFocus ()
 
void setBuffered (bool _buf)
 
virtual void set ()
 Slot is called when the date of the widget is changed. More...
 
virtual void updateProperty ()
 Set the gui value to the Property. More...
 
virtual void initSlots ()
 
template<typename E >
void set (const E &_value)
 Set the value from the derived widget to the Property. More...
 
void init (QWidget *_widget)
 Initialize the widget. More...
 
 BridgeItem ()
 Constructor. More...
 
virtual ~BridgeItem ()
 Destructor. More...
 
void setWidgetName ()
 
CompletionState getState ()
 Get the current state of the widget. More...
 
void resetGUI ()
 Update the widgets data field from the connected Property. More...
 
virtual int requestUserConfirmation ()
 
virtual void trySetFocus ()
 
void setBuffered (bool _buf)
 
virtual void set ()
 Slot is called when the date of the widget is changed. More...
 
virtual void updateProperty ()
 Set the gui value to the Property. More...
 
virtual void initSlots ()
 
template<typename E >
void set (const E &_value)
 Set the value from the derived widget to the Property. More...
 
void init (QWidget *_widget)
 Initialize the widget. More...
 
 BridgeItem ()
 Constructor. More...
 
virtual ~BridgeItem ()
 Destructor. More...
 
void setWidgetName ()
 
CompletionState getState ()
 Get the current state of the widget. More...
 
void resetGUI ()
 Update the widgets data field from the connected Property. More...
 
virtual int requestUserConfirmation ()
 
virtual void trySetFocus ()
 
void setBuffered (bool _buf)
 
virtual void set ()
 Slot is called when the date of the widget is changed. More...
 
virtual void updateProperty ()
 Set the gui value to the Property. More...
 

Protected Attributes

Nice::Mutex m_pushMutex
 
Basda::QImageFitsCutsBase m_cuts
 
Nice::Timer m_unbelievableTimerHack
 
- Protected Attributes inherited from Nice::BridgeItem
bool m_inited
 
CompletionState m_state
 
bool m_autoSynch
 
bool m_isUserConfirmationNeeded
 
Nice::Jointm_root
 
Nice::Propertym_prop
 
WaveBreakerPtr m_breaker
 
bool m_showLabels
 
Nice::I64 m_id
 
QString m_nodeName
 
std::vector< Nice::PropertyPtrm_connectedProps
 

Properties

QString PropertyNode
 
bool AutoSynch
 

Additional Inherited Members

- Signals inherited from QImageView
void sendCoordValPos (const QPointF &_pos, double)
 
void sendCutLevels (const Basda::QImageFitsCutsBase &)
 
void sendColorVector (QImageColorVector::Names)
 
void sendCoordValPos (const QPointF &_pos, double)
 
void sendCutLevels (const Basda::QImageFitsCutsBase &)
 
void sendColorVector (QImageColorVector::Names)
 
void sendCoordValPos (const QPointF &_pos, double)
 
void sendCutLevels (const Basda::QImageFitsCutsBase &)
 
void sendColorVector (QImageColorVector::Names)
 
- Public Attributes inherited from Nice::BridgeItem
QGroupBox * m_container
 
bool m_locked
 
- Static Public Attributes inherited from Nice::BridgeItem
static std::map< CompletionState, QString > * s_palette = 0
 

Constructor & Destructor Documentation

◆ BasdaVinoImageView() [1/3]

BasdaVinoImageView::BasdaVinoImageView ( QWidget *  parent,
bool  _connect = false 
)

Constructor.

Parameters
parentParent widget.
_connectAutosync activation.

◆ ~BasdaVinoImageView() [1/3]

BasdaVinoImageView::~BasdaVinoImageView ( )
virtual

◆ BasdaVinoImageView() [2/3]

BasdaVinoImageView::BasdaVinoImageView ( QWidget *  parent,
bool  _connect = false 
)

Constructor.

Parameters
parentParent widget.
_connectAutosync activation.

◆ ~BasdaVinoImageView() [2/3]

virtual BasdaVinoImageView::~BasdaVinoImageView ( )
virtual

◆ BasdaVinoImageView() [3/3]

BasdaVinoImageView::BasdaVinoImageView ( QWidget *  parent,
bool  _connect = false 
)

Constructor.

Parameters
parentParent widget.
_connectAutosync activation.

◆ ~BasdaVinoImageView() [3/3]

virtual BasdaVinoImageView::~BasdaVinoImageView ( )
virtual

Member Function Documentation

◆ initAttributes() [1/3]

void BasdaVinoImageView::initAttributes ( )
protectedvirtual

virtual function is called after connecting to a property.

The functionality can be implemented in the derived class.

Reimplemented from Nice::BridgeItem.

◆ initAttributes() [2/3]

virtual void BasdaVinoImageView::initAttributes ( )
protectedvirtual

virtual function is called after connecting to a property.

The functionality can be implemented in the derived class.

Reimplemented from Nice::BridgeItem.

◆ initAttributes() [3/3]

virtual void BasdaVinoImageView::initAttributes ( )
protectedvirtual

virtual function is called after connecting to a property.

The functionality can be implemented in the derived class.

Reimplemented from Nice::BridgeItem.

◆ initOverlays() [1/3]

virtual void BasdaVinoImageView::initOverlays ( )
protectedvirtual

◆ initOverlays() [2/3]

virtual void BasdaVinoImageView::initOverlays ( )
protectedvirtual

◆ initOverlays() [3/3]

void BasdaVinoImageView::initOverlays ( )
protectedvirtual

◆ setCutlevelHigh [1/3]

virtual void BasdaVinoImageView::setCutlevelHigh ( double  )
virtualslot

◆ setCutlevelHigh [2/3]

void BasdaVinoImageView::setCutlevelHigh ( double  _high)
virtualslot

◆ setCutlevelHigh [3/3]

virtual void BasdaVinoImageView::setCutlevelHigh ( double  )
virtualslot

◆ setCutlevelLow [1/3]

virtual void BasdaVinoImageView::setCutlevelLow ( double  )
virtualslot

◆ setCutlevelLow [2/3]

void BasdaVinoImageView::setCutlevelLow ( double  _low)
virtualslot

◆ setCutlevelLow [3/3]

virtual void BasdaVinoImageView::setCutlevelLow ( double  )
virtualslot

◆ setCutlevelMode [1/3]

void BasdaVinoImageView::setCutlevelMode ( int  _mode)
virtualslot

◆ setCutlevelMode [2/3]

virtual void BasdaVinoImageView::setCutlevelMode ( int  )
virtualslot

◆ setCutlevelMode [3/3]

virtual void BasdaVinoImageView::setCutlevelMode ( int  )
virtualslot

◆ setCutlevelType [1/3]

virtual void BasdaVinoImageView::setCutlevelType ( int  )
virtualslot

◆ setCutlevelType [2/3]

void BasdaVinoImageView::setCutlevelType ( int  _type)
virtualslot

◆ setCutlevelType [3/3]

virtual void BasdaVinoImageView::setCutlevelType ( int  )
virtualslot

◆ updateCutLevelProperties [1/3]

virtual void BasdaVinoImageView::updateCutLevelProperties ( const Basda::QImageFitsCutsBase )
virtualslot

◆ updateCutLevelProperties [2/3]

void BasdaVinoImageView::updateCutLevelProperties ( const Basda::QImageFitsCutsBase _cuts)
virtualslot

◆ updateCutLevelProperties [3/3]

virtual void BasdaVinoImageView::updateCutLevelProperties ( const Basda::QImageFitsCutsBase )
virtualslot

◆ updateGUI() [1/3]

void BasdaVinoImageView::updateGUI ( const Nice::Any _val)
protectedvirtual
Parameters

◆ updateGUI() [2/3]

virtual void BasdaVinoImageView::updateGUI ( const Nice::Any _val)
protectedvirtual
Parameters

◆ updateGUI() [3/3]

virtual void BasdaVinoImageView::updateGUI ( const Nice::Any _val)
protectedvirtual
Parameters

Member Data Documentation

◆ m_cuts

Basda::QImageFitsCutsBase BasdaVinoImageView::m_cuts
protected

◆ m_pushMutex

Nice::Mutex BasdaVinoImageView::m_pushMutex
protected

◆ m_unbelievableTimerHack

Nice::Timer BasdaVinoImageView::m_unbelievableTimerHack
protected

Property Documentation

◆ AutoSynch

bool BasdaVinoImageView::AutoSynch
readwrite

◆ PropertyNode

QString BasdaVinoImageView::PropertyNode
readwrite

The documentation for this class was generated from the following files: