This commit is contained in:
Pierre Ducroquet 2023-05-17 11:04:53 +02:00
parent d2280b3d52
commit 2f0a95c27e
4 changed files with 64 additions and 1 deletions

View File

@ -27,6 +27,7 @@ set(PROJECT_SOURCES
dedicatedserverinfowidget.ui
ovhapi.cpp
ovhapi.h
resources.qrc
${TS_FILES}
)

View File

@ -13,6 +13,10 @@
<property name="windowTitle">
<string>Ovh manager</string>
</property>
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/ovh.svg</normaloff>:/ovh.svg</iconset>
</property>
<widget class="QWidget" name="centralwidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
@ -77,6 +81,9 @@
<property name="title">
<string>&amp;Login</string>
</property>
<property name="icon">
<iconset theme="folder"/>
</property>
<addaction name="actionLogin"/>
</widget>
<addaction name="menuLogin"/>
@ -86,6 +93,9 @@
</widget>
<widget class="QStatusBar" name="statusbar"/>
<action name="actionQuit">
<property name="icon">
<iconset theme="application-exit"/>
</property>
<property name="text">
<string>&amp;Quit</string>
</property>
@ -94,6 +104,9 @@
</property>
</action>
<action name="actionLogin">
<property name="icon">
<iconset theme="document-new"/>
</property>
<property name="text">
<string>&amp;New login</string>
</property>
@ -102,6 +115,8 @@
</property>
</action>
</widget>
<resources/>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>

42
ovh.svg Normal file
View File

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="48"
height="48"
viewBox="0 0 12.7 12.7"
version="1.1"
id="svg5"
xml:space="preserve"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
sodipodi:docname="ovh.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
inkscape:zoom="14.466245"
inkscape:cx="7.8112877"
inkscape:cy="27.47776"
inkscape:window-width="1920"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="38"
inkscape:window-maximized="1"
inkscape:current-layer="layer1" /><defs
id="defs2" /><g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"><path
style="fill:#000000;stroke-width:0.310012"
d="M 4.0050901,11.982364 C 2.7096521,11.382801 0.99506012,9.4492737 1.2194711,8.8410523 c 0.101407,-0.2748447 0.53661,-0.4950747 0.97833,-0.4950747 h 0.795666 L 1.9033561,6.3186239 C 1.3037951,5.2035794 0.81324512,4.11441 0.81324512,3.8982476 c 0,-1.1932195 2.85690898,-3.79871818 4.10380078,-3.742663 0.3910798,0.017581 0.2625974,0.1312656 -0.360151,0.3186706 -0.9819238,0.2954922 -2.5834958,1.7401292 -3.1502878,2.8415963 -0.275241,0.5348856 -0.201606,0.6039245 0.644131,0.6039245 0.654011,0 1.141442,-0.2466497 1.54692,-0.7827717 0.8366289,-1.1061894 2.6812569,-1.5751399 3.9681434,-1.008801 0.549487,0.2418208 1.2596567,0.7438513 1.5781554,1.1156235 0.33808,0.3946291 0.9434741,0.6759492 1.4546251,0.6759492 0.765301,0 0.836704,-0.075466 0.567111,-0.5993756 C 10.658482,2.3347192 9.0894332,0.9452987 8.0337947,0.5470486 7.468629,0.3338342 7.2793419,0.1636886 7.5920126,0.1499417 c 1.3139637,-0.05777 4.1732514,2.4879298 4.1577964,3.701796 -0.0038,0.2982508 -0.467695,1.4314665 -1.030884,2.518257 L 9.6949448,8.3459776 h 0.7364402 c 1.783171,0 0.904689,2.1153564 -1.4063255,3.3863844 -1.4893608,0.819129 -3.5667603,0.922587 -5.0199694,0.250002 z m 4.5836716,-0.442038 c 1.107644,-0.52321 2.5599813,-1.9698363 2.5599813,-2.5499144 0,-0.4106721 -1.9741234,0.075014 -2.7008657,0.6644841 C 7.9743002,10.03902 7.2243033,10.242922 6.2849795,10.242922 5.3456557,10.242922 4.5956588,10.03902 4.1220817,9.6548957 3.4778441,9.1323467 1.4212161,8.5614786 1.4212161,8.9052034 c 0,0.5445473 1.437565,2.0180496 2.504912,2.5675326 1.5871101,0.817062 3.0316598,0.838002 4.6626336,0.06759 z M 7.9747939,9.4625827 C 8.5381323,9.0194339 8.525385,8.9979463 7.6934552,8.9883468 6.9736425,8.9800413 6.8497007,8.8682877 6.9810294,8.3459776 7.0684724,7.9982046 7.0464314,7.713663 6.9320484,7.713663 c -0.1143823,0 -0.4422204,0.2845416 -0.7285289,0.6323146 -0.2863081,0.3477729 -0.8980809,0.6368393 -1.3594952,0.6423692 -0.8033354,0.00963 -0.8138952,0.02975 -0.2488596,0.4742359 0.324541,0.2553 1.0849576,0.464181 1.6898144,0.464181 0.6048567,0 1.3652733,-0.208881 1.6898148,-0.464181 z M 5.3201762,8.4250169 C 5.2632447,8.294602 4.7710996,7.2987067 4.2265198,6.2119161 3.3482591,4.4592143 3.1338211,4.2359333 2.3287951,4.2359333 c -0.499168,0 -0.907579,0.075865 -0.907579,0.168589 0,0.2569308 1.550365,3.4132817 1.897177,3.8624159 0.322342,0.4174455 2.1790129,0.564065 2.0017831,0.1580787 z M 10.152244,6.6071127 c 0.538673,-1.043319 0.983252,-2.0036466 0.987952,-2.1340615 0.0047,-0.1304148 -0.392615,-0.2371179 -0.882924,-0.2371179 -0.6244928,0 -0.9492588,0.1893655 -1.0844328,0.6323145 -0.1061292,0.347773 -0.4541774,0.6323145 -0.7734403,0.6323145 -0.7902172,0 -1.7701206,1.5320645 -1.2101278,1.8920171 C 7.4122251,7.53589 7.5035462,7.8828407 7.3954369,8.1758505 7.2351692,8.610224 7.3730789,8.6846256 8.1871002,8.6029552 9.0462698,8.5167552 9.2985951,8.2604877 10.152244,6.6071127 Z M 6.8612978,6.2119161 7.8136574,4.2359333 H 6.9271778 c -0.6676896,0 -1.0426356,0.253598 -1.5191811,1.0275111 C 4.5939643,6.5854388 4.5696279,5.9958887 5.3810907,4.6116362 5.901283,3.7242537 6.144418,3.5796534 6.9758769,3.6631645 7.7714032,3.7430665 7.9523349,3.896203 7.9327619,4.4730512 7.9017839,5.3860407 8.6101638,5.3997881 8.8873215,4.4915782 9.1953585,3.482174 7.8260899,2.3389899 6.309023,2.3389899 c -1.0662249,0 -2.7599111,0.9420143 -2.7599111,1.5350399 0,0.3195524 2.1719973,4.5337686 2.2747145,4.4135131 0.046811,-0.054804 0.5136733,-0.9888361 1.0374714,-2.0756268 z"
id="path202" /></g></svg>

After

Width:  |  Height:  |  Size: 4.7 KiB

5
resources.qrc Normal file
View File

@ -0,0 +1,5 @@
<RCC>
<qresource prefix="/">
<file>ovh.svg</file>
</qresource>
</RCC>