Signals | Public Member Functions | Static Private Member Functions | Private Attributes
rqt_image_enhancer::RatioLayoutedFrame Class Reference

#include <ratio_layouted_frame.h>

List of all members.

Signals

void rightMouseButtonClicked ()
void rightMouseButtonClicked ()
void selectionFinished (QPoint p1, QPoint p2)
void selectionFinished (QPoint p1, QPoint p2)
void selectionInProgress (QPoint p1, QPoint p2)
void selectionInProgress (QPoint p1, QPoint p2)

Public Member Functions

QRect getAspectRatioCorrectPaintArea ()
QRect getAspectRatioCorrectPaintArea ()
void mouseMoveEvent (QMouseEvent *me)
void mouseMoveEvent (QMouseEvent *me)
void mousePressEvent (QMouseEvent *me)
void mousePressEvent (QMouseEvent *me)
void mouseReleaseEvent (QMouseEvent *me)
void mouseReleaseEvent (QMouseEvent *me)
 RatioLayoutedFrame (QWidget *parent, Qt::WFlags flags=0)
 RatioLayoutedFrame (QWidget *parent, Qt::WFlags flags=0)
void resizeToFitAspectRatio ()
void resizeToFitAspectRatio ()
void setAspectRatio (unsigned short width, unsigned short height)
void setAspectRatio (unsigned short width, unsigned short height)
void setInnerFrameFixedSize (const QSize &size)
void setInnerFrameFixedSize (const QSize &size)
void setInnerFrameMaximumSize (const QSize &size)
void setInnerFrameMaximumSize (const QSize &size)
void setInnerFrameMinimumSize (const QSize &size)
void setInnerFrameMinimumSize (const QSize &size)
virtual ~RatioLayoutedFrame ()
virtual ~RatioLayoutedFrame ()

Static Private Member Functions

static int greatestCommonDivisor (int a, int b)
static int greatestCommonDivisor (int a, int b)

Private Attributes

QSize aspect_ratio_
bool mouse_pressed_
QPoint select_end_
QPoint select_start_

Detailed Description

RatioLayoutedFrame is a layout containing a single frame with a fixed aspect ratio. The default aspect ratio is 4:3.

Definition at line 50 of file rqt_image_cropping/ratio_layouted_frame.h.


Constructor & Destructor Documentation

rqt_image_enhancer::RatioLayoutedFrame::RatioLayoutedFrame ( QWidget *  parent,
Qt::WFlags  flags = 0 
)

Definition at line 39 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 45 of file rqt_image_cropping/ratio_layouted_frame.cpp.

rqt_image_enhancer::RatioLayoutedFrame::RatioLayoutedFrame ( QWidget *  parent,
Qt::WFlags  flags = 0 
)

Member Function Documentation

int rqt_image_enhancer::RatioLayoutedFrame::greatestCommonDivisor ( int  a,
int  b 
) [static, private]

Definition at line 107 of file rqt_image_cropping/ratio_layouted_frame.cpp.

static int rqt_image_enhancer::RatioLayoutedFrame::greatestCommonDivisor ( int  a,
int  b 
) [static, private]

Definition at line 125 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 116 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 134 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 49 of file rqt_image_cropping/ratio_layouted_frame.cpp.

void rqt_image_enhancer::RatioLayoutedFrame::selectionFinished ( QPoint  p1,
QPoint  p2 
) [signal]
void rqt_image_enhancer::RatioLayoutedFrame::selectionFinished ( QPoint  p1,
QPoint  p2 
) [signal]
void rqt_image_enhancer::RatioLayoutedFrame::selectionInProgress ( QPoint  p1,
QPoint  p2 
) [signal]
void rqt_image_enhancer::RatioLayoutedFrame::selectionInProgress ( QPoint  p1,
QPoint  p2 
) [signal]
void rqt_image_enhancer::RatioLayoutedFrame::setAspectRatio ( unsigned short  width,
unsigned short  height 
)
void rqt_image_enhancer::RatioLayoutedFrame::setAspectRatio ( unsigned short  width,
unsigned short  height 
)

Definition at line 98 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 92 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 83 of file rqt_image_cropping/ratio_layouted_frame.cpp.

Definition at line 74 of file rqt_image_cropping/ratio_layouted_frame.cpp.


Member Data Documentation

Definition at line 84 of file rqt_image_cropping/ratio_layouted_frame.h.

Definition at line 86 of file rqt_image_cropping/ratio_layouted_frame.h.

Definition at line 88 of file rqt_image_cropping/ratio_layouted_frame.h.

Definition at line 88 of file rqt_image_cropping/ratio_layouted_frame.h.


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


hector_rqt_plugins
Author(s): Dirk Thomas, Thorsten Graber, Gregor Gebhardt
autogenerated on Thu Jun 6 2019 22:10:05