From 85611c6cdf3f2444db85d695f9e256a43f807b3f Mon Sep 17 00:00:00 2001 From: Felix Hammer Date: Fri, 7 Aug 2015 00:36:56 +0200 Subject: [PATCH] directory changes --- src/gui/qml/deployment.pri | 27 +++++ src/gui/qml/images/button-default.xcf | Bin 0 -> 1828 bytes src/gui/qml/images/button-pressed.xcf | Bin 0 -> 5191 bytes src/gui/qml/main.qml | 153 ++++++++++++++++++++++++++ src/gui/qml/qml.qrc | 17 +++ 5 files changed, 197 insertions(+) create mode 100644 src/gui/qml/deployment.pri create mode 100644 src/gui/qml/images/button-default.xcf create mode 100644 src/gui/qml/images/button-pressed.xcf create mode 100644 src/gui/qml/main.qml create mode 100644 src/gui/qml/qml.qrc diff --git a/src/gui/qml/deployment.pri b/src/gui/qml/deployment.pri new file mode 100644 index 00000000..5441b63d --- /dev/null +++ b/src/gui/qml/deployment.pri @@ -0,0 +1,27 @@ +android-no-sdk { + target.path = /data/user/qt + export(target.path) + INSTALLS += target +} else:android { + x86 { + target.path = /libs/x86 + } else: armeabi-v7a { + target.path = /libs/armeabi-v7a + } else { + target.path = /libs/armeabi + } + export(target.path) + INSTALLS += target +} else:unix { + isEmpty(target.path) { + qnx { + target.path = /tmp/$${TARGET}/bin + } else { + target.path = /opt/$${TARGET}/bin + } + export(target.path) + } + INSTALLS += target +} + +export(INSTALLS) diff --git a/src/gui/qml/images/button-default.xcf b/src/gui/qml/images/button-default.xcf new file mode 100644 index 0000000000000000000000000000000000000000..1cbb16003418b8e78e61510021a12db258ec1469 GIT binary patch literal 1828 zcmc&#zi-n(6n>X9c4_mY{1ixlPIO6zRLu;b4G5JENQ|sb;y6|lr?MTjm5_|!A7Dd> z|AB=8i2<>(Au+Nsz{20q#4X*74u6kUaP1yA~IJ7#h=g5X$3*yNlG1cm0&kd#Pb^3O|{-a(mu)|q^?ER;d zDD$qIht$LeqTElS!hRwcagxCGS#fsHJ!spWEjJrH#{l?zUIVKsk0+%Z9bM1xwG3a+ z@M4CSGQ0xL@6~34@Oo^zHZtS6gJftHFy`i70N>{I+$(7BS=&*OxjWYi(S#;wA}n=V zl~p9ZQnoFrsh~)FqIGrp%Ua>xRsoKbEt@JMP8F*;ZeTiJ5%{w5Rfr>roBW%U>!^{h z{5uptb6(GXM%tgVwoB77MaD<&p8o5prS7OHspfK<32_`dbR!O3yydR)*QW}V)TBiU zN4?~xsHUx?w9cxr;zQR9ZQt?7UY8F@SJ*Z1WmTB2c7#xva8R&Jg&FvI8&48h>qZS) zi?zsnhWnRbx(Rw$p~IaN-)AVZ6p1g2HsP@-HKo=#II{YKp%om&zZ?D4(E0h_8(78y r?92Cj1IPm~{qbQrHRA_}-X?V8l*qiA4yL+^SD5UZY!h1ooyGqfn1h8w literal 0 HcmV?d00001 diff --git a/src/gui/qml/images/button-pressed.xcf b/src/gui/qml/images/button-pressed.xcf new file mode 100644 index 0000000000000000000000000000000000000000..1f565aab8f8641ffc47c81e2f85637eeef4b56b5 GIT binary patch literal 5191 zcmeHKOK;Oa5T3*#^pPliI1LFLEP+rfQD}SUn^xsj5UK>1h#N{$$F*paDoJU3GEz@S zIrxJ519I*kKnVT>cdi_`A|bWO@{R2+iAc_lrH(W^li6AO^X%@o8^he&*NzHBt!VD* z1bG9!%MN4|8VaEqhYmcliC7^jGy=^)Cp@3?lE~kLjT?CEbfLVrr%)v<*{Rh7 zQbm}OK;);YVvc~s1`^DfpQ_q(WGOb#jEhzlyrznaERj%ss*v~kF$OcsTkRf{`JF}X z&vrs_k|d$<$>0~EFv)ll{o*+iFbF039SphH8IS%1F^+I-160x?5s-$7Z=EsQEwTgB zFg>o51#;SOIjKomvD)`VcTsvYx=tyFwk8;MG6;<-(u^4-H^FNq8H7f)(+(x3{&8V5 z+yC`e1*3FW{037>FXD_nH%m3WVpI-F+ngu4lX=K5?hG>!SBC$1P8)Z|fGzg1GakEx z80Qf7f;G4%cd`xNr6u0$-X_lqYv3!66cDT%adwcUyvGgCS(tEbT^3b773~ zjE%}?5u{f^qt4ZqGvsH;lJfo0uaYVZ$d&j@&uJ@Zynw6lN@qNNi2pl3IA(<+v?3I0 zinG*WN}-lWEd|d=^cUjyT4Et#;o5NZVSPP~J!Y&K$ut%lSdQuW`eGf+F 1) { + stackView.pop(); + event.accepted = true; + } + + initialItem: StartView { } + + // delegate: StackViewDelegate { + // function transitionFinished(properties) + // { + // properties.exitItem.opacity = 1 + // } + + // pushTransition: StackViewTransition { + // PropertyAnimation { + // target: enterItem + // property: "opacity" + // from: 0 + // to: 1 + // } + // PropertyAnimation { + // target: exitItem + // property: "opacity" + // from: 1 + // to: 0 + // } + // } + // } + } +} diff --git a/src/gui/qml/qml.qrc b/src/gui/qml/qml.qrc new file mode 100644 index 00000000..2d55fd9f --- /dev/null +++ b/src/gui/qml/qml.qrc @@ -0,0 +1,17 @@ + + + main.qml + components/ListViewDelegateFactory.qml + images/arrow_back.svg + images/button-default.png + images/button-pressed.png + images/check.svg + images/more_vert.svg + images/pokerth-logo.svg + images/startViewBackground.png + views/startview/StartButton.qml + views/startview/StartView.qml + views/createlocalgameview/CreateLocalGameView.qml + components/MyComboBoxSelector.qml + +