ImageSel Pile   version 0.0.1
ImageSel pile.
ImageSel Class Reference

brief description More...

#include <imagesel.h>

+ Inheritance diagram for ImageSel:

Public Types

enum  BuildInLay {
  Invalid = -1, Rectangular, Square, Ellipse,
  Circle, BuildinMax
}
 The list of build-in layouts.
 

Public Member Functions

 ImageSel (QWidget *parent=NULL)
 Default constructor. More...
 
virtual ~ImageSel ()
 Destructor. More...
 
void setImage (const QPixmap &value)
 Change the image that's being presented to the user.
 
void clearImage ()
 Remove the image that's being presented to the user.
 
const QPixmap & image () const
 The image that's being presented to the user.
 
void setBuildInLayout (BuildInLay kind)
 Set one of the build-in layouts.
 
void setLay (LayoutInterf *value)
 Set the layout interface; ownership transfered to this instance.
 
LayoutInterflay () const
 Get the layout interface.
 
LayoutInterftakeLay ()
 Take ownership of the layout interface.
 

Protected Member Functions

QPoint gripMode (ActiveGrip *grip, const QPoint &pos)
 A grip informs us that it had been moved. More...
 
void mousePressEvent (QMouseEvent *)
 
void mouseReleaseEvent (QMouseEvent *)
 
void mouseMoveEvent (QMouseEvent *)
 
void paintEvent (QPaintEvent *)
 

Friends

class ActiveGrip
 

Detailed Description

brief description

Detailed description.

Constructor & Destructor Documentation

ImageSel::ImageSel ( QWidget *  parent = NULL)

Default constructor.

Detailed description for constructor.

ImageSel::~ImageSel ( )
virtual

Destructor.

Detailed description for destructor.

Member Function Documentation

QPoint ImageSel::gripMode ( ActiveGrip grip,
const QPoint &  ps 
)
protected

A grip informs us that it had been moved.

Parameters
gripthe grip that's being moved
posthe position where it would be if this was a free move
Returns
The position of the grip.

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