Displays a list of images, allowing the user to reorder them.
More...
#include <ImageScroll.qo.h>
|
| ImageScroll (QWidget *parent=0) |
|
QList< ImageView * > | getViews () |
| Accessors. More...
|
|
QtDisplayData * | getHueMaster () const |
| Returncds the image in charge of defining the hue color. More...
|
|
QtDisplayData * | getSaturationMaster () const |
| Returns the image in charge of defining the saturation color. More...
|
|
QtDisplayData * | getCoordinateMaster () const |
|
int | getImageCount () const |
| Returns the number of open images. More...
|
|
int | getRegisteredCount () const |
| Returns the number of registered images. More...
|
|
int | getRegisteredIndex (int dropIndex, bool rastersOnly=false) const |
| Returns the registeration index of the image with open index given by dropIndex. More...
|
|
int | getIndex (ImageView *view) |
| Returns the open index of the image. More...
|
|
void | setViewedImage (int registrationIndex) |
| Setters Index of image currently being viewed in animator. More...
|
|
void | setRegisterAll (bool selectAll) |
|
void | setColorCombinationMode (ImageView::ColorCombinationMode mode) |
|
void | setMasterCoordinateImage (QString masterCoordinateImageName) |
| Called from the ImageManagerDialog, when a new master coordinate image has been selected programmatically by the viewer. More...
|
|
void | closeImages () |
| ImageManipulation. More...
|
|
void | addDisplayDataLayout (QtDisplayData *displayData, int dropIndex) |
|
void | addImageView (QtDisplayData *displayData, bool registered, ImageView::ColorCombinationMode mode, int dropIndex=-1, bool masterCoordinate=false, bool masterSaturation=false, bool masterHue=false, QColor rgbColor=QColor("#D3D3D3")) |
|
void | removeDisplayDataLayout (QtDisplayData *displayData) |
|
void | removeImageView (QtDisplayData *displayData) |
|
virtual | ~ImageScroll () |
|
Displays a list of images, allowing the user to reorder them.
Definition at line 47 of file ImageScroll.qo.h.
casa::ImageScroll::ImageScroll |
( |
QWidget * |
parent = 0 | ) |
|
virtual casa::ImageScroll::~ImageScroll |
( |
| ) |
|
|
virtual |
casa::ImageScroll::ImageScroll |
( |
const ImageScroll & |
other | ) |
|
|
private |
void casa::ImageScroll::addDisplayDataLayout |
( |
QtDisplayData * |
displayData, |
|
|
int |
dropIndex |
|
) |
| |
void casa::ImageScroll::addImage |
( |
ImageView * |
imageView, |
|
|
int |
dropIndex = -1 |
|
) |
| |
|
private |
Adding/removing images from the layout.
void casa::ImageScroll::addImageView |
( |
QtDisplayData * |
displayData, |
|
|
bool |
registered, |
|
|
ImageView::ColorCombinationMode |
mode, |
|
|
int |
dropIndex = -1 , |
|
|
bool |
masterCoordinate = false , |
|
|
bool |
masterSaturation = false , |
|
|
bool |
masterHue = false , |
|
|
QColor |
rgbColor = QColor("#D3D3D3") |
|
) |
| |
void casa::ImageScroll::addImageViewLayout |
( |
ImageView * |
viewerImage, |
|
|
int |
dropIndex |
|
) |
| |
|
private |
void casa::ImageScroll::animateToImage |
( |
int |
index | ) |
|
|
signal |
void casa::ImageScroll::closeImage |
( |
ImageView * |
imageView, |
|
|
bool |
deleteImage = true |
|
) |
| |
|
privateslot |
Close this particular image view.
void casa::ImageScroll::closeImages |
( |
| ) |
|
void casa::ImageScroll::coordinateSystemChanged |
( |
ImageView * |
imageData | ) |
|
|
privateslot |
Called by an ImageView when it has been selected to be the new master coordinate image.
Percolates the event upward to the the ImageManagerDialog.
void casa::ImageScroll::displayDataAdded |
( |
QtDisplayData * |
imageData | ) |
|
|
signal |
A display data was added.
void casa::ImageScroll::displayDataRemoved |
( |
QtDisplayData * |
imageData, |
|
|
bool |
|
|
) |
| |
|
signal |
An display data was closed.
void casa::ImageScroll::displayTypeChanged |
( |
ImageView * |
displayData | ) |
|
|
signal |
Change from raster, contour,vector, marker.
void casa::ImageScroll::dragEnterEvent |
( |
QDragEnterEvent * |
enterEvent | ) |
|
|
protected |
void casa::ImageScroll::dragLeaveEvent |
( |
QDragLeaveEvent * |
leaveEvent | ) |
|
|
protected |
void casa::ImageScroll::dragMoveEvent |
( |
QDragMoveEvent * |
dragMoveEvent | ) |
|
|
protected |
void casa::ImageScroll::dropEvent |
( |
QDropEvent * |
dropEvent | ) |
|
|
protected |
int casa::ImageScroll::findImageView |
( |
QString |
name, |
|
|
bool |
exactMatch = true |
|
) |
| |
|
private |
Returns the index of a particular image.
int casa::ImageScroll::getDragMarkerLayoutIndex |
( |
| ) |
const |
|
private |
int casa::ImageScroll::getDropIndex |
( |
int |
dropY | ) |
|
|
private |
Returncds the image in charge of defining the hue color.
int casa::ImageScroll::getImageCount |
( |
| ) |
const |
Returns the number of open images.
int casa::ImageScroll::getIndex |
( |
ImageView * |
view | ) |
|
Returns the open index of the image.
ImageView* casa::ImageScroll::getMimeImageView |
( |
const QMimeData * |
mimeData | ) |
|
|
private |
int casa::ImageScroll::getRegisteredCount |
( |
| ) |
const |
Returns the number of registered images.
int casa::ImageScroll::getRegisteredIndex |
( |
int |
dropIndex, |
|
|
bool |
rastersOnly = false |
|
) |
| const |
Returns the registeration index of the image with open index given by dropIndex.
Returns the image in charge of defining the saturation color.
QList<ImageView*> casa::ImageScroll::getViews |
( |
| ) |
|
void casa::ImageScroll::hueImageChanged |
( |
ImageView * |
imageData | ) |
|
|
privateslot |
The master image used to determine hue has changed.
void casa::ImageScroll::imageOrderingChanged |
( |
QtDisplayData * |
imageData, |
|
|
int |
dropIndex, |
|
|
bool |
registered, |
|
|
bool |
masterCoordinate |
|
) |
| |
|
signal |
Image was moved by the user.
void casa::ImageScroll::insertDragMarker |
( |
int |
position | ) |
|
|
private |
void casa::ImageScroll::masterCoordinateClear |
( |
| ) |
|
|
privateslot |
There should be no display data used to set the master coordinate system.
void casa::ImageScroll::masterCoordinateImageChanged |
( |
QtDisplayData * |
imageData | ) |
|
|
signal |
The new display data became in charge of setting the coordinate system.
void casa::ImageScroll::registrationChange |
( |
ImageView * |
imageView | ) |
|
|
signal |
Either register/unregister occured for the ImageView.
void casa::ImageScroll::removeDisplayDataLayout |
( |
QtDisplayData * |
displayData | ) |
|
void casa::ImageScroll::removeDragMarker |
( |
| ) |
|
|
private |
void casa::ImageScroll::removeImageView |
( |
QtDisplayData * |
displayData | ) |
|
void casa::ImageScroll::removeImageViewLayout |
( |
ImageView * |
imageView | ) |
|
|
private |
QString casa::ImageScroll::removeSuffixes |
( |
QString |
name | ) |
const |
|
private |
void casa::ImageScroll::resetMasterCoordinate |
( |
ImageView * |
newMaster | ) |
|
|
private |
void casa::ImageScroll::saturationImageChanged |
( |
ImageView * |
imageData | ) |
|
|
privateslot |
The master image used to determine color saturation has changed.
void casa::ImageScroll::setMasterCoordinateImage |
( |
QString |
masterCoordinateImageName | ) |
|
Called from the ImageManagerDialog, when a new master coordinate image has been selected programmatically by the viewer.
Percolates the selection downward to the ImageView so it can be displayed.
void casa::ImageScroll::setRegisterAll |
( |
bool |
selectAll | ) |
|
void casa::ImageScroll::setViewedImage |
( |
int |
registrationIndex | ) |
|
Setters Index of image currently being viewed in animator.
void casa::ImageScroll::showDataDisplayOptions |
( |
QtDisplayData * |
imageName | ) |
|
|
signal |
Show the display options for this data.
QString casa::ImageScroll::stripBold |
( |
QString |
name | ) |
const |
|
private |
void casa::ImageScroll::viewImage |
( |
ImageView * |
imageView | ) |
|
|
privateslot |
QFrame* casa::ImageScroll::dropMarker |
|
private |
Horizontal line showing where the image will be placed when it is reordered.
Definition at line 159 of file ImageScroll.qo.h.
const int casa::ImageScroll::LAYOUT_MARGIN |
|
private |
const int casa::ImageScroll::LAYOUT_SPACING |
|
private |
QWidget* casa::ImageScroll::scrollWidget |
|
private |
QSpacerItem* casa::ImageScroll::spacer |
|
private |
Ui::ImageScrollClass casa::ImageScroll::ui |
|
private |
The documentation for this class was generated from the following file: