@ -0,0 +1,74 @@ |
|||
# This file is used to ignore files which are generated |
|||
# ---------------------------------------------------------------------------- |
|||
|
|||
*~ |
|||
*.autosave |
|||
*.a |
|||
*.core |
|||
*.moc |
|||
*.o |
|||
*.obj |
|||
*.orig |
|||
*.rej |
|||
*.so |
|||
*.so.* |
|||
*_pch.h.cpp |
|||
*_resource.rc |
|||
*.qm |
|||
.#* |
|||
*.*# |
|||
core |
|||
!core/ |
|||
tags |
|||
.DS_Store |
|||
.directory |
|||
*.debug |
|||
Makefile* |
|||
*.prl |
|||
*.app |
|||
moc_*.cpp |
|||
ui_*.h |
|||
qrc_*.cpp |
|||
Thumbs.db |
|||
*.res |
|||
*.rc |
|||
/.qmake.cache |
|||
/.qmake.stash |
|||
|
|||
# qtcreator generated files |
|||
*.pro.user* |
|||
CMakeLists.txt.user* |
|||
|
|||
# xemacs temporary files |
|||
*.flc |
|||
|
|||
# Vim temporary files |
|||
.*.swp |
|||
|
|||
# Visual Studio generated files |
|||
*.ib_pdb_index |
|||
*.idb |
|||
*.ilk |
|||
*.pdb |
|||
*.sln |
|||
*.suo |
|||
*.vcproj |
|||
*vcproj.*.*.user |
|||
*.ncb |
|||
*.sdf |
|||
*.opensdf |
|||
*.vcxproj |
|||
*vcxproj.* |
|||
|
|||
# MinGW generated files |
|||
*.Debug |
|||
*.Release |
|||
|
|||
# Python byte code |
|||
*.pyc |
|||
|
|||
# Binaries |
|||
# -------- |
|||
*.dll |
|||
*.exe |
|||
|
@ -0,0 +1,21 @@ |
|||
QT += quick |
|||
|
|||
# You can make your code fail to compile if it uses deprecated APIs. |
|||
# In order to do so, uncomment the following line. |
|||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 |
|||
|
|||
SOURCES += \ |
|||
main.cpp |
|||
|
|||
RESOURCES += qml.qrc |
|||
|
|||
# Additional import path used to resolve QML modules in Qt Creator's code model |
|||
QML_IMPORT_PATH = |
|||
|
|||
# Additional import path used to resolve QML modules just for Qt Quick Designer |
|||
QML_DESIGNER_IMPORT_PATH = |
|||
|
|||
# Default rules for deployment. |
|||
qnx: target.path = /tmp/$${TARGET}/bin |
|||
else: unix:!android: target.path = /opt/$${TARGET}/bin |
|||
!isEmpty(target.path): INSTALLS += target |
@ -0,0 +1,23 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
//Primary |
|||
property var primaryEnable: "#B2F7EF" |
|||
property var primaryPressed: "#3CFCE6" |
|||
//Secondary |
|||
property var secondaryEnable: "#007dff" |
|||
|
|||
property var secondaryPressed: "#abb5be" |
|||
//Tertiary |
|||
property var tertiaryEnable: "#E9E8E8" |
|||
property var tertiaryPressed: "#D0D0d0 |
|||
" |
|||
//Other |
|||
property var white: "#f8f8f8" |
|||
property var balck: "#0b0b0b" |
|||
property var success: "#28a745" |
|||
property var danger: "#dc3545" |
|||
property var warning: "#ffc107" |
|||
property var info: "#17a2b8" |
|||
property var gray: "#ced4da" |
|||
} |
@ -0,0 +1,40 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
property font h1: Qt.font({ |
|||
"family": 'Roboto', |
|||
"weight": Font.Normal, |
|||
"italic": false, |
|||
"pointSize": 40 |
|||
}) |
|||
property font h2: Qt.font({ |
|||
"family": 'Roboto', |
|||
"weight": Font.Medium, |
|||
"italic": false, |
|||
"pointSize": 20 |
|||
}) |
|||
property font h3: Qt.font({ |
|||
"family": 'Roboto', |
|||
"weight": Font.Bold, |
|||
"italic": false, |
|||
"pointSize": 16 |
|||
}) |
|||
property font h4: Qt.font({ |
|||
"family": 'Roboto', |
|||
"weight": Font.DemiBold, |
|||
"italic": false, |
|||
"pointSize": 16 |
|||
}) |
|||
property font h5: Qt.font({ |
|||
"family": 'Roboto', |
|||
"weight": Font.Normal, |
|||
"italic": false, |
|||
"pointSize": 16 |
|||
}) |
|||
property font h6: Qt.font({ |
|||
"family": 'Roboto', |
|||
"weight": Font.Normal, |
|||
"italic": false, |
|||
"pointSize": 12 |
|||
}) |
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
@ -0,0 +1,5 @@ |
|||
import QtQuick 2.15 |
|||
|
|||
Item { |
|||
|
|||
} |
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 807 B |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 968 B |
@ -0,0 +1,25 @@ |
|||
#include <QGuiApplication> |
|||
#include <QQmlApplicationEngine> |
|||
|
|||
int main(int argc, char *argv[]) |
|||
{ |
|||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) |
|||
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); |
|||
#endif |
|||
QGuiApplication app(argc, argv); |
|||
|
|||
QQmlApplicationEngine engine; |
|||
const QUrl url(QStringLiteral("qrc:/main.qml")); |
|||
QObject::connect( |
|||
&engine, |
|||
&QQmlApplicationEngine::objectCreated, |
|||
&app, |
|||
[url](QObject *obj, const QUrl &objUrl) { |
|||
if (!obj && url == objUrl) |
|||
QCoreApplication::exit(-1); |
|||
}, |
|||
Qt::QueuedConnection); |
|||
engine.load(url); |
|||
|
|||
return app.exec(); |
|||
} |
@ -0,0 +1,10 @@ |
|||
import QtQuick 2.13 |
|||
import QtQuick.Window 2.13 |
|||
|
|||
Window { |
|||
width: 1700 |
|||
height: 900 |
|||
visible: true |
|||
title: "SepantaUiKit" |
|||
color: "black" |
|||
} |
@ -0,0 +1,17 @@ |
|||
<RCC> |
|||
<qresource prefix="/"> |
|||
<file>main.qml</file> |
|||
<file>SepantaUiKit/Colors.qml</file> |
|||
<file>SepantaUiKit/Fonts.qml</file> |
|||
<file>SepantaUiKit/SKBtn/SKBtn.qml</file> |
|||
<file>SepantaUiKit/SKBtnIcon/SKBtnIcon.qml</file> |
|||
<file>SepantaUiKit/SKMultiOption/SKMultiOption.qml</file> |
|||
<file>SepantaUiKit/SKDropDown/SKDropDown.qml</file> |
|||
<file>SepantaUiKit/SKTextField/SKTextField.qml</file> |
|||
<file>SepantaUiKit/SKCheckBox/SKCheckBox.qml</file> |
|||
<file>SepantaUiKit/SKMultiOptionWithDropDown/SKMultiOptionWithDropDown.qml</file> |
|||
<file>SepantaUiKit/SKPathSelector/SKPathSelector.qml</file> |
|||
<file>SepantaUiKit/SkScrollView/SkScrollView.qml</file> |
|||
<file>SepantaUiKit/aCommon/Effects.qml</file> |
|||
</qresource> |
|||
</RCC> |