#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 49 of file rqt_flipper_control/ratio_layouted_frame.h.
rqt_flipper_control::RatioLayoutedFrame::RatioLayoutedFrame |
( |
QWidget * |
parent, |
|
|
Qt::WFlags |
flags = 0 |
|
) |
| |
rqt_flipper_control::RatioLayoutedFrame::~RatioLayoutedFrame |
( |
| ) |
|
|
virtual |
QRect rqt_flipper_control::RatioLayoutedFrame::getAspectRatioCorrectPaintArea |
( |
| ) |
|
int rqt_flipper_control::RatioLayoutedFrame::greatestCommonDivisor |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
staticprivate |
void rqt_flipper_control::RatioLayoutedFrame::resizeToFitAspectRatio |
( |
| ) |
|
void rqt_flipper_control::RatioLayoutedFrame::setAspectRatio |
( |
unsigned short |
width, |
|
|
unsigned short |
height |
|
) |
| |
void rqt_flipper_control::RatioLayoutedFrame::setInnerFrameFixedSize |
( |
const QSize & |
size | ) |
|
void rqt_flipper_control::RatioLayoutedFrame::setInnerFrameMaximumSize |
( |
const QSize & |
size | ) |
|
void rqt_flipper_control::RatioLayoutedFrame::setInnerFrameMinimumSize |
( |
const QSize & |
size | ) |
|
QSize rqt_flipper_control::RatioLayoutedFrame::aspect_ratio_ |
|
private |
The documentation for this class was generated from the following files: