Browse Source

first commit

master
pouya 10 months ago
commit
cac3a5130c
  1. 74
      .gitignore
  2. 21
      SepantaUIKit.pro
  3. 23
      SepantaUiKit/Colors.qml
  4. 40
      SepantaUiKit/Fonts.qml
  5. 5
      SepantaUiKit/SKBtn/SKBtn.qml
  6. 5
      SepantaUiKit/SKBtnIcon/SKBtnIcon.qml
  7. 5
      SepantaUiKit/SKCheckBox/SKCheckBox.qml
  8. 5
      SepantaUiKit/SKDropDown/SKDropDown.qml
  9. 5
      SepantaUiKit/SKMultiOption/SKMultiOption.qml
  10. 5
      SepantaUiKit/SKMultiOptionWithDropDown/SKMultiOptionWithDropDown.qml
  11. 5
      SepantaUiKit/SKPathSelector/SKPathSelector.qml
  12. 5
      SepantaUiKit/SKTextField/SKTextField.qml
  13. 5
      SepantaUiKit/SkScrollView/SkScrollView.qml
  14. 5
      SepantaUiKit/aCommon/Effects.qml
  15. 4
      SepantaUiKit/icons/Disk.svg
  16. 12
      SepantaUiKit/icons/USB.svg
  17. 12
      SepantaUiKit/icons/back folder.svg
  18. 10
      SepantaUiKit/icons/check-square-fill.svg
  19. 12
      SepantaUiKit/icons/delete folder.svg
  20. 3
      SepantaUiKit/icons/downArrow.svg
  21. 3
      SepantaUiKit/icons/exam icon.svg
  22. 5
      SepantaUiKit/icons/file.svg
  23. 4
      SepantaUiKit/icons/folder-plus.svg
  24. 3
      SepantaUiKit/icons/folder.svg
  25. 3
      SepantaUiKit/icons/person.svg
  26. 10
      SepantaUiKit/icons/unckeck squre.svg
  27. 25
      main.cpp
  28. 10
      main.qml
  29. 17
      qml.qrc

74
.gitignore

@ -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

21
SepantaUIKit.pro

@ -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

23
SepantaUiKit/Colors.qml

@ -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"
}

40
SepantaUiKit/Fonts.qml

@ -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
})
}

5
SepantaUiKit/SKBtn/SKBtn.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKBtnIcon/SKBtnIcon.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKCheckBox/SKCheckBox.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKDropDown/SKDropDown.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKMultiOption/SKMultiOption.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKMultiOptionWithDropDown/SKMultiOptionWithDropDown.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKPathSelector/SKPathSelector.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SKTextField/SKTextField.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/SkScrollView/SkScrollView.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

5
SepantaUiKit/aCommon/Effects.qml

@ -0,0 +1,5 @@
import QtQuick 2.15
Item {
}

4
SepantaUiKit/icons/Disk.svg

@ -0,0 +1,4 @@
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9 17C13.4183 17 17 13.4183 17 9C17 4.58172 13.4183 1 9 1C4.58172 1 1 4.58172 1 9C1 13.4183 4.58172 17 9 17Z" stroke="#0B0B0B" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M8.99961 11.4C10.3251 11.4 11.3996 10.3255 11.3996 8.99998C11.3996 7.67449 10.3251 6.59998 8.99961 6.59998C7.67413 6.59998 6.59961 7.67449 6.59961 8.99998C6.59961 10.3255 7.67413 11.4 8.99961 11.4Z" stroke="#0B0B0B" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 562 B

12
SepantaUiKit/icons/USB.svg

@ -0,0 +1,12 @@
<svg width="13" height="17" viewBox="0 0 13 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="6.00024" cy="14.2517" r="1.74829" stroke="#0B0B0B"/>
<path d="M6.01172 12.5281L6.01172 3.824" stroke="#0B0B0B"/>
<path d="M4.42021 3.73669L6.00024 1L7.58028 3.73669H4.42021Z" stroke="#0B0B0B"/>
<path d="M5.90152 8.88417L10.5048 7.13487L10.5047 5.04447" stroke="#0B0B0B"/>
<path d="M6.21473 10.4582L2.03615 8.80189L2.03615 7.3201" stroke="#0B0B0B"/>
<mask id="path-6-inside-1_198_2470" fill="white">
<rect x="9.00098" y="2.82446" width="3.08731" height="3.08731" rx="0.4"/>
</mask>
<rect x="9.00098" y="2.82446" width="3.08731" height="3.08731" rx="0.4" stroke="#0B0B0B" stroke-width="2" mask="url(#path-6-inside-1_198_2470)"/>
<circle cx="2.05165" cy="6.44582" r="1.08388" stroke="#0B0B0B"/>
</svg>

After

Width:  |  Height:  |  Size: 807 B

12
SepantaUiKit/icons/back folder.svg

@ -0,0 +1,12 @@
<svg width="27" height="23" viewBox="0 0 27 23" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_198_2722)">
<path d="M17.742 5C16.5491 4.99935 15.4053 4.5251 14.562 3.6815L13.317 2.4395C13.0365 2.15891 12.6563 2.00088 12.2595 2H6.75C6.35706 1.99993 5.97979 2.15405 5.69929 2.42922C5.41879 2.70439 5.25747 3.07864 5.25 3.4715L5.319 5H3.819L3.75 3.5C3.75 2.70435 4.06607 1.94129 4.62868 1.37868C5.19129 0.816071 5.95435 0.5 6.75 0.5H12.258C13.0536 0.50017 13.8165 0.816352 14.379 1.379L15.621 2.621C16.1835 3.18365 16.9464 3.49983 17.742 3.5V5Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.28449 5H23.7145C23.9229 4.99999 24.1289 5.04339 24.3196 5.12744C24.5103 5.21149 24.6814 5.33434 24.8219 5.48816C24.9625 5.64199 25.0694 5.82341 25.136 6.02086C25.2026 6.21832 25.2272 6.42747 25.2085 6.635L24.253 17.135C24.2193 17.5077 24.0475 17.8543 23.7714 18.1069C23.4953 18.3594 23.1347 18.4996 22.7605 18.5H12.6466V20H22.7605C23.5089 19.9997 24.2302 19.7197 24.7828 19.2148C25.3354 18.71 25.6793 18.0169 25.747 17.2715L26.7025 6.7715C26.7402 6.35633 26.691 5.93785 26.558 5.54276C26.425 5.14768 26.2111 4.78465 25.9299 4.47683C25.6488 4.16902 25.3066 3.92317 24.9251 3.75499C24.5437 3.5868 24.1314 3.49996 23.7145 3.5H6.28449C5.86761 3.49996 5.4553 3.5868 5.07385 3.75499C4.6924 3.92317 4.35019 4.16902 4.06905 4.47683C3.78791 4.78465 3.57401 5.14768 3.441 5.54276C3.30798 5.93785 3.25876 6.35633 3.29649 6.7715L3.68128 11H5.18771L4.79049 6.635C4.77174 6.42747 4.79643 6.21832 4.86299 6.02086C4.92954 5.82341 5.03651 5.64199 5.17707 5.48816C5.31763 5.33434 5.48869 5.21149 5.67936 5.12744C5.87003 5.04339 6.07612 4.99999 6.28449 5Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.0004 17.0002C12.0004 17.1991 11.9213 17.3899 11.7807 17.5305C11.64 17.6712 11.4493 17.7502 11.2504 17.7502H3.56086L6.78136 20.9692C6.8511 21.0389 6.90641 21.1217 6.94415 21.2128C6.98189 21.3039 7.00131 21.4016 7.00131 21.5002C7.00131 21.5988 6.98189 21.6965 6.94415 21.7876C6.90641 21.8787 6.8511 21.9615 6.78136 22.0312C6.71163 22.1009 6.62885 22.1562 6.53774 22.194C6.44663 22.2317 6.34898 22.2511 6.25036 22.2511C6.15175 22.2511 6.0541 22.2317 5.96299 22.194C5.87188 22.1562 5.7891 22.1009 5.71936 22.0312L1.21936 17.5312C1.14952 17.4615 1.0941 17.3788 1.0563 17.2876C1.01849 17.1965 0.999023 17.0989 0.999023 17.0002C0.999023 16.9015 1.01849 16.8039 1.0563 16.7127C1.0941 16.6216 1.14952 16.5389 1.21936 16.4692L5.71936 11.9692C5.86019 11.8284 6.0512 11.7493 6.25036 11.7493C6.44953 11.7493 6.64053 11.8284 6.78136 11.9692C6.92219 12.11 7.00131 12.301 7.00131 12.5002C7.00131 12.6994 6.92219 12.8904 6.78136 13.0312L3.56086 16.2502H11.2504C11.4493 16.2502 11.64 16.3292 11.7807 16.4699C11.9213 16.6105 12.0004 16.8013 12.0004 17.0002Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_198_2722">
<rect width="27" height="23" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

10
SepantaUiKit/icons/check-square-fill.svg

@ -0,0 +1,10 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_198_2882)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 0C2.20435 0 1.44129 0.316071 0.87868 0.87868C0.316071 1.44129 0 2.20435 0 3L0 21C0 21.7956 0.316071 22.5587 0.87868 23.1213C1.44129 23.6839 2.20435 24 3 24H21C21.7956 24 22.5587 23.6839 23.1213 23.1213C23.6839 22.5587 24 21.7956 24 21V3C24 2.20435 23.6839 1.44129 23.1213 0.87868C22.5587 0.316071 21.7956 0 21 0L3 0ZM18.045 7.455C17.9379 7.34823 17.8103 7.26416 17.6699 7.20782C17.5295 7.15149 17.3792 7.12404 17.228 7.12712C17.0768 7.1302 16.9277 7.16375 16.7897 7.22575C16.6518 7.28776 16.5277 7.37695 16.425 7.488L11.2155 14.1255L8.076 10.9845C7.86274 10.7858 7.58067 10.6776 7.28922 10.6827C6.99776 10.6879 6.71969 10.8059 6.51357 11.0121C6.30745 11.2182 6.18938 11.4963 6.18424 11.7877C6.1791 12.0792 6.28728 12.3612 6.486 12.5745L10.455 16.545C10.5619 16.6517 10.6892 16.7358 10.8294 16.7923C10.9695 16.8487 11.1196 16.8764 11.2706 16.8736C11.4217 16.8708 11.5706 16.8376 11.7085 16.776C11.8465 16.7144 11.9706 16.6256 12.0735 16.515L18.0615 9.03C18.2656 8.81775 18.3784 8.53391 18.3756 8.23944C18.3728 7.94496 18.2546 7.66332 18.0465 7.455H18.045Z" fill="black"/>
</g>
<defs>
<clipPath id="clip0_198_2882">
<rect width="24" height="24" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

12
SepantaUiKit/icons/delete folder.svg

@ -0,0 +1,12 @@
<svg width="26" height="22" viewBox="0 0 26 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_198_2730)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.7349 5.02686H3.2779C3.06953 5.02684 2.86344 5.07024 2.67277 5.15429C2.4821 5.23834 2.31104 5.36119 2.17048 5.51502C2.02992 5.66884 1.92295 5.85026 1.8564 6.04772C1.78984 6.24517 1.76515 6.45433 1.7839 6.66186L2.7394 17.1619C2.77308 17.5345 2.94485 17.8812 3.22099 18.1337C3.49712 18.3863 3.85769 18.5265 4.2319 18.5269H13.4929V20.0269H4.2319C3.48346 20.0266 2.76215 19.7465 2.2096 19.2417C1.65704 18.7369 1.31313 18.0437 1.2454 17.2984L0.2899 6.79836C0.225979 6.10353 0.407491 5.40827 0.8029 4.83336L0.7429 3.52686C0.7429 2.73121 1.05897 1.96814 1.62158 1.40554C2.18419 0.842926 2.94725 0.526855 3.7429 0.526855H9.2509C10.0465 0.527025 10.8094 0.843207 11.3719 1.40586L12.6139 2.64786C13.1764 3.2105 13.9393 3.52669 14.7349 3.52686H20.7079C21.1248 3.52681 21.5371 3.61365 21.9185 3.78184C22.3 3.95003 22.6422 4.19587 22.9233 4.50369C23.2045 4.8115 23.4184 5.17453 23.5514 5.56962C23.6844 5.96471 23.7336 6.38319 23.6959 6.79836L23.3119 11.0269H21.8029L22.2004 6.66186C22.2191 6.45446 22.1945 6.24543 22.128 6.04807C22.0616 5.85072 21.9547 5.66937 21.8143 5.51557C21.6739 5.36177 21.503 5.23889 21.3126 5.15475C21.1221 5.07061 20.9161 5.02705 20.7079 5.02686H14.7349ZM10.3099 2.46636L11.3734 3.52686H3.2779C2.9179 3.52686 2.5729 3.58986 2.2519 3.70686L2.2429 3.49686C2.25075 3.10425 2.41225 2.73038 2.69271 2.45554C2.97317 2.18069 3.35022 2.02678 3.7429 2.02686H9.2509C9.64869 2.02694 10.0302 2.18503 10.3114 2.46636H10.3099Z" fill="black"/>
<path d="M16.7607 12.5201L25.0971 20.8565" stroke="black" stroke-width="1.2" stroke-linecap="round"/>
<path d="M25.0967 12.5201L16.7604 20.8565" stroke="black" stroke-width="1.2" stroke-linecap="round"/>
</g>
<defs>
<clipPath id="clip0_198_2730">
<rect width="26" height="22" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

3
SepantaUiKit/icons/downArrow.svg

@ -0,0 +1,3 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.64592 4.64599C1.69236 4.59943 1.74754 4.56249 1.80828 4.53728C1.86903 4.51207 1.93415 4.4991 1.99992 4.4991C2.06568 4.4991 2.13081 4.51207 2.19155 4.53728C2.2523 4.56249 2.30747 4.59943 2.35392 4.64599L7.99992 10.293L13.6459 4.64599C13.6924 4.59951 13.7476 4.56263 13.8083 4.53747C13.8691 4.51231 13.9342 4.49936 13.9999 4.49936C14.0657 4.49936 14.1308 4.51231 14.1915 4.53747C14.2522 4.56263 14.3074 4.59951 14.3539 4.64599C14.4004 4.69248 14.4373 4.74767 14.4624 4.80841C14.4876 4.86915 14.5005 4.93425 14.5005 4.99999C14.5005 5.06574 14.4876 5.13084 14.4624 5.19158C14.4373 5.25232 14.4004 5.30751 14.3539 5.35399L8.35392 11.354C8.30747 11.4006 8.2523 11.4375 8.19155 11.4627C8.13081 11.4879 8.06568 11.5009 7.99992 11.5009C7.93415 11.5009 7.86903 11.4879 7.80828 11.4627C7.74754 11.4375 7.69236 11.4006 7.64592 11.354L1.64592 5.35399C1.59935 5.30755 1.56241 5.25237 1.5372 5.19163C1.512 5.13088 1.49902 5.06576 1.49902 4.99999C1.49902 4.93423 1.512 4.8691 1.5372 4.80836C1.56241 4.74761 1.59935 4.69244 1.64592 4.64599Z" fill="#0B0B0B"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

3
SepantaUiKit/icons/exam icon.svg

@ -0,0 +1,3 @@
<svg width="118" height="89" viewBox="0 0 118 89" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M112 3H6C4.34314 3 3 4.34315 3 6V83C3 84.6569 4.34315 86 6 86H112C113.657 86 115 84.6569 115 83V6C115 4.34315 113.657 3 112 3ZM6 0C2.68629 0 0 2.68629 0 6V83C0 86.3137 2.68629 89 6 89H112C115.314 89 118 86.3137 118 83V6C118 2.68629 115.314 0 112 0H6ZM109.363 11.3693C109.363 12.1977 108.691 12.8693 107.863 12.8693L89.539 12.8693C88.7106 12.8693 88.039 12.1977 88.039 11.3693C88.039 10.5409 88.7106 9.86932 89.539 9.86932L107.863 9.86932C108.691 9.86932 109.363 10.5409 109.363 11.3693ZM24.2586 73.3274C25.0871 73.3274 25.7586 72.6558 25.7586 71.8274C25.7586 70.9989 25.0871 70.3274 24.2586 70.3274H9.72316C8.89473 70.3274 8.22316 70.9989 8.22316 71.8274C8.22316 72.6558 8.89473 73.3274 9.72316 73.3274H24.2586ZM25.7586 77.9273C25.7586 78.7557 25.0871 79.4273 24.2586 79.4273H9.72316C8.89473 79.4273 8.22316 78.7557 8.22316 77.9273C8.22316 77.0988 8.89473 76.4273 9.72316 76.4273H24.2586C25.0871 76.4273 25.7586 77.0988 25.7586 77.9273ZM60.4924 56.2561C77.2491 55.2296 90.0578 49.3931 99.3074 42.9194L84.8711 26.9081C78.9273 30.5956 70.3728 34.0132 59.0713 34.0274L60.5587 61.7875C58.368 61.9149 56.2359 61.9589 54.1625 61.9285L53.8563 56.3676C55.9243 56.4101 58.0504 56.3727 60.2343 56.2462L59.0436 34.0274L59.0006 34.0274L59.0006 34.0276H59.0005C47.6638 34.0276 39.0859 30.6033 33.1297 26.9081L22.4134 38.7935C29.1817 43.0499 37.531 46.761 47.5963 48.7191L47.1398 52.6884C35.852 50.5904 26.7102 46.5053 19.535 41.986L12.1393 50.1885C11.9654 50.3813 11.9601 50.6645 12.1461 50.8458C14.4612 53.103 29.6095 66.6815 59.0003 66.6815H59.0004H59.0004C88.3913 66.6815 103.54 53.103 105.855 50.8458C106.041 50.6645 106.035 50.3813 105.861 50.1885L102.985 46.9978C93.5435 53.8809 79.6553 60.6503 60.7894 61.7993L60.4924 56.2561ZM59.0004 30.05L58.8582 30.0498L58.3953 21.4099C58.5946 21.4117 58.7962 21.4127 59.0003 21.4127H59.0004L59.0004 30.05ZM42.6308 17.3901C43.7974 18.5693 47.6524 21.3057 58.3673 21.4096L58.8304 30.0497C49.1206 30.0183 41.4439 27.306 35.7137 24.0421L41.727 17.3728C41.9555 17.1194 42.3908 17.1474 42.6308 17.3901ZM76.2738 17.3728L82.2869 24.042C76.5234 27.3248 68.7906 30.0497 59.0005 30.0498L59.0005 21.4127C70.1974 21.4127 74.1806 18.5923 75.3699 17.3901C75.6099 17.1474 76.0452 17.1194 76.2738 17.3728Z" fill="#0B0B0B"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

5
SepantaUiKit/icons/file.svg

@ -0,0 +1,5 @@
<svg width="90" height="89" viewBox="0 0 90 89" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22.9961 0H53.5898V5.5625H22.9961C21.5208 5.5625 20.106 6.14855 19.0628 7.19172C18.0196 8.23489 17.4336 9.64973 17.4336 11.125V77.875C17.4336 79.3503 18.0196 80.7651 19.0628 81.8083C20.106 82.8514 21.5208 83.4375 22.9961 83.4375H67.4961C68.9714 83.4375 70.3862 82.8514 71.4294 81.8083C72.4725 80.7651 73.0586 79.3503 73.0586 77.875V25.0312H78.6211V77.875C78.6211 80.8255 77.449 83.6552 75.3627 85.7416C73.2763 87.8279 70.4466 89 67.4961 89H22.9961C20.0456 89 17.2159 87.8279 15.1295 85.7416C13.0432 83.6552 11.8711 80.8255 11.8711 77.875V11.125C11.8711 8.17447 13.0432 5.34478 15.1295 3.25844C17.2159 1.1721 20.0456 0 22.9961 0V0Z" fill="black"/>
<path d="M53.5898 16.6875V0L78.6211 25.0312H61.9336C59.7207 25.0312 57.5984 24.1522 56.0337 22.5874C54.4689 21.0227 53.5898 18.9004 53.5898 16.6875Z" fill="black"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M28.5586 63.9688C28.5586 63.2311 28.8516 62.5237 29.3732 62.0021C29.8948 61.4805 30.6022 61.1875 31.3398 61.1875H42.4648C43.2025 61.1875 43.9099 61.4805 44.4315 62.0021C44.9531 62.5237 45.2461 63.2311 45.2461 63.9688C45.2461 64.7064 44.9531 65.4138 44.4315 65.9354C43.9099 66.457 43.2025 66.75 42.4648 66.75H31.3398C30.6022 66.75 29.8948 66.457 29.3732 65.9354C28.8516 65.4138 28.5586 64.7064 28.5586 63.9688ZM28.5586 52.8438C28.5586 52.1061 28.8516 51.3987 29.3732 50.8771C29.8948 50.3555 30.6022 50.0625 31.3398 50.0625H59.1523C59.89 50.0625 60.5974 50.3555 61.119 50.8771C61.6406 51.3987 61.9336 52.1061 61.9336 52.8438C61.9336 53.5814 61.6406 54.2888 61.119 54.8104C60.5974 55.332 59.89 55.625 59.1523 55.625H31.3398C30.6022 55.625 29.8948 55.332 29.3732 54.8104C28.8516 54.2888 28.5586 53.5814 28.5586 52.8438ZM28.5586 41.7188C28.5586 40.9811 28.8516 40.2737 29.3732 39.7521C29.8948 39.2305 30.6022 38.9375 31.3398 38.9375H59.1523C59.89 38.9375 60.5974 39.2305 61.119 39.7521C61.6406 40.2737 61.9336 40.9811 61.9336 41.7188C61.9336 42.4564 61.6406 43.1638 61.119 43.6854C60.5974 44.207 59.89 44.5 59.1523 44.5H31.3398C30.6022 44.5 29.8948 44.207 29.3732 43.6854C28.8516 43.1638 28.5586 42.4564 28.5586 41.7188Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

4
SepantaUiKit/icons/folder-plus.svg

@ -0,0 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.7417 6H3.28474C3.07636 5.99999 2.87028 6.04339 2.67961 6.12744C2.48894 6.21149 2.31787 6.33434 2.17732 6.48816C2.03676 6.64199 1.92979 6.82341 1.86323 7.02086C1.79667 7.21832 1.77198 7.42747 1.79074 7.635L2.74624 18.135C2.77991 18.5077 2.95168 18.8543 3.22782 19.1069C3.50396 19.3594 3.86453 19.4996 4.23874 19.5H13.4997V21H4.23874C3.49029 20.9997 2.76899 20.7197 2.21643 20.2148C1.66387 19.71 1.31997 19.0169 1.25224 18.2715L0.296736 7.7715C0.232815 7.07667 0.414327 6.38141 0.809736 5.8065L0.749736 4.5C0.749736 3.70435 1.06581 2.94129 1.62842 2.37868C2.19102 1.81607 2.95409 1.5 3.74974 1.5H9.25774C10.0533 1.50017 10.8163 1.81635 11.3787 2.379L12.6207 3.621C13.1832 4.18365 13.9462 4.49983 14.7417 4.5H20.7147C21.1316 4.49996 21.5439 4.5868 21.9254 4.75499C22.3068 4.92317 22.649 5.16902 22.9302 5.47683C23.2113 5.78465 23.4252 6.14768 23.5582 6.54276C23.6912 6.93785 23.7405 7.35633 23.7027 7.7715L23.3187 12H21.8097L22.2072 7.635C22.226 7.4276 22.2013 7.21857 22.1349 7.02122C22.0684 6.82387 21.9616 6.64252 21.8212 6.48872C21.6808 6.33491 21.5099 6.21203 21.3194 6.12789C21.1289 6.04375 20.923 6.0002 20.7147 6H14.7417ZM10.3167 3.4395L11.3802 4.5H3.28474C2.92474 4.5 2.57974 4.563 2.25874 4.68L2.24974 4.47C2.25759 4.0774 2.41909 3.70353 2.69954 3.42868C2.98 3.15383 3.35705 2.99992 3.74974 3H9.25774C9.65553 3.00008 10.037 3.15818 10.3182 3.4395H10.3167Z" fill="#0B0B0B"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.25 15C20.4489 15 20.6397 15.079 20.7803 15.2197C20.921 15.3603 21 15.5511 21 15.75V18H23.25C23.4489 18 23.6397 18.079 23.7803 18.2197C23.921 18.3603 24 18.5511 24 18.75C24 18.9489 23.921 19.1397 23.7803 19.2803C23.6397 19.421 23.4489 19.5 23.25 19.5H21V21.75C21 21.9489 20.921 22.1397 20.7803 22.2803C20.6397 22.421 20.4489 22.5 20.25 22.5C20.0511 22.5 19.8603 22.421 19.7197 22.2803C19.579 22.1397 19.5 21.9489 19.5 21.75V19.5H17.25C17.0511 19.5 16.8603 19.421 16.7197 19.2803C16.579 19.1397 16.5 18.9489 16.5 18.75C16.5 18.5511 16.579 18.3603 16.7197 18.2197C16.8603 18.079 17.0511 18 17.25 18H19.5V15.75C19.5 15.5511 19.579 15.3603 19.7197 15.2197C19.8603 15.079 20.0511 15 20.25 15Z" fill="#0B0B0B"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

3
SepantaUiKit/icons/folder.svg

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 5.25C1.5 4.65326 1.73705 4.08097 2.15901 3.65901C2.58097 3.23705 3.15326 3 3.75 3H7.896C9.333 3 10.536 3.84 11.3625 4.776C11.9775 5.472 12.72 6 13.5 6H20.25C20.8467 6 21.419 6.23705 21.841 6.65901C22.2629 7.08097 22.5 7.65326 22.5 8.25V18.75C22.5 19.3467 22.2629 19.919 21.841 20.341C21.419 20.7629 20.8467 21 20.25 21H3.75C3.15326 21 2.58097 20.7629 2.15901 20.341C1.73705 19.919 1.5 19.3467 1.5 18.75V5.25ZM3.75 4.5C3.55109 4.5 3.36032 4.57902 3.21967 4.71967C3.07902 4.86032 3 5.05109 3 5.25V9H21V8.25C21 8.05109 20.921 7.86032 20.7803 7.71967C20.6397 7.57902 20.4489 7.5 20.25 7.5H13.5C12.054 7.5 10.935 6.5565 10.239 5.769C9.561 5.001 8.73 4.5 7.896 4.5H3.75ZM21 10.5H3V18.75C3 18.9489 3.07902 19.1397 3.21967 19.2803C3.36032 19.421 3.55109 19.5 3.75 19.5H20.25C20.4489 19.5 20.6397 19.421 20.7803 19.2803C20.921 19.1397 21 18.9489 21 18.75V10.5Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

3
SepantaUiKit/icons/person.svg

@ -0,0 +1,3 @@
<svg width="89" height="89" viewBox="0 0 89 89" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M55.625 27.8125C55.625 30.763 54.4529 33.5927 52.3666 35.6791C50.2802 37.7654 47.4505 38.9375 44.5 38.9375C41.5495 38.9375 38.7198 37.7654 36.6334 35.6791C34.5471 33.5927 33.375 30.763 33.375 27.8125C33.375 24.862 34.5471 22.0323 36.6334 19.9459C38.7198 17.8596 41.5495 16.6875 44.5 16.6875C47.4505 16.6875 50.2802 17.8596 52.3666 19.9459C54.4529 22.0323 55.625 24.862 55.625 27.8125ZM44.5 44.5C48.9258 44.5 53.1703 42.7419 56.2998 39.6123C59.4294 36.4828 61.1875 32.2383 61.1875 27.8125C61.1875 23.3867 59.4294 19.1422 56.2998 16.0127C53.1703 12.8831 48.9258 11.125 44.5 11.125C40.0742 11.125 35.8297 12.8831 32.7002 16.0127C29.5706 19.1422 27.8125 23.3867 27.8125 27.8125C27.8125 32.2383 29.5706 36.4828 32.7002 39.6123C35.8297 42.7419 40.0742 44.5 44.5 44.5ZM77.875 72.3125C77.875 77.875 72.3125 77.875 72.3125 77.875H16.6875C16.6875 77.875 11.125 77.875 11.125 72.3125C11.125 66.75 16.6875 50.0625 44.5 50.0625C72.3125 50.0625 77.875 66.75 77.875 72.3125ZM72.3125 72.2903C72.3069 70.9219 71.4559 66.8056 67.6845 63.0342C64.0578 59.4075 57.2326 55.625 44.5 55.625C31.7619 55.625 24.9423 59.4075 21.3155 63.0342C17.5441 66.8056 16.6986 70.9219 16.6875 72.2903H72.3125Z" fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

10
SepantaUiKit/icons/unckeck squre.svg

@ -0,0 +1,10 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_198_2884)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M21 1.5H3C2.60218 1.5 2.22064 1.65804 1.93934 1.93934C1.65804 2.22064 1.5 2.60218 1.5 3V21C1.5 21.3978 1.65804 21.7794 1.93934 22.0607C2.22064 22.342 2.60218 22.5 3 22.5H21C21.3978 22.5 21.7794 22.342 22.0607 22.0607C22.342 21.7794 22.5 21.3978 22.5 21V3C22.5 2.60218 22.342 2.22064 22.0607 1.93934C21.7794 1.65804 21.3978 1.5 21 1.5ZM3 0C2.20435 0 1.44129 0.316071 0.87868 0.87868C0.316071 1.44129 0 2.20435 0 3L0 21C0 21.7956 0.316071 22.5587 0.87868 23.1213C1.44129 23.6839 2.20435 24 3 24H21C21.7956 24 22.5587 23.6839 23.1213 23.1213C23.6839 22.5587 24 21.7956 24 21V3C24 2.20435 23.6839 1.44129 23.1213 0.87868C22.5587 0.316071 21.7956 0 21 0L3 0Z" fill="#0B0B0B"/>
</g>
<defs>
<clipPath id="clip0_198_2884">
<rect width="24" height="24" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 968 B

25
main.cpp

@ -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();
}

10
main.qml

@ -0,0 +1,10 @@
import QtQuick 2.13
import QtQuick.Window 2.13
Window {
width: 1700
height: 900
visible: true
title: "SepantaUiKit"
color: "black"
}

17
qml.qrc

@ -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>
Loading…
Cancel
Save