Улучшен дизайн кнопок SpinBox: добавлены современные стили, улучшена визуальная обратная связь, добавлены SVG иконки, оптимизированы размеры и отступы, улучшена читаемость значени

This commit is contained in:
kromskii2 committed 2025-03-14 19:25:58 +07:00
1 parent 2b9165771b
commit 29dce906c5
6110 files changed
+775979

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -0,0 +1,9 @@
module QtQml.Models
linktarget Qt6::modelsplugin
optional plugin modelsplugin
classname QtQmlModelsPlugin
designersupported
typeinfo plugins.qmltypes
depends QML 1.0
prefer :/qt-project.org/imports/QtQml/Models/
@@ -0,0 +1,425 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "private/finalstate_p.h"
name: "FinalState"
accessSemantics: "reference"
defaultProperty: "children"
prototype: "QFinalState"
exports: [
"QtQml.StateMachine/FinalState 1.0",
"QtQml.StateMachine/FinalState 6.0"
]
exportMetaObjectRevisions: [256, 1536]
Property {
name: "children"
type: "QObject"
isList: true
bindable: "bindableChildren"
read: "children"
notify: "childrenChanged"
index: 0
isReadonly: true
}
Signal { name: "childrenChanged" }
}
Component {
file: "private/statemachineforeign_p.h"
name: "QAbstractState"
accessSemantics: "reference"
prototype: "QObject"
exports: [
"QtQml.StateMachine/QAbstractState 1.0",
"QtQml.StateMachine/QAbstractState 6.0"
]
isCreatable: false
exportMetaObjectRevisions: [256, 1536]
Property {
name: "active"
type: "bool"
bindable: "bindableActive"
read: "active"
notify: "activeChanged"
index: 0
isReadonly: true
}
Signal { name: "entered" }
Signal { name: "exited" }
Signal {
name: "activeChanged"
Parameter { name: "active"; type: "bool" }
}
}
Component {
file: "qabstracttransition.h"
name: "QAbstractTransition"
accessSemantics: "reference"
prototype: "QObject"
Enum {
name: "TransitionType"
values: ["ExternalTransition", "InternalTransition"]
}
Property {
name: "sourceState"
type: "QState"
isPointer: true
read: "sourceState"
index: 0
isReadonly: true
}
Property {
name: "targetState"
type: "QAbstractState"
isPointer: true
read: "targetState"
write: "setTargetState"
notify: "targetStateChanged"
index: 1
}
Property {
name: "targetStates"
type: "QList<QAbstractState*>"
read: "targetStates"
write: "setTargetStates"
notify: "targetStatesChanged"
index: 2
}
Property {
name: "transitionType"
revision: 257
type: "TransitionType"
bindable: "bindableTransitionType"
read: "transitionType"
write: "setTransitionType"
index: 3
}
Signal { name: "triggered" }
Signal { name: "targetStateChanged" }
Signal { name: "targetStatesChanged" }
}
Component {
file: "qfinalstate.h"
name: "QFinalState"
accessSemantics: "reference"
prototype: "QAbstractState"
}
Component {
file: "private/statemachineforeign_p.h"
name: "QHistoryState"
accessSemantics: "reference"
prototype: "QAbstractState"
exports: [
"QtQml.StateMachine/HistoryState 1.0",
"QtQml.StateMachine/HistoryState 6.0"
]
exportMetaObjectRevisions: [256, 1536]
Enum {
name: "HistoryType"
values: ["ShallowHistory", "DeepHistory"]
}
Property {
name: "defaultState"
type: "QAbstractState"
isPointer: true
read: "defaultState"
write: "setDefaultState"
notify: "defaultStateChanged"
index: 0
}
Property {
name: "defaultTransition"
type: "QAbstractTransition"
isPointer: true
bindable: "bindableDefaultTransition"
read: "defaultTransition"
write: "setDefaultTransition"
notify: "defaultTransitionChanged"
index: 1
}
Property {
name: "historyType"
type: "HistoryType"
bindable: "bindableHistoryType"
read: "historyType"
write: "setHistoryType"
notify: "historyTypeChanged"
index: 2
}
Signal { name: "defaultTransitionChanged" }
Signal { name: "defaultStateChanged" }
Signal { name: "historyTypeChanged" }
}
Component {
file: "private/statemachineforeign_p.h"
name: "QSignalTransition"
accessSemantics: "reference"
prototype: "QAbstractTransition"
exports: [
"QtQml.StateMachine/QSignalTransition 1.0",
"QtQml.StateMachine/QSignalTransition 1.1",
"QtQml.StateMachine/QSignalTransition 6.0"
]
isCreatable: false
exportMetaObjectRevisions: [256, 257, 1536]
Property {
name: "senderObject"
type: "QObject"
isPointer: true
isConstant: true
bindable: "bindableSenderObject"
read: "senderObject"
write: "setSenderObject"
notify: "senderObjectChanged"
index: 0
}
Property {
name: "signal"
type: "QByteArray"
bindable: "bindableSignal"
read: "signal"
write: "setSignal"
notify: "signalChanged"
index: 1
}
Signal { name: "senderObjectChanged" }
Signal { name: "signalChanged" }
}
Component {
file: "private/statemachineforeign_p.h"
name: "QState"
accessSemantics: "reference"
prototype: "QAbstractState"
exports: [
"QtQml.StateMachine/QState 1.0",
"QtQml.StateMachine/QState 6.0"
]
isCreatable: false
exportMetaObjectRevisions: [256, 1536]
Enum {
name: "ChildMode"
values: ["ExclusiveStates", "ParallelStates"]
}
Enum {
name: "RestorePolicy"
values: ["DontRestoreProperties", "RestoreProperties"]
}
Property {
name: "initialState"
type: "QAbstractState"
isPointer: true
bindable: "bindableInitialState"
read: "initialState"
write: "setInitialState"
notify: "initialStateChanged"
index: 0
}
Property {
name: "errorState"
type: "QAbstractState"
isPointer: true
bindable: "bindableErrorState"
read: "errorState"
write: "setErrorState"
notify: "errorStateChanged"
index: 1
}
Property {
name: "childMode"
type: "ChildMode"
bindable: "bindableChildMode"
read: "childMode"
write: "setChildMode"
notify: "childModeChanged"
index: 2
}
Signal { name: "finished" }
Signal { name: "propertiesAssigned" }
Signal { name: "childModeChanged" }
Signal { name: "initialStateChanged" }
Signal { name: "errorStateChanged" }
}
Component {
file: "qstatemachine.h"
name: "QStateMachine"
accessSemantics: "reference"
prototype: "QState"
Property {
name: "errorString"
type: "QString"
bindable: "bindableErrorString"
read: "errorString"
index: 0
isReadonly: true
}
Property {
name: "globalRestorePolicy"
type: "QState::RestorePolicy"
bindable: "bindableGlobalRestorePolicy"
read: "globalRestorePolicy"
write: "setGlobalRestorePolicy"
index: 1
}
Property {
name: "running"
type: "bool"
read: "isRunning"
write: "setRunning"
notify: "runningChanged"
index: 2
}
Property {
name: "animated"
type: "bool"
bindable: "bindableAnimated"
read: "isAnimated"
write: "setAnimated"
index: 3
}
Signal { name: "started" }
Signal { name: "stopped" }
Signal {
name: "runningChanged"
Parameter { name: "running"; type: "bool" }
}
Method { name: "start" }
Method { name: "stop" }
Method {
name: "setRunning"
Parameter { name: "running"; type: "bool" }
}
Method { name: "_q_start" }
Method { name: "_q_process" }
Method { name: "_q_animationFinished" }
Method {
name: "_q_startDelayedEventTimer"
Parameter { type: "int" }
Parameter { type: "int" }
}
Method {
name: "_q_killDelayedEventTimer"
Parameter { type: "int" }
Parameter { type: "int" }
}
}
Component {
file: "private/signaltransition_p.h"
name: "SignalTransition"
accessSemantics: "reference"
prototype: "QSignalTransition"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml.StateMachine/SignalTransition 1.0",
"QtQml.StateMachine/SignalTransition 1.1",
"QtQml.StateMachine/SignalTransition 6.0"
]
hasCustomParser: true
exportMetaObjectRevisions: [256, 257, 1536]
Property {
name: "signal"
type: "QJSValue"
bindable: "bindableSignal"
read: "signal"
write: "setSignal"
notify: "qmlSignalChanged"
index: 0
}
Property {
name: "guard"
type: "QQmlScriptString"
bindable: "bindableGuard"
read: "guard"
write: "setGuard"
notify: "guardChanged"
index: 1
}
Signal { name: "guardChanged" }
Signal { name: "invokeYourself" }
Signal { name: "qmlSignalChanged" }
Method { name: "invoke" }
}
Component {
file: "private/state_p.h"
name: "State"
accessSemantics: "reference"
defaultProperty: "children"
prototype: "QState"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml.StateMachine/State 1.0",
"QtQml.StateMachine/State 6.0"
]
exportMetaObjectRevisions: [256, 1536]
Property {
name: "children"
type: "QObject"
isList: true
bindable: "bindableChildren"
read: "children"
notify: "childrenChanged"
index: 0
isReadonly: true
}
Signal { name: "childrenChanged" }
}
Component {
file: "private/statemachine_p.h"
name: "StateMachine"
accessSemantics: "reference"
defaultProperty: "children"
prototype: "QStateMachine"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml.StateMachine/StateMachine 1.0",
"QtQml.StateMachine/StateMachine 6.0"
]
exportMetaObjectRevisions: [256, 1536]
Property {
name: "children"
type: "QObject"
isList: true
bindable: "bindableChildren"
read: "children"
notify: "childrenChanged"
index: 0
isReadonly: true
}
Property {
name: "running"
type: "bool"
read: "isRunning"
write: "setRunning"
notify: "qmlRunningChanged"
index: 1
}
Signal { name: "childrenChanged" }
Signal { name: "qmlRunningChanged" }
Method { name: "checkChildMode" }
}
Component {
file: "private/timeouttransition_p.h"
name: "TimeoutTransition"
accessSemantics: "reference"
prototype: "QSignalTransition"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml.StateMachine/TimeoutTransition 1.0",
"QtQml.StateMachine/TimeoutTransition 1.1",
"QtQml.StateMachine/TimeoutTransition 6.0"
]
exportMetaObjectRevisions: [256, 257, 1536]
Property {
name: "timeout"
type: "int"
bindable: "bindableTimeout"
read: "timeout"
write: "setTimeout"
index: 0
}
}
}
@@ -0,0 +1,8 @@
module QtQml.StateMachine
linktarget Qt6::qtqmlstatemachine
optional plugin qtqmlstatemachineplugin
classname QtQmlStateMachinePlugin
typeinfo plugins.qmltypes
depends QtQml
prefer :/qt-project.org/imports/QtQml/StateMachine/
@@ -0,0 +1,46 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "private/qquickworkerscript_p.h"
name: "QQuickWorkerScript"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml.WorkerScript/WorkerScript 2.0",
"QtQml.WorkerScript/WorkerScript 2.15",
"QtQml.WorkerScript/WorkerScript 6.0"
]
exportMetaObjectRevisions: [512, 527, 1536]
Property {
name: "source"
type: "QUrl"
read: "source"
write: "setSource"
notify: "sourceChanged"
index: 0
}
Property {
name: "ready"
revision: 527
type: "bool"
read: "ready"
notify: "readyChanged"
index: 1
isReadonly: true
}
Signal { name: "sourceChanged" }
Signal { name: "readyChanged"; revision: 527 }
Signal {
name: "message"
Parameter { name: "messageObject"; type: "QJSValue" }
}
Method { name: "sendMessage"; isJavaScriptFunction: true }
}
}
@@ -0,0 +1,9 @@
module QtQml.WorkerScript
linktarget Qt6::workerscriptplugin
optional plugin workerscriptplugin
classname QtQmlWorkerScriptPlugin
designersupported
typeinfo plugins.qmltypes
depends QML 1.0
prefer :/qt-project.org/imports/QtQml/WorkerScript/
@@ -0,0 +1,143 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "private/qqmlxmllistmodel_p.h"
name: "QQmlXmlListModel"
accessSemantics: "reference"
defaultProperty: "roles"
prototype: "QAbstractListModel"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml.XmlListModel/XmlListModel 6.0",
"QtQml.XmlListModel/XmlListModel 6.4"
]
exportMetaObjectRevisions: [1536, 1540]
Enum {
name: "Status"
values: ["Null", "Ready", "Loading", "Error"]
}
Property {
name: "status"
type: "Status"
read: "status"
notify: "statusChanged"
index: 0
isReadonly: true
}
Property {
name: "progress"
type: "double"
read: "progress"
notify: "progressChanged"
index: 1
isReadonly: true
}
Property {
name: "source"
type: "QUrl"
read: "source"
write: "setSource"
notify: "sourceChanged"
index: 2
}
Property {
name: "query"
type: "QString"
read: "query"
write: "setQuery"
notify: "queryChanged"
index: 3
}
Property {
name: "roles"
type: "QQmlXmlListModelRole"
isList: true
read: "roleObjects"
index: 4
isReadonly: true
}
Property {
name: "count"
type: "int"
read: "count"
notify: "countChanged"
index: 5
isReadonly: true
}
Signal {
name: "statusChanged"
Parameter { type: "QQmlXmlListModel::Status" }
}
Signal {
name: "progressChanged"
Parameter { name: "progress"; type: "double" }
}
Signal { name: "countChanged" }
Signal { name: "sourceChanged" }
Signal { name: "queryChanged" }
Method { name: "reload" }
Method { name: "requestFinished" }
Method {
name: "requestProgress"
Parameter { type: "qlonglong" }
Parameter { type: "qlonglong" }
}
Method { name: "dataCleared" }
Method {
name: "queryCompleted"
Parameter { type: "QQmlXmlListModelQueryResult" }
}
Method {
name: "queryError"
Parameter { name: "object"; type: "void"; isPointer: true }
Parameter { name: "error"; type: "QString" }
}
Method { name: "errorString"; type: "QString" }
}
Component {
file: "private/qqmlxmllistmodel_p.h"
name: "QQmlXmlListModelQueryResult"
accessSemantics: "value"
}
Component {
file: "private/qqmlxmllistmodel_p.h"
name: "QQmlXmlListModelRole"
accessSemantics: "reference"
prototype: "QObject"
exports: ["QtQml.XmlListModel/XmlListModelRole 6.0"]
exportMetaObjectRevisions: [1536]
Property {
name: "name"
type: "QString"
read: "name"
write: "setName"
notify: "nameChanged"
index: 0
}
Property {
name: "elementName"
type: "QString"
read: "elementName"
write: "setElementName"
notify: "elementNameChanged"
index: 1
}
Property {
name: "attributeName"
type: "QString"
read: "attributeName"
write: "setAttributeName"
notify: "attributeNameChanged"
index: 2
}
Signal { name: "nameChanged" }
Signal { name: "elementNameChanged" }
Signal { name: "attributeNameChanged" }
}
}
@@ -0,0 +1,8 @@
module QtQml.XmlListModel
linktarget Qt6::qmlxmllistmodelplugin
optional plugin qmlxmllistmodelplugin
classname QtQmlXmlListModelPlugin
typeinfo plugins.qmltypes
depends QtQml auto
prefer :/qt-project.org/imports/QtQml/XmlListModel/
@@ -0,0 +1,207 @@
import QtQuick.tooling 1.2
// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.
Module {
Component {
file: "private/qqmlbind_p.h"
name: "QQmlBind"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus", "QQmlPropertyValueSource"]
immediateNames: [
"objectName",
"target",
"property",
"value",
"when",
"delayed",
"restoreMode"
]
exports: [
"QtQml/Binding 2.0",
"QtQml/Binding 2.8",
"QtQml/Binding 2.14",
"QtQml/Binding 6.0"
]
exportMetaObjectRevisions: [512, 520, 526, 1536]
Enum {
name: "RestorationMode"
values: [
"RestoreNone",
"RestoreBinding",
"RestoreValue",
"RestoreBindingOrValue"
]
}
Property {
name: "target"
type: "QObject"
isPointer: true
read: "object"
write: "setObject"
index: 0
}
Property { name: "property"; type: "QString"; read: "property"; write: "setProperty"; index: 1 }
Property { name: "value"; type: "QVariant"; read: "value"; write: "setValue"; index: 2 }
Property { name: "when"; type: "bool"; read: "when"; write: "setWhen"; index: 3 }
Property {
name: "delayed"
revision: 520
type: "bool"
read: "delayed"
write: "setDelayed"
index: 4
}
Property {
name: "restoreMode"
revision: 526
type: "RestorationMode"
read: "restoreMode"
write: "setRestoreMode"
notify: "restoreModeChanged"
index: 5
}
Signal { name: "restoreModeChanged" }
Method { name: "targetValueChanged" }
}
Component {
file: "private/qqmlconnections_p.h"
name: "QQmlConnections"
accessSemantics: "reference"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml/Connections 2.0",
"QtQml/Connections 2.3",
"QtQml/Connections 6.0"
]
hasCustomParser: true
exportMetaObjectRevisions: [512, 515, 1536]
Property {
name: "target"
type: "QObject"
isPointer: true
read: "target"
write: "setTarget"
notify: "targetChanged"
index: 0
}
Property {
name: "enabled"
revision: 515
type: "bool"
read: "isEnabled"
write: "setEnabled"
notify: "enabledChanged"
index: 1
}
Property {
name: "ignoreUnknownSignals"
type: "bool"
read: "ignoreUnknownSignals"
write: "setIgnoreUnknownSignals"
index: 2
}
Signal { name: "targetChanged" }
Signal { name: "enabledChanged"; revision: 515 }
}
Component {
file: "private/qqmllocaleenums_p.h"
name: "QQmlLocaleEnums"
accessSemantics: "none"
prototype: "QQmlLocale"
exports: ["QtQml/Locale 2.2", "QtQml/Locale 6.0"]
isCreatable: false
exportMetaObjectRevisions: [514, 1536]
}
Component {
file: "private/qqmlloggingcategory_p.h"
name: "QQmlLoggingCategory"
accessSemantics: "reference"
prototype: "QQmlLoggingCategoryBase"
interfaces: ["QQmlParserStatus"]
exports: [
"QtQml/LoggingCategory 2.8",
"QtQml/LoggingCategory 2.12",
"QtQml/LoggingCategory 6.0"
]
exportMetaObjectRevisions: [520, 524, 1536]
Enum {
name: "DefaultLogLevel"
values: ["Debug", "Info", "Warning", "Critical", "Fatal"]
}
Property { name: "name"; type: "QString"; read: "name"; write: "setName"; index: 0 }
Property {
name: "defaultLogLevel"
revision: 524
type: "DefaultLogLevel"
read: "defaultLogLevel"
write: "setDefaultLogLevel"
index: 1
}
}
Component {
file: "private/qqmltimer_p.h"
name: "QQmlTimer"
accessSemantics: "reference"
parentProperty: "parent"
prototype: "QObject"
interfaces: ["QQmlParserStatus"]
exports: ["QtQml/Timer 2.0", "QtQml/Timer 6.0"]
exportMetaObjectRevisions: [512, 1536]
Property {
name: "interval"
type: "int"
read: "interval"
write: "setInterval"
notify: "intervalChanged"
index: 0
}
Property {
name: "running"
type: "bool"
read: "isRunning"
write: "setRunning"
notify: "runningChanged"
index: 1
}
Property {
name: "repeat"
type: "bool"
read: "isRepeating"
write: "setRepeating"
notify: "repeatChanged"
index: 2
}
Property {
name: "triggeredOnStart"
type: "bool"
read: "triggeredOnStart"
write: "setTriggeredOnStart"
notify: "triggeredOnStartChanged"
index: 3
}
Property {
name: "parent"
type: "QObject"
isPointer: true
read: "parent"
index: 4
isReadonly: true
isConstant: true
}
Signal { name: "triggered" }
Signal { name: "runningChanged" }
Signal { name: "intervalChanged" }
Signal { name: "repeatChanged" }
Signal { name: "triggeredOnStartChanged" }
Method { name: "start" }
Method { name: "stop" }
Method { name: "restart" }
Method { name: "ticked" }
}
}
@@ -0,0 +1,12 @@
module QtQml
linktarget Qt6::qmlplugin
optional plugin qmlplugin
classname QtQmlPlugin
designersupported
system
typeinfo plugins.qmltypes
import QML 1.0
import QtQml.Models auto
import QtQml.WorkerScript auto
prefer :/qt-project.org/imports/QtQml/