From 4184ad35904601fa57f7eab75cac2e5afb87190a Mon Sep 17 00:00:00 2001 From: Erin Date: Thu, 25 Jan 2024 10:02:21 -0600 Subject: [PATCH] Create3 UI toggle changes --- rc/left.png | Bin 0 -> 1796 bytes rc/qml.qrc | 12 +- rc/qml/left.png | Bin 0 -> 1796 bytes rc/qml/right.png | Bin 0 -> 1788 bytes ui/Create3Widget.ui | 389 +++++++++++++++++++++++++++----------------- 5 files changed, 243 insertions(+), 158 deletions(-) create mode 100644 rc/left.png create mode 100644 rc/qml/left.png create mode 100644 rc/qml/right.png diff --git a/rc/left.png b/rc/left.png new file mode 100644 index 0000000000000000000000000000000000000000..9cfc7780cbae0ca2f43adbb6145ecf00debd3289 GIT binary patch literal 1796 zcmV+f2mAPmP)`2&Dt=jshx_dN#AVrR!YV zE6rRcb6B)pm8{#ctu~^6tjPkww2AF(v(R*%Q__l=S;C+cU12I#+N4`;T`B|b4zQUB z4u-OF2po&i`|c0!s6V*pdG0v4X?-P6@+9BS_kEx5`@YY8pZk74k`RJOkR-_gXu#@- z1m>RifgT}5Pei?i5T-An2&hq2bsP}4;uXlf1}F+=?2?%oB}r0ga`K{=hlVbu+U;3< zZ*38d<@d8>aV|@jEG8)_G0d-LZt3kiPk;Xaon76uo%)p5s(u52rfCCSulH9%h#Er? zgBj$|G|deNr?XJhHyjjR?})h7@p?x@eZxWFbQTIg1jgtPdR~NVfKotMtv3I@{Rd() zpt<1nH-0ayR-4~qN%R4wA{?WDDnJykFA?W@`(iYNx#P6UEsEEd1b@e-HETMP%7P}{ z4v(2xyxtLAv!+|szH}x9xxuW}V!BmNk|a%0l=BZh_>fvx_ouK{vXPNXcsjf2?CNH0 zYz%x`-aHh*;D6IQKUVM_Gv zcMfs%$YJ*G*&Q;bpx{1=pV+|Tg^!`C@iQJsxWvcDlbC2>;erLG`y4%XoI>X#0Ivxl z${=8rBuO^lY@cb{Ir>W`BraxTMG`2jql{IVDnC=rz;^N}C>#h{; zPD?Wt|ICkn%3E(%1K5QSJwc;tfX(N6`^d~l*A=L(Yhc3@KR}jc{CgN*X|GA7RjorKI(K9>b?%tz1_&EQ=djJ%K*FIcs=Tx;V?LOLH7~N z%t*&>&jN7BSy}faWMpRQ3cm8|m!q3ufR2v#n9i!JSFiG)&xdtmzWwkc*zH;Aaz{t| zvYgz-Ap>1*4<}E49PJ#Z=xC3fQ2@ik`bGgHBqYp}12-XqI=jw9FRSVFJ?>f6H{$Z; z%ckOFqkw^dff*;GM{DcxS=Bef=bJDUXK2(NCb?sjN$wbB5<{cXO#X?Cl(lQWKdbsi zSS+CzvTKnQMHwIbcjzDNYu-+0g?qAdW>w#axVW#Fij%Xmb3W_u?++P}nUPLO$;N2q zbrUOBt(rA$Gb~u38O96_4*pl}=xFch>+RJIEZep%T6s+&%QEZM6&vnY%qDShafTau zZ@pQ~g$sk7GSJr2azytJ;;NM^c=D;Iqnf1O@26zrlTpj%1>UV3RKDJiK@NNHMp4nT)&wsHcW?RBAX;MyhmSNl<5Bvc|QT`=_=#c@uUhm%ex>`D!gg%@{*m7vpE$iDptVm6aBEs27A^RU~jrs7}SwF^a2f|W1V9arrDD);R_KBCx4+xN zbI<+^V4D!43b?-PXa4;8?xZAbNmFyP6v@G*%k5!wbn*c7RwxIWj^OEwq9~_*K3~C9 zgSh@k-Jz=LxZR%hr6|t0k<%`>u-mhQq9|j4O&Anu6cMP0I_+}DFzvY|Xi}j3=cZbz zkhM`3OQO$ewfT>`XU@4mNW3>_3A|`+*(8Oi8t#i#J|?4Jgwz zttqfF#Jn6joJ&!ZF-_B&n5<9Lok0=JC_N-eT0J9yIYJ2W{!IG+52i}>${ZMJNB{r; m4rN$LW=%~1DgXcg2mk;800000(o>TF0000EO literal 0 HcmV?d00001 diff --git a/rc/qml.qrc b/rc/qml.qrc index c7836019..23217176 100644 --- a/rc/qml.qrc +++ b/rc/qml.qrc @@ -1,7 +1,9 @@ - - qml/loading.qml - qml/lock.qml - qml/50-screenlock.png - + + qml/loading.qml + qml/lock.qml + qml/50-screenlock.png + qml/left.png + qml/right.png + diff --git a/rc/qml/left.png b/rc/qml/left.png new file mode 100644 index 0000000000000000000000000000000000000000..9cfc7780cbae0ca2f43adbb6145ecf00debd3289 GIT binary patch literal 1796 zcmV+f2mAPmP)`2&Dt=jshx_dN#AVrR!YV zE6rRcb6B)pm8{#ctu~^6tjPkww2AF(v(R*%Q__l=S;C+cU12I#+N4`;T`B|b4zQUB z4u-OF2po&i`|c0!s6V*pdG0v4X?-P6@+9BS_kEx5`@YY8pZk74k`RJOkR-_gXu#@- z1m>RifgT}5Pei?i5T-An2&hq2bsP}4;uXlf1}F+=?2?%oB}r0ga`K{=hlVbu+U;3< zZ*38d<@d8>aV|@jEG8)_G0d-LZt3kiPk;Xaon76uo%)p5s(u52rfCCSulH9%h#Er? zgBj$|G|deNr?XJhHyjjR?})h7@p?x@eZxWFbQTIg1jgtPdR~NVfKotMtv3I@{Rd() zpt<1nH-0ayR-4~qN%R4wA{?WDDnJykFA?W@`(iYNx#P6UEsEEd1b@e-HETMP%7P}{ z4v(2xyxtLAv!+|szH}x9xxuW}V!BmNk|a%0l=BZh_>fvx_ouK{vXPNXcsjf2?CNH0 zYz%x`-aHh*;D6IQKUVM_Gv zcMfs%$YJ*G*&Q;bpx{1=pV+|Tg^!`C@iQJsxWvcDlbC2>;erLG`y4%XoI>X#0Ivxl z${=8rBuO^lY@cb{Ir>W`BraxTMG`2jql{IVDnC=rz;^N}C>#h{; zPD?Wt|ICkn%3E(%1K5QSJwc;tfX(N6`^d~l*A=L(Yhc3@KR}jc{CgN*X|GA7RjorKI(K9>b?%tz1_&EQ=djJ%K*FIcs=Tx;V?LOLH7~N z%t*&>&jN7BSy}faWMpRQ3cm8|m!q3ufR2v#n9i!JSFiG)&xdtmzWwkc*zH;Aaz{t| zvYgz-Ap>1*4<}E49PJ#Z=xC3fQ2@ik`bGgHBqYp}12-XqI=jw9FRSVFJ?>f6H{$Z; z%ckOFqkw^dff*;GM{DcxS=Bef=bJDUXK2(NCb?sjN$wbB5<{cXO#X?Cl(lQWKdbsi zSS+CzvTKnQMHwIbcjzDNYu-+0g?qAdW>w#axVW#Fij%Xmb3W_u?++P}nUPLO$;N2q zbrUOBt(rA$Gb~u38O96_4*pl}=xFch>+RJIEZep%T6s+&%QEZM6&vnY%qDShafTau zZ@pQ~g$sk7GSJr2azytJ;;NM^c=D;Iqnf1O@26zrlTpj%1>UV3RKDJiK@NNHMp4nT)&wsHcW?RBAX;MyhmSNl<5Bvc|QT`=_=#c@uUhm%ex>`D!gg%@{*m7vpE$iDptVm6aBEs27A^RU~jrs7}SwF^a2f|W1V9arrDD);R_KBCx4+xN zbI<+^V4D!43b?-PXa4;8?xZAbNmFyP6v@G*%k5!wbn*c7RwxIWj^OEwq9~_*K3~C9 zgSh@k-Jz=LxZR%hr6|t0k<%`>u-mhQq9|j4O&Anu6cMP0I_+}DFzvY|Xi}j3=cZbz zkhM`3OQO$ewfT>`XU@4mNW3>_3A|`+*(8Oi8t#i#J|?4Jgwz zttqfF#Jn6joJ&!ZF-_B&n5<9Lok0=JC_N-eT0J9yIYJ2W{!IG+52i}>${ZMJNB{r; m4rN$LW=%~1DgXcg2mk;800000(o>TF0000EO literal 0 HcmV?d00001 diff --git a/rc/qml/right.png b/rc/qml/right.png new file mode 100644 index 0000000000000000000000000000000000000000..1b34342eb5673f7230c28c46b80e1880543d8540 GIT binary patch literal 1788 zcmVjYkeh8@+9BS_x*gH_kF+jz59MYiii*iilXEKI*=EU zz|8YL&?O>W5%m@k%NI}xRM~8{5kS65gY2wK5)$IW{CH-T?w)h>_V&@<;iCCppYlq@P5^XW?=uYJS0YjsQY6F( z%GGtf4Uqi&)pFoqjTnYUzU~-?M-CjUk^KDC0!ZK;bH&Vy>o!0MAgQTo{yls5#pH!% zf>&RAT~bri{C0c14=9mvi~=eEDJotkXS;i1^a?Y_sn#|rDqa`-9-Gvx$xJE_nsg&f zGpiVe$JDIJR<&=ONkJxt*_ul(#`}hC#E5DLWq_yod=X?8bxjF%e zi;IhBRrYwiEM2;k&p#jPGYlg~L=4~>qpE->8=F4jp1bd|Ed1Z0A-vvUd_JG`w~7+| z1A`o^t;KodFfA=7uNzmkegkWZiYQpM!jkT>E{%=ha&_YKjfRzEwD9?S{BFk%-hKCI*nL%1Mb~v+-?f|KwS}g! zt!<~deMt@kMwJR+v)PI_mT$6TQcFu~Oig-m`wJ171mO4k85$bm(V~ah|F>$>*d;mH zJoWTXNK8z63_w*BrEp|qWX|{Q`@U(%@$qq7uFjZEHGs;>N*WsKqoP&zOew8xr%hvi z@W6u%4i2O!iju1Wxd5wHj2!sg_^o2O0t z$dN;I_nb40iHnPyr3P+H1BZt%MlZ7nXgu-HY1MDjm| zsGHn0$}%^NvWO+4X3w5I-FcX@e7UuM{gHC#cb0{WQ8i5)abM^&4YJ$q(aI?zva)lg zRX;n+{O1vXx@ghj&w6`%O@rd&V{6oR@4jbRbX8TQZ2g9i8+&fI`;ywya2B^-y9>=KPz_Mu@OM+ul;k9IJt0adhEG;z2Ah8QY*e&VRV6t&g&n_r$u#cc zPd*LaR;wb?tm}H8^T^?l4_I_tI&L@(1N;9%(}y3McAPb97T>z#c2ZK3rZ(v)RtCd+bMZcK>OYr3ZREUivOvz%V=!Cp{I~J6!C1d57ug z%S3ioyvkE0Pgpv>Dk!+04?g(E$mrPJ`VZXX#jKBEi!aP18>Ke7-yW-yqi>spr~k zwh@OT{Tor7F_BZPZQ^jGi>7H8fiwwGq)|wq9_mzUTMW~lS%M}7%74C8D|Ox4D7!u0 zmztX9udRD8X35VK2M*RqYHFH4P_{T}L0PD3yIw#xmT$Ttr{dY}9@$vFNdTEQZ(hgs zOcFDrTF0000*8 literal 0 HcmV?d00001 diff --git a/ui/Create3Widget.ui b/ui/Create3Widget.ui index 2f07440c..4c78e516 100644 --- a/ui/Create3Widget.ui +++ b/ui/Create3Widget.ui @@ -23,160 +23,243 @@ - - - - 22 - + + + 10 - - Create 3 Info - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - - - - - 0 - 80 - - - - - 33 - - - - Create Connect - - - - - - - - - - - 22 - - - - Create3 Connected State: - - - - - - - - 22 - - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - - - - - - - - - - 160 - 16777215 - - - - - 22 - - - - Create3 IP: - - - - - - - - 25 - 0 - - - - - 22 - - - - - - - Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter - - - - - - - - - - - - 0 - 80 - - - - - 21 - - - - Create 3 Sensor List - - - - - - - - 0 - 80 - - - - - 21 - - - - Create 3 Example Programs - - - - - - - + + + + + 1 + 0 + + + + + 0 + 80 + + + + + 400 + 16777215 + + + + + 33 + + + + Create Connect + + + + + + + + + + 25 + 0 + + + + + 60 + 16777215 + + + + + 22 + + + + Wifi + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + + 100 + 16777215 + + + + QCheckBox::indicator{ + margin-left:10%; + margin-right:10% +} + +QCheckBox::indicator:checked{ + image:url("://qml/right.png"); +} + +QCheckBox::indicator:unchecked{ + image:url("://qml/left.png"); +} + + + + + + false + + + + + + + + 25 + 0 + + + + + 120 + 16777215 + + + + + 22 + + + + Ethernet + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + + + + + 22 + + + + Create3 Connected State: + + + + + + + + 22 + + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + + + + + + 160 + 16777215 + + + + + 22 + + + + Create3 IP: + + + + + + + + 25 + 0 + + + + + 22 + + + + + + + Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter + + + + + + + + + + + + 0 + 80 + + + + + 21 + + + + Create 3 Sensor List + + + + + + + + 0 + 80 + + + + + 21 + + + + Create 3 Example Programs + + + +