◆ SetZoomFlag
Enumerator |
---|
JustSetFactor | |
CenterView | |
SnapZoomFactor | |
◆ SinglePhotoPreviewLayout()
Digikam::SinglePhotoPreviewLayout::SinglePhotoPreviewLayout |
( |
QObject *const |
parent | ) |
|
|
explicit |
◆ ~SinglePhotoPreviewLayout()
Digikam::SinglePhotoPreviewLayout::~SinglePhotoPreviewLayout |
( |
| ) |
|
|
override |
◆ addItem()
Set the item to layout. For a SinglePhoto layout, typically, you can add only one item.
References updateZoomAndSize().
◆ atMaxZoom()
bool Digikam::SinglePhotoPreviewLayout::atMaxZoom |
( |
| ) |
const |
◆ atMinZoom()
bool Digikam::SinglePhotoPreviewLayout::atMinZoom |
( |
| ) |
const |
◆ decreaseZoom
void Digikam::SinglePhotoPreviewLayout::decreaseZoom |
( |
const QPoint & |
viewportAnchor = QPoint() | ) |
|
|
slot |
◆ fitToWindow
void Digikam::SinglePhotoPreviewLayout::fitToWindow |
( |
| ) |
|
|
slot |
References fitToWindowToggled(), Digikam::ImageZoomSettings::OnlyScaleDown, updateLayout(), and zoomFactorChanged().
Referenced by Digikam::Canvas::Canvas(), Digikam::GraphicsDImgView::fitToWindow(), Digikam::ImageRegionWidget::ImageRegionWidget(), Digikam::ImportPreviewView::ImportPreviewView(), Digikam::ItemPreviewView::ItemPreviewView(), DigikamRawImportNativePlugin::RawPreview::RawPreview(), toggleFitToWindow(), toggleFitToWindowOr100(), and updateZoomAndSize().
◆ fitToWindowToggled
void Digikam::SinglePhotoPreviewLayout::fitToWindowToggled |
( |
bool |
fitToWindow | ) |
|
|
signal |
◆ increaseZoom
void Digikam::SinglePhotoPreviewLayout::increaseZoom |
( |
const QPoint & |
viewportAnchor = QPoint() | ) |
|
|
slot |
◆ isFitToWindow()
bool Digikam::SinglePhotoPreviewLayout::isFitToWindow |
( |
| ) |
const |
◆ maxZoomFactor()
double Digikam::SinglePhotoPreviewLayout::maxZoomFactor |
( |
| ) |
const |
◆ minZoomFactor()
double Digikam::SinglePhotoPreviewLayout::minZoomFactor |
( |
| ) |
const |
◆ realZoomFactor()
double Digikam::SinglePhotoPreviewLayout::realZoomFactor |
( |
| ) |
const |
◆ setGraphicsView()
void Digikam::SinglePhotoPreviewLayout::setGraphicsView |
( |
GraphicsDImgView *const |
view | ) |
|
Set the graphics view, and associated scene, to operate on.
◆ setMaxZoomFactor()
void Digikam::SinglePhotoPreviewLayout::setMaxZoomFactor |
( |
double |
z | ) |
|
◆ setMinZoomFactor()
void Digikam::SinglePhotoPreviewLayout::setMinZoomFactor |
( |
double |
z | ) |
|
◆ setZoomFactor [1/2]
void Digikam::SinglePhotoPreviewLayout::setZoomFactor |
( |
double |
z, |
|
|
const QPoint & |
viewportAnchor = QPoint() , |
|
|
SetZoomFlags |
flags = JustSetFactor |
|
) |
| |
|
slot |
References CenterView, fitToWindowToggled(), maxZoomFactor(), minZoomFactor(), setMaxZoomFactor(), setMinZoomFactor(), SnapZoomFactor, updateLayout(), and zoomFactorChanged().
Referenced by decreaseZoom(), Digikam::Canvas::fitToSelect(), increaseZoom(), Digikam::EditorToolIface::loadTool(), setZoomFactor(), Digikam::EditorStackView::setZoomFactor(), setZoomFactorSnapped(), toggleFitToWindow(), and toggleFitToWindowOr100().
◆ setZoomFactor [2/2]
void Digikam::SinglePhotoPreviewLayout::setZoomFactor |
( |
double |
z, |
|
|
SetZoomFlags |
flags |
|
) |
| |
|
slot |
◆ setZoomFactorSnapped
void Digikam::SinglePhotoPreviewLayout::setZoomFactorSnapped |
( |
double |
z | ) |
|
|
slot |
◆ toggleFitToWindow
void Digikam::SinglePhotoPreviewLayout::toggleFitToWindow |
( |
| ) |
|
|
slot |
◆ toggleFitToWindowOr100
void Digikam::SinglePhotoPreviewLayout::toggleFitToWindowOr100 |
( |
| ) |
|
|
slot |
◆ updateLayout()
void Digikam::SinglePhotoPreviewLayout::updateLayout |
( |
| ) |
|
|
protected |
◆ updateZoomAndSize
void Digikam::SinglePhotoPreviewLayout::updateZoomAndSize |
( |
| ) |
|
|
slot |
◆ zoomFactor()
double Digikam::SinglePhotoPreviewLayout::zoomFactor |
( |
| ) |
const |
◆ zoomFactorChanged
void Digikam::SinglePhotoPreviewLayout::zoomFactorChanged |
( |
double |
| ) |
|
|
signal |
The documentation for this class was generated from the following files: