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

Displays a list of images, allowing the user to reorder them. More...

#include <ImageScroll.qo.h>

Inheritance diagram for casa::ImageScroll:
casa::ImageTracker

List of all members.

Signals

void displayDataRemoved (QtDisplayData *imageData)
void displayDataAdded (QtDisplayData *imageData)
void displayTypeChanged (ImageView *displayData)
void displayColorsChanged (ImageView *displayData)

Public Member Functions

 ImageScroll (QWidget *parent=0)
void setImageHolder (DisplayDataHolder *holder)
void setControllingDD (QtDisplayData *dd)
QList< ImageView * > getSelectedViews ()
bool isManaged (QtDisplayData *displayData) const
void closeImages ()
void addImageViews (QList< ImageView * > &views)
void removeImageViews (QList< ImageView * > &view)
void setSelectAll (bool selectAll)
void setImageColorsEnabled (bool enabled)
void applyColorChangesIndividually ()
bool findColor (const QString &lookup, QColor *foundColor)
virtual ~ImageScroll ()
virtual void masterImageSelected (QtDisplayData *image)
 Image Tracker Interface.
virtual void imageAdded (QtDisplayData *image)
virtual void imageRemoved (QtDisplayData *image)

Protected Member Functions

void dragEnterEvent (QDragEnterEvent *enterEvent)
void dropEvent (QDropEvent *dropEvent)
void dragMoveEvent (QDragMoveEvent *dragMoveEvent)

Private Member Functions

 ImageScroll (const ImageScroll &other)
ImageScroll operator= (const ImageScroll &other)
void addImage (ImageView *imageView)
void closeImage (ImageView *imageView, bool deleteImage=true)
ImageViewfindImageView (const QString &name)
ImageViewgetMimeImageView (const QMimeData *mimeData)

Private Attributes

QSpacerItem * spacer
const int LAYOUT_SPACING
const int LAYOUT_MARGIN
QList< ImageView * > images
DisplayDataHoldermanagedImages
bool imageColorsEnabled

Detailed Description

Displays a list of images, allowing the user to reorder them.

Definition at line 47 of file ImageScroll.qo.h.


Constructor & Destructor Documentation

casa::ImageScroll::ImageScroll ( QWidget *  parent = 0)
virtual casa::ImageScroll::~ImageScroll ( ) [virtual]
casa::ImageScroll::ImageScroll ( const ImageScroll other) [private]

Member Function Documentation

void casa::ImageScroll::addImage ( ImageView imageView) [private]
void casa::ImageScroll::addImageViews ( QList< ImageView * > &  views)
void casa::ImageScroll::closeImage ( ImageView imageView,
bool  deleteImage = true 
) [private]
void casa::ImageScroll::displayColorsChanged ( ImageView displayData) [signal]
void casa::ImageScroll::displayDataAdded ( QtDisplayData imageData) [signal]
void casa::ImageScroll::displayDataRemoved ( QtDisplayData imageData) [signal]
void casa::ImageScroll::displayTypeChanged ( ImageView displayData) [signal]
void casa::ImageScroll::dragEnterEvent ( QDragEnterEvent *  enterEvent) [protected]
void casa::ImageScroll::dragMoveEvent ( QDragMoveEvent *  dragMoveEvent) [protected]
void casa::ImageScroll::dropEvent ( QDropEvent *  dropEvent) [protected]
bool casa::ImageScroll::findColor ( const QString &  lookup,
QColor *  foundColor 
)
ImageView* casa::ImageScroll::findImageView ( const QString &  name) [private]
ImageView* casa::ImageScroll::getMimeImageView ( const QMimeData *  mimeData) [private]
virtual void casa::ImageScroll::imageAdded ( QtDisplayData image) [virtual]

Implements casa::ImageTracker.

virtual void casa::ImageScroll::imageRemoved ( QtDisplayData image) [virtual]

Implements casa::ImageTracker.

bool casa::ImageScroll::isManaged ( QtDisplayData displayData) const
virtual void casa::ImageScroll::masterImageSelected ( QtDisplayData image) [virtual]

Image Tracker Interface.

Implements casa::ImageTracker.

ImageScroll casa::ImageScroll::operator= ( const ImageScroll other) [private]
void casa::ImageScroll::removeImageViews ( QList< ImageView * > &  view)
void casa::ImageScroll::setSelectAll ( bool  selectAll)

Member Data Documentation

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

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

const int casa::ImageScroll::LAYOUT_MARGIN [private]

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

const int casa::ImageScroll::LAYOUT_SPACING [private]

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

Definition at line 93 of file ImageScroll.qo.h.

QSpacerItem* casa::ImageScroll::spacer [private]

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


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