![]() |
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 39 of file deviceprofile_p.h.
| Enumerator | |
|---|---|
| ApplyFormParent | |
| ApplyPreview | |
Definition at line 81 of file deviceprofile_p.h.
| qdesigner_internal::DeviceProfile::DeviceProfile | ( | ) |
Definition at line 87 of file deviceprofile.cpp.
| qdesigner_internal::DeviceProfile::DeviceProfile | ( | const DeviceProfile & | o | ) |
Definition at line 92 of file deviceprofile.cpp.
|
default |
| void qdesigner_internal::DeviceProfile::apply | ( | const QDesignerFormEditorInterface * | core, |
| QWidget * | widget, | ||
| ApplyMode | am ) const |
Definition at line 248 of file deviceprofile.cpp.
Definition at line 238 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::clear | ( | ) |
Definition at line 106 of file deviceprofile.cpp.
| int qdesigner_internal::DeviceProfile::dpiX | ( | ) | const |
Definition at line 146 of file deviceprofile.cpp.
| int qdesigner_internal::DeviceProfile::dpiY | ( | ) | const |
Definition at line 156 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::fontFamily | ( | ) | const |
Definition at line 116 of file deviceprofile.cpp.
| int qdesigner_internal::DeviceProfile::fontPointSize | ( | ) | const |
Definition at line 126 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::fromSystem | ( | ) |
Definition at line 166 of file deviceprofile.cpp.
Definition at line 356 of file deviceprofile.cpp.
| bool qdesigner_internal::DeviceProfile::isEmpty | ( | ) | const |
Definition at line 111 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::name | ( | ) | const |
Definition at line 171 of file deviceprofile.cpp.
| DeviceProfile & qdesigner_internal::DeviceProfile::operator= | ( | const DeviceProfile & | o | ) |
Definition at line 98 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::setDpiX | ( | int | d | ) |
Definition at line 151 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::setDpiY | ( | int | d | ) |
Definition at line 161 of file deviceprofile.cpp.
Definition at line 121 of file deviceprofile.cpp.
| void qdesigner_internal::DeviceProfile::setFontPointSize | ( | int | p | ) |
Definition at line 131 of file deviceprofile.cpp.
Definition at line 176 of file deviceprofile.cpp.
Definition at line 141 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::style | ( | ) | const |
Definition at line 136 of file deviceprofile.cpp.
|
static |
Definition at line 181 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::toString | ( | ) | const |
Definition at line 199 of file deviceprofile.cpp.
| QString qdesigner_internal::DeviceProfile::toXml | ( | ) | const |
Definition at line 282 of file deviceprofile.cpp.
|
static |
Definition at line 192 of file deviceprofile.cpp.
|
friend |
Definition at line 266 of file deviceprofile.cpp.
References qdesigner_internal::DeviceProfileData::m_dpiX, qdesigner_internal::DeviceProfileData::m_dpiY, and qdesigner_internal::DeviceProfileData::m_fontPointSize.