Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
81d616e8
Commit
81d616e8
authored
Mar 24, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(src/app/App): add a splash screen
parent
038445f3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
123 additions
and
18 deletions
+123
-18
splash_screen.svg
linphone-desktop/assets/images/splash_screen.svg
+28
-0
resources.qrc
linphone-desktop/resources.qrc
+3
-0
App.cpp
linphone-desktop/src/app/App.cpp
+34
-18
SplashScreen.qml
linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml
+39
-0
SplashScreenStyle.qml
...op/ui/views/App/Styles/SplashScreen/SplashScreenStyle.qml
+17
-0
qmldir
linphone-desktop/ui/views/App/Styles/qmldir
+2
-0
No files found.
linphone-desktop/assets/images/splash_screen.svg
0 → 100644
View file @
81d616e8
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width=
"1920px"
height=
"1080px"
viewBox=
"0 0 1920 1080"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
xmlns:sketch=
"http://www.bohemiancoding.com/sketch/ns"
>
<!-- Generator: Sketch 3.4.4 (17249) - http://www.bohemiancoding.com/sketch -->
<title>
chat liste copy
</title>
<desc>
Created with Sketch.
</desc>
<defs></defs>
<g
id=
"SMARTPHONE-LANDSCAPE"
stroke=
"none"
stroke-width=
"1"
fill=
"none"
fill-rule=
"evenodd"
sketch:type=
"MSPage"
>
<g
id=
"chat-liste-copy"
sketch:type=
"MSArtboardGroup"
>
<rect
id=
"Rectangle-772"
fill=
"#444444"
sketch:type=
"MSShapeGroup"
x=
"0"
y=
"0"
width=
"1920"
height=
"1080"
></rect>
<rect
id=
"Rectangle-773"
fill=
"#FF5E00"
sketch:type=
"MSShapeGroup"
x=
"795"
y=
"1060"
width=
"330"
height=
"20"
></rect>
<g
id=
"Fill-1-+-Fill-2-+-Fill-1-+-Fill-2-+-Fill-3-+-LINPHONE-+-free-SIP-VOIP-client"
sketch:type=
"MSLayerGroup"
transform=
"translate(737.000000, 234.000000)"
>
<g
id=
"Fill-1-+-Fill-2-+-Fill-1-+-Fill-2-+-Fill-3"
transform=
"translate(9.493805, 0.000000)"
sketch:type=
"MSShapeGroup"
>
<g
id=
"Fill-1-+-Fill-2"
transform=
"translate(0.000000, 123.491481)"
fill=
"#FF5E00"
>
<path
d=
"M73.8331786,243.643535 C83.5978328,248.246332 96.4408357,252.354206 112.370462,256.437333 C128.788322,260.025535 147.812847,262.087721 168.359997,262.582645 C182.733899,262.582645 196.603018,261.551553 209.454296,258.49127 C222.802082,255.93416 234.097636,251.834535 244.888406,246.200644 C250.018987,243.643535 256.192235,240.055332 263.383323,234.941112 C270.053079,229.818644 276.731109,223.68158 283.922198,216.002001 C290.08717,208.833845 295.739084,200.123174 299.851824,189.878236 C304.469347,179.633299 307.042913,168.373767 307.042913,156.091391 C306.52158,134.578672 301.390999,115.119891 290.608503,98.2264679 C281.356907,83.8819061 269.540021,71.0881078 255.670901,60.8514194 L278.278559,0.43763553 L200.210975,32.1705447 C198.150468,31.650874 196.098235,31.1559495 194.542511,30.62803 C174.516694,24.4992149 155.508719,21.9338563 137.030352,21.4224343 C112.875245,21.9338563 90.7889214,25.5138102 71.2761632,32.6819667 C52.781246,40.3697939 37.3729525,50.614731 25.0347326,63.9199513 C12.7130629,77.7448423 5.00891621,93.6154213 1.93056758,112.562781 C-0.64299808,130.479048 -0.129939974,146.877546 3.45319164,161.197362 C7.57420674,175.541923 13.226121,187.832549 21.4433259,198.580659 C28.6426896,209.856689 37.3729525,219.070533 46.6079984,226.23869 C55.8595946,233.390349 65.1029156,239.032488 73.8331786,243.643535 L73.8331786,243.643535 Z M109.796897,242.109269 C95.4147195,238.017893 84.1108909,233.918268 75.9019612,229.298973 C68.7025975,225.207597 60.4771175,219.573706 52.2681879,212.916972 C44.5640411,206.260237 37.3729525,198.580659 31.199705,188.855392 C24.5299496,179.633299 20.4172096,168.885189 18.3649772,156.611061 C15.7996867,138.678297 16.8258029,123.31914 21.956384,111.028515 C27.086965,98.7378899 34.2780536,88.4929527 43.5296498,81.3247962 C53.3025792,73.636969 63.5554662,68.0195759 74.3545118,63.9199513 C85.1452823,60.3317487 95.4147195,57.7828875 105.179374,56.2403728 C114.422695,55.2257776 121.605508,54.1946849 126.231306,54.1946849 C143.187049,54.1946849 160.134517,56.7517948 176.560652,61.3628414 C193.508119,65.9656393 209.454296,73.1337958 223.819923,82.3558889 C237.697317,92.0811553 249.514204,103.85211 258.252742,118.188423 C263.383323,126.899094 266.983005,134.578672 269.540021,142.777922 C272.105311,150.4575 273.65276,158.12883 273.65276,165.296986 C273.139702,179.633299 268.522179,193.449942 259.270583,205.748815 C250.548595,218.550862 237.184259,228.26788 219.723733,235.955707 C202.767991,244.154957 182.733899,247.751408 159.629734,247.751408 C140.613484,247.751408 124.179074,245.697471 109.796897,242.109269 L109.796897,242.109269 Z"
id=
"Fill-1"
></path>
<path
d=
"M121.200027,224.127012 C143.360827,229.934126 166.820823,232.078799 186.143253,227.377016 C222.570378,218.550862 234.312789,206.449958 232.434334,175.979107 C232.434334,175.979107 233.112895,161.296347 202.039779,161.849012 C195.146595,161.972743 177.578493,165.635185 175.071128,173.166286 C172.572039,180.705636 176.353773,188.335722 176.552376,192.039407 C176.759255,195.726594 166.514643,200.73358 162.195025,201.154266 C156.601036,201.715181 142.475388,200.816068 128.242163,197.318601 L127.621528,197.161875 C113.504155,193.185982 100.793555,187.015923 96.2091321,183.782416 C92.6673761,181.291296 86.2210493,171.887731 88.231906,168.786204 C90.2344877,165.66818 97.3014493,160.88391 98.8819993,153.113595 C100.437724,145.318534 86.9492608,133.498087 81.0325423,129.992372 C54.2790446,114.212529 47.592739,127.328028 47.592739,127.328028 C30.8686998,152.88263 35.0807413,169.190392 62.3803976,194.810984 C76.8784267,208.396661 98.3192904,218.097182 120.46354,223.937291 L121.200027,224.127012"
id=
"Fill-2"
></path>
</g>
<g
id=
"Fill-1-+-Fill-2-+-Fill-3"
transform=
"translate(225.477876, 0.000000)"
fill=
"#FFFFFF"
>
<path
d=
"M183.980881,74.127384 C187.044974,86.3492061 192.315961,90.1840262 194.930157,79.1115834 C196.91077,69.2471889 194.222035,55.422636 183.304704,40.6807131 C172.147783,25.4667714 152.937966,11.9675649 130.299345,5.52197376 C107.772534,-1.1476263 81.8169192,-0.763610938 59.7293567,6.65535242 C36.103092,15.7757172 41.0546247,17.2637767 65.4289434,12.1195709 C109.484273,4.23658903 153.54759,23.5120265 172.672219,51.1131303 C178.382454,58.94011 182.00293,66.8150916 183.980881,74.127384"
id=
"Fill-1"
></path>
<path
d=
"M142.70746,84.7171409 C148.407047,96.0695949 152.354963,104.885947 157.279874,104.269923 C162.0211,103.659232 168.705669,94.4508635 165.851882,81.8023576 C163.953795,73.6020297 159.715709,64.7056739 152.549297,56.1613322 C131.143236,28.965578 81.532073,14.9276832 38.5895068,32.400382 C16.2357328,40.8193853 1.14420667,57.4493837 0.50263712,60.3054979 C-0.343915236,63.3536198 14.3349832,52.7958643 34.7374274,46.6329512 C61.8244406,38.0272737 92.5585505,41.6514186 114.489048,55.1426248 C128.419893,63.5056259 137.593539,74.3567265 142.70746,84.7171409"
id=
"Fill-2"
></path>
<path
d=
"M2.10522994,86.1731991 C3.7504166,89.0186462 14.004881,85.5731751 24.2407106,82.5090526 C30.3342903,80.5996429 36.4305321,79.4929319 42.3989924,79.1115834 C61.9202768,77.9115354 76.897332,84.3651268 86.1987594,92.4961186 C94.8586173,99.6617385 103.233629,107.608723 109.822362,107.459384 C116.320583,107.36338 121.301399,98.6510314 115.141266,88.9306427 C108.464684,78.9062418 96.5251009,69.0471809 79.0722794,64.0443141 C64.6436197,59.8974816 47.9175554,59.8174784 31.7824805,64.4469969 C13.632185,69.4071953 0.263046831,83.3810874 2.10522994,86.1731991 Z"
id=
"Fill-3"
></path>
</g>
</g>
<path
d=
"M38.6674779,530.380079 L0.692256637,530.380079 L0.692256637,462.598296 L11.669469,462.598296 L11.669469,520.583879 L38.6674779,520.583879 L38.6674779,530.380079 Z M47.6668142,530.380079 L47.6668142,462.598296 L58.6440265,462.598296 L58.6440265,530.380079 L47.6668142,530.380079 Z M74.2692478,530.380079 L74.2692478,462.598296 L93.454646,462.598296 L114.024558,520.682831 L115.507965,520.682831 L115.507965,462.598296 L126.485177,462.598296 L126.485177,530.380079 L107.695354,530.380079 L86.6309735,472.196592 L85.2464602,472.196592 L85.2464602,530.380079 L74.2692478,530.380079 Z M166.932743,509.303408 L153.087611,509.303408 L153.087611,530.380079 L142.110398,530.380079 L142.110398,462.598296 L166.932743,462.598296 C182.294325,462.598296 189.975,470.184503 189.975,485.357143 C189.975,493.141367 188.04659,499.078398 184.189712,503.168414 C180.332835,507.25843 174.580569,509.303408 166.932743,509.303408 L166.932743,509.303408 Z M153.087611,499.804063 L166.83385,499.804063 C174.745394,499.804063 178.701106,494.988471 178.701106,485.357143 C178.701106,480.739383 177.745142,477.375065 175.833186,475.264089 C173.921229,473.153113 170.921481,472.097641 166.83385,472.097641 L153.087611,472.097641 L153.087611,499.804063 Z M240.806416,530.380079 L240.806416,501.090433 L211.53385,501.090433 L211.53385,530.380079 L200.556637,530.380079 L200.556637,462.598296 L211.53385,462.598296 L211.53385,491.492136 L240.806416,491.492136 L240.806416,462.598296 L251.882522,462.598296 L251.882522,530.380079 L240.806416,530.380079 Z M292.033407,521.870249 C298.362642,521.870249 302.631516,519.957206 304.840155,516.131062 C307.048794,512.304918 308.153097,505.889626 308.153097,496.884993 C308.153097,487.880361 307.01583,481.333135 304.741261,477.243119 C302.466692,473.153103 298.230783,471.108126 292.033407,471.108126 C285.836031,471.108126 281.58364,473.153103 279.276106,477.243119 C276.968573,481.333135 275.814823,487.847378 275.814823,496.786042 C275.814823,505.724706 276.935608,512.139998 279.177212,516.03211 C281.418817,519.924222 285.704172,521.870249 292.033407,521.870249 L292.033407,521.870249 Z M292.033407,531.468545 C281.814329,531.468545 274.661082,528.681439 270.573451,523.107143 C266.48582,517.532847 264.442035,508.775726 264.442035,496.835518 C264.442035,484.895309 266.502302,476.022746 270.622898,470.217562 C274.743494,464.412378 281.880259,461.50983 292.033407,461.50983 C302.186555,461.50983 309.306838,464.395886 313.394469,470.168087 C317.4821,475.940287 319.525885,484.829341 319.525885,496.835518 C319.525885,508.841694 317.498582,517.615307 313.443916,523.156619 C309.38925,528.697931 302.252485,531.468545 292.033407,531.468545 L292.033407,531.468545 Z M332.283186,530.380079 L332.283186,462.598296 L351.468584,462.598296 L372.038496,520.682831 L373.521903,520.682831 L373.521903,462.598296 L384.499115,462.598296 L384.499115,530.380079 L365.709292,530.380079 L344.644912,472.196592 L343.260398,472.196592 L343.260398,530.380079 L332.283186,530.380079 Z M400.124336,530.380079 L400.124336,462.598296 L442.84646,462.598296 L442.84646,472.196592 L411.101549,472.196592 L411.101549,491.393185 L436.912832,491.393185 L436.912832,500.892529 L411.101549,500.892529 L411.101549,520.682831 L442.84646,520.682831 L442.84646,530.380079 L400.124336,530.380079 Z"
id=
"LINPHONE"
fill=
"#FFFFFF"
sketch:type=
"MSShapeGroup"
></path>
<path
d=
"M0.0830707965,568.686186 L0.0830707965,564.8627 L27.7733363,564.8627 L27.7733363,568.686186 L16.0880442,568.686186 L16.0880442,603.208388 L11.8791239,603.208388 L11.8791239,568.686186 L0.0830707965,568.686186 Z M37.8209469,603.208388 L33.6674071,603.208388 L33.6674071,563.421966 L37.8209469,563.421966 L37.8209469,577.053526 C40.77459,575.649726 43.6174288,574.947837 46.3495487,574.947837 C50.0416025,574.947837 52.5244715,575.945259 53.7982301,577.940131 C55.0719887,579.935003 55.7088584,583.48139 55.7088584,588.579397 L55.7088584,603.208388 L51.5553186,603.208388 L51.5553186,588.690223 C51.5553186,584.848246 51.1768887,582.216163 50.4200177,580.793893 C49.6631467,579.371622 48.0663573,578.660498 45.6296018,578.660498 C43.3036078,578.660498 41.0514888,579.085326 38.873177,579.934993 L37.8209469,580.322883 L37.8209469,603.208388 Z M83.4228584,599.772792 L85.0288938,599.606553 L85.1396549,602.875911 C80.9307135,603.466984 77.331015,603.762516 74.3404513,603.762516 C70.3530332,603.762516 67.5286543,602.608094 65.8672301,600.299214 C64.2058059,597.990334 63.3751062,594.39777 63.3751062,589.521415 C63.3751062,579.805648 67.2332446,574.947837 74.9496372,574.947837 C78.6786116,574.947837 81.4660704,575.991436 83.3120973,578.078663 C85.1581243,580.165891 86.0811239,583.444451 86.0811239,587.914443 L85.8596018,591.072975 L67.5840265,591.072975 C67.5840265,594.139168 68.1378263,596.411072 69.2454425,597.888755 C70.3530586,599.366438 72.2821278,600.105269 75.032708,600.105269 C77.7832881,600.105269 80.5799769,599.994444 83.4228584,599.772792 L83.4228584,599.772792 Z M81.9275841,587.748204 C81.9275841,584.349533 81.3830143,581.948334 80.2938584,580.544535 C79.2047025,579.140736 77.4325432,578.438847 74.9773274,578.438847 C72.5221116,578.438847 70.6761124,579.177677 69.4392743,580.65536 C68.2024363,582.133044 67.5655666,584.497301 67.528646,587.748204 L81.9275841,587.748204 Z M107.007053,603.208388 L116.200221,563.421966 L120.298381,563.421966 L111.160593,603.208388 L107.007053,603.208388 Z M119.879071,603.208388 L126.247832,575.501966 L130.401372,575.501966 L123.97723,603.208388 L119.879071,603.208388 Z M127.521584,569.73903 L128.739956,564.751874 L132.893496,564.751874 L131.730504,569.73903 L127.521584,569.73903 Z M150.528239,574.947837 C153.297279,574.947837 155.217119,575.686668 156.287814,577.164351 C157.35851,578.642034 157.89385,580.729231 157.89385,583.426003 C157.89385,586.9355 157.19237,590.426475 155.789389,593.89903 C154.164886,597.888775 151.931227,600.714802 149.088345,602.377195 C147.463841,603.300747 145.839362,603.762516 144.214858,603.762516 C141.113533,603.762516 137.864575,603.430043 134.467885,602.765085 L132.640327,602.377195 L141.611973,563.421966 L145.710133,563.421966 L142.110398,579.159214 C143.919505,577.349052 145.876264,576.09304 147.980735,575.39114 C148.866827,575.095604 149.715987,574.947837 150.528239,574.947837 L150.528239,574.947837 Z M137.403053,599.440315 C139.987491,599.920562 142.12885,600.160682 143.827195,600.160682 C145.525539,600.160682 147.057719,599.514205 148.423779,598.221232 C149.789839,596.928259 150.823598,595.339774 151.525088,593.455727 C152.928069,589.613751 153.629549,586.603017 153.629549,584.423434 C153.629549,582.243851 153.343419,580.720013 152.77115,579.851874 C152.198882,578.983735 151.045133,578.549672 149.309867,578.549672 C148.276092,578.549672 147.076193,578.946794 145.710133,579.741048 C144.344073,580.535303 143.254933,581.338781 142.442681,582.151507 L141.168929,583.315177 L137.403053,599.440315 Z M161.295796,603.208388 L167.719938,575.501966 L171.818097,575.501966 L170.821248,579.602516 C174.254858,577.127397 177.596116,575.557382 180.845124,574.892425 L179.737513,579.159214 C177.743804,579.676403 175.067105,580.784649 171.707336,582.483984 L170.04592,583.315177 L165.449336,603.208388 L161.295796,603.208388 Z M186.24077,598.803067 C187.200704,599.671206 188.382143,600.105269 189.785124,600.105269 C192.406482,600.105269 195.101641,599.809736 197.870681,599.218663 L199.255195,598.886186 L198.922912,602.155544 C195.636984,603.226864 192.480325,603.762516 189.452841,603.762516 C183.582475,603.762516 180.647336,600.95496 180.647336,595.339764 C180.647336,590.204815 181.810316,585.624066 184.13631,581.597379 C185.317767,579.602506 186.896096,577.99555 188.871345,576.776461 C190.846594,575.557373 193.071023,574.947837 195.544699,574.947837 C201.008939,574.947837 203.741018,577.201271 203.741018,581.708204 C203.741018,584.99605 202.504198,587.29566 200.030522,588.607104 C197.556846,589.918547 193.624868,590.57426 188.234469,590.57426 L185.410062,590.57426 C185.003936,592.015001 184.800876,593.529603 184.800876,595.118113 C184.800876,596.706622 185.280836,597.934928 186.24077,598.803067 L186.24077,598.803067 Z M189.009796,587.304902 C192.775691,587.304902 195.48931,586.90778 197.150735,586.113526 C198.812159,585.319271 199.642858,583.869316 199.642858,581.763617 C199.642858,579.547092 198.221439,578.438847 195.378558,578.438847 C190.837331,578.438847 187.699133,581.394169 185.963867,587.304902 L189.009796,587.304902 Z M231.035708,568.021232 C225.497627,568.021232 222.728628,570.108428 222.728628,574.282883 C222.728628,576.610234 223.365498,578.207955 224.639257,579.076094 C225.913015,579.944233 228.497414,580.812359 232.392531,581.680498 C236.287648,582.548637 239.047417,583.675353 240.67192,585.060682 C242.296424,586.44601 243.108664,588.727149 243.108664,591.904168 C243.108664,599.772831 239.029005,603.707104 230.869566,603.707104 C228.174367,603.707104 224.796188,603.393101 220.734929,602.765085 L218.74123,602.488021 L219.184274,598.941599 C224.205468,599.606556 228.026686,599.93903 230.648044,599.93903 C236.112284,599.93903 238.844363,597.371594 238.844363,592.236645 C238.844363,590.167888 238.244413,588.680992 237.044496,587.775911 C235.844578,586.87083 233.601689,586.104293 230.315761,585.476278 C225.996058,584.552726 222.931699,583.361362 221.122593,581.902149 C219.313487,580.442937 218.408947,577.995561 218.408947,574.559948 C218.408947,567.688721 222.525525,564.253159 230.758805,564.253159 C233.454005,564.253159 236.684503,564.53022 240.450398,565.084351 L242.333336,565.361415 L241.945673,568.96325 C236.813718,568.335235 233.177099,568.021232 231.035708,568.021232 L231.035708,568.021232 Z M251.661,603.208388 L251.661,564.8627 L255.925301,564.8627 L255.925301,603.208388 L251.661,603.208388 Z M280.482611,590.297195 L270.735637,590.297195 L270.735637,603.208388 L266.471336,603.208388 L266.471336,564.8627 L280.482611,564.8627 C284.654631,564.8627 287.73745,565.878592 289.731159,567.910406 C291.724868,569.942221 292.721708,573.045309 292.721708,577.219764 C292.721708,585.938095 288.64205,590.297195 280.482611,590.297195 L280.482611,590.297195 Z M270.735637,586.529122 L280.42723,586.529122 C285.706867,586.529122 288.346646,583.426034 288.346646,577.219764 C288.346646,574.264398 287.719006,572.094083 286.463708,570.708755 C285.20841,569.323427 283.19627,568.630773 280.42723,568.630773 L270.735637,568.630773 L270.735637,586.529122 Z M323.505372,574.947837 C324.723749,574.947837 326.791269,575.169487 329.707991,575.612792 L331.037124,575.77903 L330.870982,579.159214 C327.917339,578.826735 325.73906,578.660498 324.33608,578.660498 C321.197834,578.660498 319.065705,579.408564 317.939628,580.904718 C316.813552,582.400872 316.250522,585.171487 316.250522,589.216645 C316.250522,593.261803 316.776632,596.078594 317.828867,597.667104 C318.881103,599.255613 321.068612,600.049856 324.39146,600.049856 L330.926363,599.55114 L331.092504,602.986737 C327.658894,603.503926 325.092955,603.762516 323.394611,603.762516 C319.074908,603.762516 316.093619,602.654271 314.450655,600.437746 C312.807691,598.221221 311.986221,594.480891 311.986221,589.216645 C311.986221,583.952398 312.872301,580.258246 314.644487,578.134076 C316.416673,576.009906 319.370271,574.947837 323.505372,574.947837 L323.505372,574.947837 Z M338.814133,603.208388 L338.814133,563.421966 L342.967673,563.421966 L342.967673,603.208388 L338.814133,603.208388 Z M352.461478,603.208388 L352.461478,575.501966 L356.615018,575.501966 L356.615018,603.208388 L352.461478,603.208388 Z M352.461478,569.240315 L352.461478,564.419397 L356.615018,564.419397 L356.615018,569.240315 L352.461478,569.240315 Z M384.60592,599.772792 L386.211956,599.606553 L386.322717,602.875911 C382.113775,603.466984 378.514077,603.762516 375.523513,603.762516 C371.536095,603.762516 368.711716,602.608094 367.050292,600.299214 C365.388868,597.990334 364.558168,594.39777 364.558168,589.521415 C364.558168,579.805648 368.416307,574.947837 376.132699,574.947837 C379.861674,574.947837 382.649132,575.991436 384.495159,578.078663 C386.341186,580.165891 387.264186,583.444451 387.264186,587.914443 L387.042664,591.072975 L368.767088,591.072975 C368.767088,594.139168 369.320888,596.411072 370.428504,597.888755 C371.536121,599.366438 373.46519,600.105269 376.21577,600.105269 C378.96635,600.105269 381.763039,599.994444 384.60592,599.772792 L384.60592,599.772792 Z M383.110646,587.748204 C383.110646,584.349533 382.566076,581.948334 381.47692,580.544535 C380.387764,579.140736 378.615605,578.438847 376.160389,578.438847 C373.705174,578.438847 371.859174,579.177677 370.622336,580.65536 C369.385498,582.133044 368.748629,584.497301 368.711708,587.748204 L383.110646,587.748204 Z M399.083973,603.208388 L394.930434,603.208388 L394.930434,575.501966 L399.028593,575.501966 L399.028593,577.441415 C402.019157,575.779022 404.880455,574.947837 407.612575,574.947837 C411.304629,574.947837 413.787498,575.945259 415.061257,577.940131 C416.335015,579.935003 416.971885,583.48139 416.971885,588.579397 L416.971885,603.208388 L412.873726,603.208388 L412.873726,588.690223 C412.873726,584.848246 412.495296,582.216163 411.738425,580.793893 C410.981554,579.371622 409.366304,578.660498 406.892628,578.660498 C405.711171,578.660498 404.465122,578.83597 403.154442,579.18692 C401.843763,579.53787 400.837694,579.879579 400.136204,580.212058 L399.083973,580.710773 L399.083973,603.208388 Z M440.200062,579.103801 L431.394558,579.103801 L431.394558,592.347471 C431.394558,595.524489 431.625307,597.611686 432.086814,598.609122 C432.548321,599.606558 433.64669,600.105269 435.381956,600.105269 L440.310823,599.772792 L440.587726,603.208388 C438.11405,603.614751 436.23113,603.817929 434.938912,603.817929 C432.059109,603.817929 430.06543,603.11604 428.957814,601.712241 C427.850198,600.308442 427.296398,597.630181 427.296398,593.677379 L427.296398,579.103801 L423.364381,579.103801 L423.364381,575.501966 L427.296398,575.501966 L427.296398,567.023801 L431.394558,567.023801 L431.394558,575.501966 L440.200062,575.501966 L440.200062,579.103801 Z"
id=
"The-libre-SIP-client"
fill=
"#FF5E00"
sketch:type=
"MSShapeGroup"
></path>
</g>
</g>
</g>
</svg>
\ No newline at end of file
linphone-desktop/resources.qrc
View file @
81d616e8
...
...
@@ -148,6 +148,7 @@
<file>
assets/images/speaker_on_hovered.svg
</file>
<file>
assets/images/speaker_on_normal.svg
</file>
<file>
assets/images/speaker_on_pressed.svg
</file>
<file>
assets/images/splash_screen.svg
</file>
<file>
assets/images/tooltip_arrow_bottom.svg
</file>
<file>
assets/images/tooltip_arrow_left.svg
</file>
<file>
assets/images/tooltip_arrow_right.svg
</file>
...
...
@@ -343,6 +344,7 @@
<file>
ui/views/App/Settings/SettingsUi.qml
</file>
<file>
ui/views/App/Settings/SettingsVideo.qml
</file>
<file>
ui/views/App/Settings/SettingsWindow.qml
</file>
<file>
ui/views/App/SplashScreen/SplashScreen.qml
</file>
<file>
ui/views/App/Styles/Calls/CallStyle.qml
</file>
<file>
ui/views/App/Styles/Calls/CallsWindowStyle.qml
</file>
<file>
ui/views/App/Styles/Main/Assistant/AssistantAbstractViewStyle.qml
</file>
...
...
@@ -360,5 +362,6 @@
<file>
ui/views/App/Styles/Main/ManageAccountsStyle.qml
</file>
<file>
ui/views/App/Styles/qmldir
</file>
<file>
ui/views/App/Styles/Settings/SettingsWindowStyle.qml
</file>
<file>
ui/views/App/Styles/SplashScreen/SplashScreenStyle.qml
</file>
</qresource>
</RCC>
linphone-desktop/src/app/App.cpp
View file @
81d616e8
...
...
@@ -55,6 +55,8 @@
#define QML_VIEW_CALLS_WINDOW "qrc:/ui/views/App/Calls/CallsWindow.qml"
#define QML_VIEW_SETTINGS_WINDOW "qrc:/ui/views/App/Settings/SettingsWindow.qml"
#define QML_VIEW_SPLASH_SCREEN "qrc:/ui/views/App/SplashScreen/SplashScreen.qml"
// =============================================================================
inline
bool
installLocale
(
App
&
app
,
QTranslator
&
translator
,
const
QLocale
&
locale
)
{
...
...
@@ -92,6 +94,35 @@ App::~App () {
// -----------------------------------------------------------------------------
inline
QQuickWindow
*
createSubWindow
(
App
*
app
,
const
char
*
path
)
{
QQmlEngine
*
engine
=
app
->
getEngine
();
QQmlComponent
component
(
engine
,
QUrl
(
path
));
if
(
component
.
isError
())
{
qWarning
()
<<
component
.
errors
();
abort
();
}
QObject
*
object
=
component
.
create
();
QQmlEngine
::
setObjectOwnership
(
object
,
QQmlEngine
::
CppOwnership
);
object
->
setParent
(
app
->
getMainWindow
());
return
qobject_cast
<
QQuickWindow
*>
(
object
);
}
// -----------------------------------------------------------------------------
inline
void
activeSplashScreen
(
App
*
app
)
{
QQuickWindow
*
splash_screen
=
createSubWindow
(
app
,
QML_VIEW_SPLASH_SCREEN
);
QObject
::
connect
(
CoreManager
::
getInstance
(),
&
CoreManager
::
linphoneCoreCreated
,
splash_screen
,
[
splash_screen
]()
{
splash_screen
->
hide
();
splash_screen
->
deleteLater
();
}
);
}
void
App
::
initContentApp
()
{
// Init core.
CoreManager
::
init
(
this
,
m_parser
.
value
(
"config"
));
...
...
@@ -124,6 +155,9 @@ void App::initContentApp () {
if
(
m_engine
.
rootObjects
().
isEmpty
())
qFatal
(
"Unable to open main window."
);
// Load splashscreen.
activeSplashScreen
(
this
);
CoreManager
*
core
=
CoreManager
::
getInstance
();
if
(
m_parser
.
isSet
(
"selftest"
))
...
...
@@ -210,24 +244,6 @@ void App::tryToUsePreferredLocale () {
// -----------------------------------------------------------------------------
inline
QQuickWindow
*
createSubWindow
(
App
*
app
,
const
char
*
path
)
{
QQmlEngine
*
engine
=
app
->
getEngine
();
QQmlComponent
component
(
engine
,
QUrl
(
path
));
if
(
component
.
isError
())
{
qWarning
()
<<
component
.
errors
();
abort
();
}
QObject
*
object
=
component
.
create
();
QQmlEngine
::
setObjectOwnership
(
object
,
QQmlEngine
::
CppOwnership
);
object
->
setParent
(
app
->
getMainWindow
());
return
qobject_cast
<
QQuickWindow
*>
(
object
);
}
// -----------------------------------------------------------------------------
QQuickWindow
*
App
::
getCallsWindow
()
{
if
(
!
m_calls_window
)
m_calls_window
=
createSubWindow
(
this
,
QML_VIEW_CALLS_WINDOW
);
...
...
linphone-desktop/ui/views/App/SplashScreen/SplashScreen.qml
View file @
81d616e8
import
QtQuick
2.7
import
QtQuick
.
Window
2.2
import
Common
1.0
import
App
.
Styles
1.0
// =============================================================================
Window
{
color
:
SplashScreenStyle
.
color
flags
:
Qt
.
SplashScreen
modality
:
Qt
.
ApplicationModal
visible
:
image
.
status
===
Image
.
Ready
x
:
(
Screen
.
width
-
image
.
width
)
/
2
y
:
(
Screen
.
height
-
image
.
height
)
/
2
height
:
image
.
paintedHeight
width
:
image
.
paintedWidth
Image
{
id
:
image
anchors.centerIn
:
parent
height
:
SplashScreenStyle
.
height
width
:
SplashScreenStyle
.
width
fillMode
:
Image
.
PreserveAspectFit
mipmap
:
true
source
:
SplashScreenStyle
.
image
BusyIndicator
{
height
:
SplashScreenStyle
.
busyIndicator
.
height
width
:
SplashScreenStyle
.
busyIndicator
.
width
anchors
{
bottom
:
parent
.
bottom
bottomMargin
:
SplashScreenStyle
.
busyIndicator
.
bottomMargin
horizontalCenter
:
parent
.
horizontalCenter
}
}
}
}
linphone-desktop/ui/views/App/Styles/SplashScreen/SplashScreenStyle.qml
0 → 100644
View file @
81d616e8
pragma
Singleton
import
QtQuick
2.7
// =============================================================================
QtObject
{
property
color
color
:
'
#444444
'
// Not a `Common.Color`. Specific case.
property
int
height
:
350
property
int
width
:
620
property
url
image
:
'
qrc:/assets/images/splash_screen.svg
'
property
QtObject
busyIndicator
:
QtObject
{
property
int
bottomMargin
:
25
property
int
height
:
24
property
int
width
:
24
}
}
linphone-desktop/ui/views/App/Styles/qmldir
View file @
81d616e8
...
...
@@ -23,3 +23,5 @@ singleton MainWindowStyle 1.0 Main/MainWindowStyle.qml
singleton ManageAccountsStyle 1.0 Main/ManageAccountsStyle.qml
singleton SettingsWindowStyle 1.0 Settings/SettingsWindowStyle.qml
singleton SplashScreenStyle 1.0 SplashScreen/SplashScreenStyle.qml
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment