casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Signals | Public Member Functions | Protected Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes
casa::ImageView Class Reference

Displays properties of an image for manipulating such as color and display type. More...

#include <ImageView.qo.h>

List of all members.

Signals

void imageSelected (ImageView *)
void displayTypeChanged (ImageView *dd)
void displayColorsChanged (ImageView *dd)

Public Member Functions

 ImageView (QtDisplayData *data, QWidget *parent=0)
QString getName () const
QtDisplayDatagetData () const
QString getDataDisplayTypeName () const
bool isImageSelected () const
void setImageSelected (bool selected)
void setImageColorsEnabled (bool enabled)
void setDisplayedColor (QColor imageColor)
void emitDisplayColorsChanged ()
QColor getDisplayedColor () const
void makeDrag ()
 ~ImageView ()

Protected Member Functions

virtual void mouseMoveEvent (QMouseEvent *event)

Private Types

enum  DisplayType {
  DISPLAY_RASTER,
  DISPLAY_CONTOUR,
  DISPLAY_VECTOR,
  DISPLAY_MARKER
}

Private Slots

void openCloseDisplay ()
void showColorDialog ()
void imageSelectionChanged (bool selected)
void displayTypeChanged ()

Private Member Functions

 ImageView (const ImageView &other)
ImageView operator= (const ImageView &other)
void setBackgroundColor (QColor color)
void minimizeDisplay ()
void maximizeDisplay ()
void initDisplayType ()
void setButtonColor (QColor color)
QColor getButtonColor () const
DisplayType getDataDisplayType () const

Private Attributes

bool selected
bool minimized
QColor selectedColor
QColor normalColor
QtDisplayDataimageData
QButtonGroup * displayGroup
Ui::ImageViewClass ui

Detailed Description

Displays properties of an image for manipulating such as color and display type.

Definition at line 43 of file ImageView.qo.h.


Member Enumeration Documentation

Enumerator:
DISPLAY_RASTER 
DISPLAY_CONTOUR 
DISPLAY_VECTOR 
DISPLAY_MARKER 

Definition at line 86 of file ImageView.qo.h.


Constructor & Destructor Documentation

casa::ImageView::ImageView ( QtDisplayData data,
QWidget *  parent = 0 
)
casa::ImageView::ImageView ( const ImageView other) [private]

Member Function Documentation

void casa::ImageView::displayTypeChanged ( ) [private, slot]
QColor casa::ImageView::getButtonColor ( ) const [private]
QString casa::ImageView::getName ( ) const
void casa::ImageView::imageSelectionChanged ( bool  selected) [private, slot]
virtual void casa::ImageView::mouseMoveEvent ( QMouseEvent *  event) [protected, virtual]
void casa::ImageView::openCloseDisplay ( ) [private, slot]
ImageView casa::ImageView::operator= ( const ImageView other) [private]
void casa::ImageView::setBackgroundColor ( QColor  color) [private]
void casa::ImageView::setButtonColor ( QColor  color) [private]
void casa::ImageView::setDisplayedColor ( QColor  imageColor)
void casa::ImageView::setImageSelected ( bool  selected)
void casa::ImageView::showColorDialog ( ) [private, slot]

Member Data Documentation

QButtonGroup* casa::ImageView::displayGroup [private]

Definition at line 95 of file ImageView.qo.h.

Definition at line 94 of file ImageView.qo.h.

Definition at line 90 of file ImageView.qo.h.

QColor casa::ImageView::normalColor [private]

Definition at line 92 of file ImageView.qo.h.

bool casa::ImageView::selected [private]

Definition at line 89 of file ImageView.qo.h.

Definition at line 91 of file ImageView.qo.h.

Ui::ImageViewClass casa::ImageView::ui [private]

Definition at line 96 of file ImageView.qo.h.


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