mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
Add login page
This commit is contained in:
parent
fb60cf13de
commit
56d7c1486e
13 changed files with 246 additions and 121 deletions
|
@ -1,5 +1,6 @@
|
|||
import QtQuick 2.12
|
||||
import QtQuick.Templates 2.12 as T
|
||||
import ".."
|
||||
|
||||
T.Page {
|
||||
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
pragma Singleton
|
||||
import QtQuick 2.12
|
||||
|
||||
QtObject {
|
||||
readonly property real scaleFactor: 1.0
|
||||
readonly property real unit: 8.0 * scaleFactor
|
||||
readonly property real smallPadding: unit
|
||||
readonly property real mediumPadding: 2 * unit
|
||||
readonly property real largePadding: 3 * unit
|
||||
readonly property real hugePadding: 4 * unit
|
||||
readonly property real enormousPadding: 5 * unit
|
||||
|
||||
// Fonts
|
||||
readonly property real fontMultiplier: 1.0
|
||||
readonly property real fontSizeMedium: 3 * unit * fontMultiplier
|
||||
readonly property real fontSizeLarge: 4 * unit * fontMultiplier
|
||||
|
||||
// Specific controls
|
||||
readonly property real toolbarHeight: 8 * unit
|
||||
}
|
|
@ -2,7 +2,7 @@ import QtQuick 2.12
|
|||
import QtGraphicalEffects 1.12
|
||||
import QtQuick.Templates 2.12 as T
|
||||
|
||||
import "."
|
||||
import ".."
|
||||
|
||||
T.ToolBar {
|
||||
horizontalPadding: SailfinStyle.mediumPadding
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
module SailfinStyle
|
||||
depends QtQuick.Controls 2.12
|
||||
|
||||
singleton SailfinStyle 1.0 SailfinStyle.qml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue