From d18f2df2d631606a30922148b019b5cef1764f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 23 Mar 2023 10:38:54 +0800 Subject: Each header has its own QML --- Label/Display6.ui.qml | 7 +++++++ Label/H1.ui.qml | 7 +++++++ Label/H2.ui.qml | 7 +++++++ Label/H3.ui.qml | 7 +++++++ Label/H4.ui.qml | 7 +++++++ Label/H5.ui.qml | 7 +++++++ Label/H6.ui.qml | 12 ++++++++++++ Label/Hx.ui.qml | 12 ------------ 8 files changed, 54 insertions(+), 12 deletions(-) create mode 100644 Label/Display6.ui.qml create mode 100644 Label/H1.ui.qml create mode 100644 Label/H2.ui.qml create mode 100644 Label/H3.ui.qml create mode 100644 Label/H4.ui.qml create mode 100644 Label/H5.ui.qml create mode 100644 Label/H6.ui.qml delete mode 100644 Label/Hx.ui.qml (limited to 'Label') diff --git a/Label/Display6.ui.qml b/Label/Display6.ui.qml new file mode 100644 index 0000000..b82734b --- /dev/null +++ b/Label/Display6.ui.qml @@ -0,0 +1,7 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import ".." + +H6 { + font.pointSize: 23.6 + .027 * parent.width +} diff --git a/Label/H1.ui.qml b/Label/H1.ui.qml new file mode 100644 index 0000000..675e6b1 --- /dev/null +++ b/Label/H1.ui.qml @@ -0,0 +1,7 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import ".." + +H6 { + font.pointSize: 22.5 + .01875 * parent.width +} diff --git a/Label/H2.ui.qml b/Label/H2.ui.qml new file mode 100644 index 0000000..a320de6 --- /dev/null +++ b/Label/H2.ui.qml @@ -0,0 +1,7 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import ".." + +H6 { + font.pointSize: 21.75 + .013125 * parent.width +} diff --git a/Label/H3.ui.qml b/Label/H3.ui.qml new file mode 100644 index 0000000..3f1f09d --- /dev/null +++ b/Label/H3.ui.qml @@ -0,0 +1,7 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import ".." + +H6 { + font.pointSize: 21 + .0075 * parent.width +} diff --git a/Label/H4.ui.qml b/Label/H4.ui.qml new file mode 100644 index 0000000..c3c363f --- /dev/null +++ b/Label/H4.ui.qml @@ -0,0 +1,7 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import ".." + +H6 { + font.pointSize: 20.625 + .0046875 * parent.width +} diff --git a/Label/H5.ui.qml b/Label/H5.ui.qml new file mode 100644 index 0000000..59bc98f --- /dev/null +++ b/Label/H5.ui.qml @@ -0,0 +1,7 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import ".." + +H6 { + font.pointSize: 20.1 + .00075 * parent.width +} diff --git a/Label/H6.ui.qml b/Label/H6.ui.qml new file mode 100644 index 0000000..ed008c5 --- /dev/null +++ b/Label/H6.ui.qml @@ -0,0 +1,12 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import Eduport 1.4 + +Label { + wrapMode: Label.Wrap + font { + family: Eduport.hxFont.family + weight: Eduport.hxFont.weight + pointSize: Eduport.h6FontSize + } +} diff --git a/Label/Hx.ui.qml b/Label/Hx.ui.qml deleted file mode 100644 index ed008c5..0000000 --- a/Label/Hx.ui.qml +++ /dev/null @@ -1,12 +0,0 @@ -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import Eduport 1.4 - -Label { - wrapMode: Label.Wrap - font { - family: Eduport.hxFont.family - weight: Eduport.hxFont.weight - pointSize: Eduport.h6FontSize - } -} -- cgit v1.2.3