#include <ratio_layouted_frame.h>
RatioLayoutedFrame is a layout containing a single frame with a fixed aspect ratio. The default aspect ratio is 4:3.
Definition at line 51 of file ratio_layouted_frame.h.
rqt_image_view::RatioLayoutedFrame::RatioLayoutedFrame |
( |
QWidget * |
parent, |
|
|
Qt::WindowFlags |
flags = 0 |
|
) |
| |
rqt_image_view::RatioLayoutedFrame::~RatioLayoutedFrame |
( |
| ) |
|
|
virtual |
void rqt_image_view::RatioLayoutedFrame::delayed_update |
( |
| ) |
|
|
signal |
QRect rqt_image_view::RatioLayoutedFrame::getAspectRatioCorrectPaintArea |
( |
| ) |
|
const QImage & rqt_image_view::RatioLayoutedFrame::getImage |
( |
| ) |
const |
QImage rqt_image_view::RatioLayoutedFrame::getImageCopy |
( |
| ) |
const |
int rqt_image_view::RatioLayoutedFrame::greatestCommonDivisor |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
staticprivate |
void rqt_image_view::RatioLayoutedFrame::mouseLeft |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
signal |
void rqt_image_view::RatioLayoutedFrame::mousePressEvent |
( |
QMouseEvent * |
mouseEvent | ) |
|
|
private |
void rqt_image_view::RatioLayoutedFrame::onSmoothImageChanged |
( |
bool |
checked | ) |
|
|
protectedslot |
void rqt_image_view::RatioLayoutedFrame::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
void rqt_image_view::RatioLayoutedFrame::resizeToFitAspectRatio |
( |
| ) |
|
void rqt_image_view::RatioLayoutedFrame::setAspectRatio |
( |
unsigned short |
width, |
|
|
unsigned short |
height |
|
) |
| |
|
protected |
void rqt_image_view::RatioLayoutedFrame::setImage |
( |
const QImage & |
image | ) |
|
void rqt_image_view::RatioLayoutedFrame::setInnerFrameFixedSize |
( |
const QSize & |
size | ) |
|
void rqt_image_view::RatioLayoutedFrame::setInnerFrameMaximumSize |
( |
const QSize & |
size | ) |
|
void rqt_image_view::RatioLayoutedFrame::setInnerFrameMinimumSize |
( |
const QSize & |
size | ) |
|
void rqt_image_view::RatioLayoutedFrame::setOuterLayout |
( |
QHBoxLayout * |
outer_layout | ) |
|
QSize rqt_image_view::RatioLayoutedFrame::aspect_ratio_ |
|
private |
QHBoxLayout* rqt_image_view::RatioLayoutedFrame::outer_layout_ |
|
private |
QImage rqt_image_view::RatioLayoutedFrame::qimage_ |
|
private |
QMutex rqt_image_view::RatioLayoutedFrame::qimage_mutex_ |
|
mutableprivate |
bool rqt_image_view::RatioLayoutedFrame::smoothImage_ |
|
private |
The documentation for this class was generated from the following files: