26 #ifndef IMAGEVIEW_QO_H
27 #define IMAGEVIEW_QO_H
34 #include <display/QtViewer/ImageManager/ImageView.ui.h>
155 QString oldUnits, QString newUnits )
const;
156 bool isCategoryMatch(
const QString& newUnits,
const QString& oldUnits )
const;
174 void makeDrag( QMouseEvent* event );
246 Ui::ImageViewClass
ui;
251 #endif // IMAGEVIEW_QO_H
void setMasterCoordinateImage(bool masterImage)
QAction masterCoordinateSystemUndoAction
void masterCoordinateImageSelected(ImageView *imageView)
This imageView has become the master coordinate image.
void initDisplayLabels()
Initialization.
void setDisplayedColor(QColor color)
void masterCoordinateImageClear()
There will be no master coordinate image.
Displays properties of an image for manipulation such as color and display type.
bool isMasterSaturation() const
Provides a quick view of a particular display property that has been set.
DisplayType storedDisplay
QButtonGroup * displayGroup
void imageSelected(ImageView *)
Register/unregister has changed.
const int VIEWED_BORDER_SIZE
casacore::String spectralUnit;
QString getDataDisplayTypeName() const
DisplayLabel * displayTypeLabel
Indicators of which display properties apply to this image view.
const casacore::String REST_FREQUENCY_KEY
virtual QSize minimumSizeHint() const
void setData(QtDisplayData *other)
bool isCategoryMatch(const QString &newUnits, const QString &oldUnits) const
DisplayLabel * hueMasterLabel
void initDisplayLabel(QWidget *holder, DisplayLabel *label)
QString updateRestUI(casacore::String &restStr)
casacore::String originalFreq
Store original rest frequney value & units.
QtDisplayData * imageData
QAction masterSaturationAction
void rgbChanged()
Color this image will use in RGB mode has changed.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
DisplayLabel * saturationMasterLabel
void showContextMenu(const QPoint &location)
User selected color for RGB mode has changed.
void _sendRestFrequencyChange(casacore::String comboStr)
Resetting the original rest frequency.
void restChanged()
Method of specifying "rest" has changed.
ColorCombinationMode colorMode
Method used to combine images using colors.
const casacore::String VALUE_KEY
const casacore::String SPECTRAL_UNIT_KEY;
double wavelengthFrequencyConversion(double value, QString oldUnits, QString newUnits) const
Conversion.
void minimizeDisplay()
Opening/closing.
bool isControlEligible() const
Returns whether or not the data is eligible to set the coordinate system for the display.
DisplayLabel * coordinateMasterLabel
QSpacerItem * spacerFirst
void selectRestUnits(const QString &restUnits)
void masterSaturationImageSelected(ImageView *imageView)
This ImageView has become the master saturation image.
QColor masterCoordinateColor
bool isMasterCoordinate() const
void setMasterSaturationImage(bool masterImage)
void close(ImageView *imageToClose)
Close the image.
void setBackgroundColor(QColor color)
Background color.
void setViewedImage(bool viewed)
Sets whether or not this is the image currently being viewed on the animator.
void makeDrag(QMouseEvent *event)
QStringList frequencyUnits
Rest frequency.
void setMasterHueImage(bool masterImage)
casacore::Record displayOptionsSnapshot
QAction viewAction
Available context menu choices.
void updateFreqUnitCombo()
QAction masterCoordinateSystemAction
QColor normalColor
Regular background or master coordinate image background.
A hierarchical collection of named fields of various types.
void initColorModeSettings()
void rgbModeChanged()
Custom color for RGB image combination void setButtonColor(QColor color); QColor getButtonColor() con...
void openCloseDisplay()
Minimize/maximize the display.
bool isRegistered() const
void imageRegistrationChanged(bool selected)
Display data has changed register/unregister status.
void setColorCombinationMode(ColorCombinationMode mode)
QColor getBackgroundColor() const
QImage * makeDragImage()
Drag and drop.
int minimumSize
Opening/closing.
void showDataOptions()
Show a color dialog where the user can choose a custom color.
void resetRestFrequency()
Reset the rest frequency back to its original value.
void viewImage(ImageView *imageToView)
An image has been selected to view on the image animator.
void setRegistered(bool selected)
Setters.
const int NOT_VIEWED_BORDER_SIZE
static const QString DROP_ID
ImageView(QtDisplayData *data, QWidget *parent=0)
virtual void mouseMoveEvent(QMouseEvent *event)
Implemented to support drag and drop.
void masterHueImageSelected(ImageView *imageView)
This ImageView has become the master hue image.
QtDisplayData * getData() const
void displayTypeChanged()
Change to raster/contour/vector/marker.
QStringList wavelengthUnits
void restFrequencyChanged()
User has changed the rest frequency.
void saveSnapshot()
Snapshots.
String: the storage and methods of handling collections of characters.
QString getName() const
Accessors.
QColor getDisplayedColor() const
QMap< DisplayType, QString > displayTypeMap
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the color(i.e.,"000000"for black) and
void showDataDisplayOptions(QtDisplayData *imageData)
User has requested to view the display properties of this data.
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.
ImageView operator=(const ImageView &other)