![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <deviceprofile_p.h>
Public Types | |
| enum | ApplyMode { ApplyFormParent , ApplyPreview } |
Public Member Functions | |
| DeviceProfile () | |
| DeviceProfile (const DeviceProfile &) | |
| DeviceProfile & | operator= (const DeviceProfile &) |
| ~DeviceProfile () | |
| void | clear () |
| QString | name () const |
| void | setName (const QString &) |
| bool | isEmpty () const |
| QString | fontFamily () const |
| void | setFontFamily (const QString &) |
| int | fontPointSize () const |
| void | setFontPointSize (int p) |
| int | dpiX () const |
| void | setDpiX (int d) |
| int | dpiY () const |
| void | setDpiY (int d) |
| QString | style () const |
| void | setStyle (const QString &) |
| void | fromSystem () |
| void | apply (const QDesignerFormEditorInterface *core, QWidget *widget, ApplyMode am) const |
| QString | toString () const |
| QString | toXml () const |
| bool | fromXml (const QString &xml, QString *errorMessage) |
Static Public Member Functions | |
| static void | systemResolution (int *dpiX, int *dpiY) |
| static void | widgetResolution (const QWidget *w, int *dpiX, int *dpiY) |
| static void | applyDPI (int dpiX, int dpiY, QWidget *widget) |
Friends | |
| QDESIGNER_SHARED_EXPORT bool | comparesEqual (const DeviceProfile &lhs, const DeviceProfile &rhs) |
Definition at line 40 of file deviceprofile_p.h.
| Enumerator | |
|---|---|
| ApplyFormParent | |
| ApplyPreview | |
Definition at line 82 of file deviceprofile_p.h.
| qdesigner_internal::DeviceProfile::DeviceProfile | ( | ) |
Definition at line 88 of file deviceprofile.cpp.
| qdesigner_internal::DeviceProfile::DeviceProfile | ( | const DeviceProfile & | o | ) |
Definition at line 93 of file deviceprofile.cpp.
|
default |
| void qdesigner_internal::DeviceProfile::apply | ( | const QDesignerFormEditorInterface * | core, |
| QWidget * | widget, | ||
| ApplyMode | am ) const |
Definition at line 249 of file deviceprofile.cpp.
Definition at line 239 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::clear | ( | ) |
Definition at line 107 of file deviceprofile.cpp.
| int qdesigner_internal::DeviceProfile::dpiX | ( | ) | const |
Definition at line 147 of file deviceprofile.cpp.
| int qdesigner_internal::DeviceProfile::dpiY | ( | ) | const |
Definition at line 157 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::fontFamily | ( | ) | const |
Definition at line 117 of file deviceprofile.cpp.
| int qdesigner_internal::DeviceProfile::fontPointSize | ( | ) | const |
Definition at line 127 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::fromSystem | ( | ) |
Definition at line 167 of file deviceprofile.cpp.
Definition at line 357 of file deviceprofile.cpp.
| bool qdesigner_internal::DeviceProfile::isEmpty | ( | ) | const |
Definition at line 112 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::name | ( | ) | const |
Definition at line 172 of file deviceprofile.cpp.
| DeviceProfile & qdesigner_internal::DeviceProfile::operator= | ( | const DeviceProfile & | o | ) |
Definition at line 99 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::setDpiX | ( | int | d | ) |
Definition at line 152 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::setDpiY | ( | int | d | ) |
Definition at line 162 of file deviceprofile.cpp.
Definition at line 122 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::setFontPointSize | ( | int | p | ) |
Definition at line 132 of file deviceprofile.cpp.
Definition at line 177 of file deviceprofile.cpp.
Definition at line 142 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::style | ( | ) | const |
Definition at line 137 of file deviceprofile.cpp.
|
static |
Definition at line 182 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::toString | ( | ) | const |
Definition at line 200 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::toXml | ( | ) | const |
Definition at line 283 of file deviceprofile.cpp.
|
static |
Definition at line 193 of file deviceprofile.cpp.
|
friend |
Definition at line 267 of file deviceprofile.cpp.
References qdesigner_internal::DeviceProfileData::m_dpiX, qdesigner_internal::DeviceProfileData::m_dpiY, and qdesigner_internal::DeviceProfileData::m_fontPointSize.