KDDockWidgets API Documentation  1.0.1
Public Member Functions | Public Attributes | List of all members
KDDockWidgets::LayoutSaver::ScalingInfo Struct Reference

contains info about how a main window is scaled. Used for RestoreOption_RelativeToMainWindow More...

#include <LayoutSaver_p.h>

Collaboration diagram for KDDockWidgets::LayoutSaver::ScalingInfo:
Collaboration graph
[legend]

Public Member Functions

 ScalingInfo (const QString &mainWindowId, QRect savedMainWindowGeo)
 
void applyFactorsTo (QPoint &) const
 
void applyFactorsTo (QSize &) const
 
void applyFactorsTo (QRect &) const
 
bool isValid () const
 
void translatePos (QPoint &) const
 

Public Attributes

double heightFactor = -1
 
QString mainWindowName
 
QRect realMainWindowGeometry
 
QRect savedMainWindowGeometry
 
double widthFactor = -1
 

Detailed Description

contains info about how a main window is scaled. Used for RestoreOption_RelativeToMainWindow


Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/