ImageSel Pile
version 0.0.1
ImageSel pile.
|
brief description More...
#include <imagesel.h>
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. | |
LayoutInterf * | lay () const |
Get the layout interface. | |
LayoutInterf * | takeLay () |
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 |
brief description
Detailed description.
ImageSel::ImageSel | ( | QWidget * | parent = NULL | ) |
Default constructor.
Detailed description for constructor.
|
virtual |
Destructor.
Detailed description for destructor.
|
protected |
A grip informs us that it had been moved.
grip | the grip that's being moved |
pos | the position where it would be if this was a free move |