#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.
◆ RatioLayoutedFrame()
rqt_image_view::RatioLayoutedFrame::RatioLayoutedFrame |
( |
QWidget * |
parent, |
|
|
Qt::WindowFlags |
flags = 0 |
|
) |
| |
◆ ~RatioLayoutedFrame()
rqt_image_view::RatioLayoutedFrame::~RatioLayoutedFrame |
( |
| ) |
|
|
virtual |
◆ delayed_update
void rqt_image_view::RatioLayoutedFrame::delayed_update |
( |
| ) |
|
|
signal |
◆ getAspectRatioCorrectPaintArea()
QRect rqt_image_view::RatioLayoutedFrame::getAspectRatioCorrectPaintArea |
( |
| ) |
|
◆ getImage()
const QImage & rqt_image_view::RatioLayoutedFrame::getImage |
( |
| ) |
const |
◆ getImageCopy()
QImage rqt_image_view::RatioLayoutedFrame::getImageCopy |
( |
| ) |
const |
◆ greatestCommonDivisor()
int rqt_image_view::RatioLayoutedFrame::greatestCommonDivisor |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
staticprivate |
◆ mouseLeft
void rqt_image_view::RatioLayoutedFrame::mouseLeft |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
signal |
◆ mousePressEvent()
void rqt_image_view::RatioLayoutedFrame::mousePressEvent |
( |
QMouseEvent * |
mouseEvent | ) |
|
|
private |
◆ onSmoothImageChanged
void rqt_image_view::RatioLayoutedFrame::onSmoothImageChanged |
( |
bool |
checked | ) |
|
|
protectedslot |
◆ paintEvent()
void rqt_image_view::RatioLayoutedFrame::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
◆ resizeToFitAspectRatio()
void rqt_image_view::RatioLayoutedFrame::resizeToFitAspectRatio |
( |
| ) |
|
◆ setAspectRatio()
void rqt_image_view::RatioLayoutedFrame::setAspectRatio |
( |
unsigned short |
width, |
|
|
unsigned short |
height |
|
) |
| |
|
protected |
◆ setImage()
void rqt_image_view::RatioLayoutedFrame::setImage |
( |
const QImage & |
image | ) |
|
◆ setInnerFrameFixedSize()
void rqt_image_view::RatioLayoutedFrame::setInnerFrameFixedSize |
( |
const QSize & |
size | ) |
|
◆ setInnerFrameMaximumSize()
void rqt_image_view::RatioLayoutedFrame::setInnerFrameMaximumSize |
( |
const QSize & |
size | ) |
|
◆ setInnerFrameMinimumSize()
void rqt_image_view::RatioLayoutedFrame::setInnerFrameMinimumSize |
( |
const QSize & |
size | ) |
|
◆ setOuterLayout()
void rqt_image_view::RatioLayoutedFrame::setOuterLayout |
( |
QHBoxLayout * |
outer_layout | ) |
|
◆ aspect_ratio_
QSize rqt_image_view::RatioLayoutedFrame::aspect_ratio_ |
|
private |
◆ outer_layout_
QHBoxLayout* rqt_image_view::RatioLayoutedFrame::outer_layout_ |
|
private |
◆ qimage_
QImage rqt_image_view::RatioLayoutedFrame::qimage_ |
|
private |
◆ qimage_mutex_
QMutex rqt_image_view::RatioLayoutedFrame::qimage_mutex_ |
|
mutableprivate |
◆ smoothImage_
bool rqt_image_view::RatioLayoutedFrame::smoothImage_ |
|
private |
The documentation for this class was generated from the following files: