1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>UbuntuDevicesWidget</class>
4
<widget class="QWidget" name="UbuntuDevicesWidget">
5
<property name="geometry">
13
<property name="windowTitle">
16
<layout class="QVBoxLayout" name="verticalLayout_3">
17
<property name="leftMargin">
20
<property name="topMargin">
23
<property name="rightMargin">
26
<property name="bottomMargin">
30
<widget class="QWidget" name="widget" native="true">
31
<layout class="QVBoxLayout" name="verticalLayout_2">
32
<property name="spacing">
35
<property name="leftMargin">
38
<property name="topMargin">
41
<property name="rightMargin">
44
<property name="bottomMargin">
48
<widget class="Line" name="line_2">
49
<property name="minimumSize">
55
<property name="styleSheet">
56
<string notr="true">color: #DD4818</string>
58
<property name="frameShadow">
59
<enum>QFrame::Plain</enum>
61
<property name="lineWidth">
64
<property name="orientation">
65
<enum>Qt::Horizontal</enum>
70
<layout class="QHBoxLayout" name="horizontalLayout">
71
<property name="leftMargin">
74
<property name="rightMargin">
78
<widget class="QLabel" name="label">
79
<property name="minimumSize">
85
<property name="font">
87
<family>Ubuntu</family>
88
<pointsize>26</pointsize>
91
<property name="text">
92
<string>Ubuntu Device</string>
97
<spacer name="horizontalSpacer">
98
<property name="orientation">
99
<enum>Qt::Horizontal</enum>
101
<property name="sizeHint" stdset="0">
112
<widget class="Line" name="line">
113
<property name="minimumSize">
119
<property name="autoFillBackground">
122
<property name="styleSheet">
123
<string notr="true">color: rgba(0,0,0,0.2)</string>
125
<property name="frameShadow">
126
<enum>QFrame::Plain</enum>
128
<property name="lineWidth">
131
<property name="midLineWidth">
134
<property name="orientation">
135
<enum>Qt::Horizontal</enum>
140
<widget class="QWidget" name="widgetDeviceSerial" native="true">
141
<layout class="QVBoxLayout" name="verticalLayout_4">
142
<property name="leftMargin">
145
<property name="topMargin">
148
<property name="rightMargin">
151
<property name="bottomMargin">
155
<layout class="QHBoxLayout" name="horizontalLayout_2">
156
<property name="leftMargin">
159
<property name="topMargin">
162
<property name="rightMargin">
165
<property name="bottomMargin">
169
<widget class="QLabel" name="label_2">
170
<property name="font">
172
<family>Ubuntu</family>
175
<property name="text">
176
<string>Serial number</string>
181
<widget class="QComboBox" name="comboBoxSerialNumber">
182
<property name="minimumSize">
191
<widget class="QLabel" name="lblDeviceInfo">
192
<property name="text">
198
<spacer name="horizontalSpacer_2">
199
<property name="orientation">
200
<enum>Qt::Horizontal</enum>
202
<property name="sizeHint" stdset="0">
211
<widget class="QPushButton" name="pushButtonRefresh">
212
<property name="text">
213
<string>Redetect Devices</string>
215
<property name="flat">
226
<widget class="QScrollArea" name="scrollArea">
227
<property name="frameShape">
228
<enum>QFrame::NoFrame</enum>
230
<property name="widgetResizable">
233
<widget class="QWidget" name="scrollAreaWidgetContents">
234
<property name="geometry">
242
<layout class="QVBoxLayout" name="verticalLayout_14">
243
<property name="leftMargin">
246
<property name="topMargin">
249
<property name="rightMargin">
252
<property name="bottomMargin">
256
<widget class="QTabWidget" name="tabWidget">
257
<property name="styleSheet">
258
<string notr="true">QTabWidget::tab-bar {
265
<property name="tabPosition">
266
<enum>QTabWidget::South</enum>
268
<property name="currentIndex">
271
<property name="usesScrollButtons">
274
<property name="documentMode">
277
<widget class="QWidget" name="tab">
278
<attribute name="title">
279
<string>Device Actions</string>
281
<layout class="QHBoxLayout" name="horizontalLayout_3">
282
<property name="bottomMargin">
286
<widget class="QStackedWidget" name="stackedWidgetDeviceConnected">
287
<property name="currentIndex">
290
<widget class="QWidget" name="page_3">
291
<layout class="QHBoxLayout" name="horizontalLayout_7">
293
<spacer name="horizontalSpacer_3">
294
<property name="orientation">
295
<enum>Qt::Horizontal</enum>
297
<property name="sizeType">
298
<enum>QSizePolicy::MinimumExpanding</enum>
300
<property name="sizeHint" stdset="0">
309
<layout class="QVBoxLayout" name="verticalLayout_11">
311
<spacer name="verticalSpacer_6">
312
<property name="orientation">
313
<enum>Qt::Vertical</enum>
315
<property name="sizeHint" stdset="0">
324
<widget class="QFrame" name="frameNoDevices">
325
<property name="frameShape">
326
<enum>QFrame::NoFrame</enum>
328
<property name="frameShadow">
329
<enum>QFrame::Raised</enum>
331
<layout class="QVBoxLayout" name="verticalLayout_13">
333
<widget class="QLabel" name="labelNoDevices">
334
<property name="font">
336
<family>Ubuntu</family>
337
<pointsize>12</pointsize>
339
<italic>false</italic>
343
<property name="text">
344
<string>No devices detected.</string>
346
<property name="alignment">
347
<set>Qt::AlignCenter</set>
352
<widget class="QPushButton" name="pushButtonRefresh_2">
353
<property name="text">
354
<string>Redetect devices</string>
362
<widget class="QFrame" name="frameNoNetwork">
363
<property name="frameShape">
364
<enum>QFrame::NoFrame</enum>
366
<property name="frameShadow">
367
<enum>QFrame::Raised</enum>
369
<layout class="QVBoxLayout" name="verticalLayout_12">
371
<widget class="QLabel" name="lblNoNetwork">
372
<property name="font">
374
<family>Ubuntu</family>
375
<pointsize>12</pointsize>
378
<property name="text">
379
<string>Device has no network connection.
380
Connect to a wlan or to a wwan and try again.</string>
382
<property name="alignment">
383
<set>Qt::AlignCenter</set>
388
<widget class="QPushButton" name="pushButtonCloneNetworkConfig">
389
<property name="text">
390
<string>Clone network config from host to device</string>
398
<widget class="QLabel" name="lblLoading">
399
<property name="text">
400
<string><html><head/><body><p><span style=" font-size:16pt; font-weight:600;">Please wait</span></p><p><br/></p><p>See more details by changing to <span style=" font-style:italic;">Log</span> tab below.</p></body></html></string>
402
<property name="alignment">
403
<set>Qt::AlignCenter</set>
408
<spacer name="verticalSpacer_5">
409
<property name="orientation">
410
<enum>Qt::Vertical</enum>
412
<property name="sizeHint" stdset="0">
423
<spacer name="horizontalSpacer_4">
424
<property name="orientation">
425
<enum>Qt::Horizontal</enum>
427
<property name="sizeType">
428
<enum>QSizePolicy::MinimumExpanding</enum>
430
<property name="sizeHint" stdset="0">
440
<widget class="QWidget" name="page_4">
441
<layout class="QVBoxLayout" name="verticalLayout_19">
443
<widget class="QStackedWidget" name="stackedWidgetConnectedDevice">
444
<property name="currentIndex">
447
<widget class="QWidget" name="page_5">
448
<layout class="QHBoxLayout" name="horizontalLayout_6">
450
<widget class="QStackedWidget" name="stackedWidgetDeveloperMode">
451
<property name="currentIndex">
454
<widget class="QWidget" name="page">
455
<layout class="QVBoxLayout" name="verticalLayout_16">
457
<widget class="QLabel" name="label_7">
458
<property name="text">
459
<string><html><head/><body><p><span style=" font-size:16pt;">Your device has been detected.</span></p><p>Next<span style=" font-weight:600; font-style:italic;"> you </span><span style=" font-weight:600; font-style:italic;">will need to Enable Developer Mode </span>from the right side.</p></body></html></string>
461
<property name="textFormat">
462
<enum>Qt::RichText</enum>
468
<widget class="QWidget" name="page_2">
469
<layout class="QVBoxLayout" name="verticalLayout_17">
471
<widget class="QLabel" name="label_4">
472
<property name="text">
473
<string><html><head/><body><p><span style=" font-size:16pt;">Your device has been enabled for developer use!</span></p><p>You will find Ubuntu UI templates from <span style=" font-weight:600;">File &gt; New File or Project</span>. </p><p>After which you can deploy your app to the device using <span style=" font-weight:600; font-style:italic;">CTRL+F12</span> or<br/>by browsing <span style=" font-weight:600; font-style:italic;">Build &gt; Ubuntu Touch &gt; Run Application on Device.</span></p><p>You can also find screenshot feature from <span style=" font-weight:600; font-style:italic;">Tools &gt; Ubuntu Touch</span> and<br/>links from <span style=" font-weight:600; font-style:italic;">Help &gt; Ubuntu Touch</span>.</p><p><br/></p></body></html></string>
479
<widget class="QWidget" name="page_7">
480
<layout class="QVBoxLayout" name="verticalLayout_20">
482
<widget class="QLabel" name="label_10">
483
<property name="text">
484
<string><html><head/><body><p><span style=" font-size:16pt;">No network connection on your device!</span></p><p>You will need to connect your device to a network with connection to the Internet. </p><p>You can <span style=" font-weight:600; font-style:italic;">clone network config from host to device</span> by clicking a button on the right.</p><p><br/></p></body></html></string>
493
<widget class="QTabWidget" name="tabWidget_2">
494
<property name="tabPosition">
495
<enum>QTabWidget::West</enum>
497
<property name="currentIndex">
500
<property name="documentMode">
503
<widget class="QWidget" name="tab_3">
504
<attribute name="title">
505
<string>Simple</string>
507
<layout class="QVBoxLayout" name="verticalLayout_6">
509
<widget class="QWidget" name="widget_2" native="true">
510
<layout class="QVBoxLayout" name="verticalLayout_5">
512
<spacer name="verticalSpacer">
513
<property name="orientation">
514
<enum>Qt::Vertical</enum>
516
<property name="sizeHint" stdset="0">
525
<widget class="QPushButton" name="pushButtonCloneNetworkConfig_2">
526
<property name="text">
527
<string>Clone network config from host to device</string>
532
<widget class="QPushButton" name="pushButtonCloneTimeConfig">
533
<property name="text">
534
<string>Clone time config from host to device</string>
539
<widget class="QPushButton" name="pushButtonSshInstall">
540
<property name="font">
542
<family>Ubuntu</family>
543
<pointsize>12</pointsize>
545
<italic>false</italic>
549
<property name="styleSheet">
550
<string notr="true">padding: 10; color: #333</string>
552
<property name="text">
553
<string>Enable developer mode</string>
555
<property name="flat">
561
<widget class="QPushButton" name="pushButtonSshRemove">
562
<property name="font">
564
<family>Ubuntu</family>
565
<pointsize>12</pointsize>
568
<property name="styleSheet">
569
<string notr="true">padding: 10; color: #333</string>
571
<property name="text">
572
<string>Disable developer mode</string>
577
<spacer name="verticalSpacer_2">
578
<property name="orientation">
579
<enum>Qt::Vertical</enum>
581
<property name="sizeHint" stdset="0">
594
<widget class="QWidget" name="tab_4">
595
<attribute name="title">
596
<string>Advanced</string>
598
<layout class="QVBoxLayout" name="verticalLayout_10">
600
<widget class="QWidget" name="widgetSshProperties" native="true">
601
<layout class="QGridLayout" name="gridLayout">
602
<property name="topMargin">
605
<property name="bottomMargin">
608
<item row="2" column="1">
609
<widget class="QPushButton" name="pushButtonPortForward">
610
<property name="styleSheet">
611
<string notr="true">color: #333</string>
613
<property name="text">
614
<string>Enable port forward from device to localhost</string>
618
<item row="3" column="1">
619
<widget class="QPushButton" name="pushButtonSshSetupPublicKey">
620
<property name="enabled">
623
<property name="styleSheet">
624
<string notr="true">color: #333</string>
626
<property name="text">
627
<string>Setup public key authentication</string>
631
<item row="1" column="1">
632
<widget class="QGroupBox" name="groupBox_3">
633
<property name="title">
636
<layout class="QHBoxLayout" name="horizontalLayout_5">
637
<property name="topMargin">
640
<property name="bottomMargin">
644
<widget class="QLabel" name="label_3">
645
<property name="text">
646
<string>Username</string>
651
<widget class="QLineEdit" name="lineEditUserName">
652
<property name="enabled">
655
<property name="text">
656
<string>phablet</string>
661
<widget class="QLabel" name="label_6">
662
<property name="text">
663
<string>Ssh Port</string>
668
<widget class="QSpinBox" name="spinBoxSshPort">
669
<property name="enabled">
672
<property name="minimum">
673
<number>1300</number>
675
<property name="maximum">
676
<number>32000</number>
678
<property name="value">
679
<number>2222</number>
684
<widget class="QLabel" name="label_5">
685
<property name="text">
686
<string>QML Port</string>
691
<widget class="QSpinBox" name="spinBoxQmlPort">
692
<property name="enabled">
695
<property name="minimum">
696
<number>1300</number>
698
<property name="maximum">
699
<number>32000</number>
701
<property name="value">
702
<number>3768</number>
709
<item row="4" column="1">
710
<widget class="QPushButton" name="pushButtonSshConnect">
711
<property name="styleSheet">
712
<string notr="true">color: #333</string>
714
<property name="text">
715
<string>Open ssh connection to device</string>
719
<item row="5" column="1">
720
<widget class="QGroupBox" name="groupBox_2">
721
<property name="title">
722
<string>Flash the device</string>
724
<layout class="QVBoxLayout" name="verticalLayout_9">
725
<property name="topMargin">
728
<property name="bottomMargin">
732
<widget class="QPushButton" name="pushButtonUpgradeToDailyImage">
733
<property name="styleSheet">
734
<string notr="true">color: #333</string>
736
<property name="text">
737
<string>Upgrade to daily image</string>
742
<widget class="QPushButton" name="pushButtonUpgradeToDailyImageWithBootstrap">
743
<property name="styleSheet">
744
<string notr="true">color: #333</string>
746
<property name="text">
747
<string>Upgrade to daily image (with full bootstrap)</string>
754
<item row="8" column="1">
755
<spacer name="verticalSpacer_3">
756
<property name="orientation">
757
<enum>Qt::Vertical</enum>
759
<property name="sizeHint" stdset="0">
767
<item row="0" column="1">
768
<spacer name="verticalSpacer_4">
769
<property name="orientation">
770
<enum>Qt::Vertical</enum>
772
<property name="sizeHint" stdset="0">
780
<item row="7" column="1">
781
<widget class="QGroupBox" name="groupBox">
782
<property name="title">
783
<string>Device Mode</string>
785
<layout class="QVBoxLayout" name="verticalLayout_7">
786
<property name="bottomMargin">
790
<layout class="QHBoxLayout" name="horizontalLayout_4">
792
<widget class="QPushButton" name="pushButtonReboot">
793
<property name="sizePolicy">
794
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
795
<horstretch>0</horstretch>
796
<verstretch>0</verstretch>
799
<property name="styleSheet">
800
<string notr="true">color: #333</string>
802
<property name="text">
803
<string>Reboot</string>
808
<widget class="QPushButton" name="pushButtonShutdown">
809
<property name="sizePolicy">
810
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
811
<horstretch>0</horstretch>
812
<verstretch>0</verstretch>
815
<property name="styleSheet">
816
<string notr="true">color: #333</string>
818
<property name="text">
819
<string>Shutdown</string>
824
<widget class="QPushButton" name="pushButtonRebootToBootloader">
825
<property name="sizePolicy">
826
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
827
<horstretch>0</horstretch>
828
<verstretch>0</verstretch>
831
<property name="styleSheet">
832
<string notr="true">color: #333</string>
834
<property name="text">
841
<widget class="QPushButton" name="pushButtonRebootToRecovery">
842
<property name="sizePolicy">
843
<sizepolicy hsizetype="Minimum" vsizetype="Expanding">
844
<horstretch>0</horstretch>
845
<verstretch>0</verstretch>
848
<property name="styleSheet">
849
<string notr="true">color: #333</string>
851
<property name="text">
871
<widget class="QWidget" name="page_6">
872
<layout class="QVBoxLayout" name="verticalLayout_18">
874
<spacer name="verticalSpacer_7">
875
<property name="orientation">
876
<enum>Qt::Vertical</enum>
878
<property name="sizeHint" stdset="0">
887
<widget class="QLabel" name="label_8">
888
<property name="text">
889
<string>Executing following script in the background..</string>
891
<property name="alignment">
892
<set>Qt::AlignCenter</set>
897
<widget class="QLabel" name="lblDeviceProcessInfo">
898
<property name="font">
900
<pointsize>20</pointsize>
903
<property name="text">
904
<string>TextLabel</string>
906
<property name="alignment">
907
<set>Qt::AlignCenter</set>
912
<widget class="QProgressBar" name="progressBar">
913
<property name="value">
919
<widget class="QLabel" name="label_9">
920
<property name="text">
921
<string>Please wait.. if you like you can follow the progress on the <i>Log</i> tab at the bottom.</string>
923
<property name="alignment">
924
<set>Qt::AlignCenter</set>
929
<spacer name="verticalSpacer_8">
930
<property name="orientation">
931
<enum>Qt::Vertical</enum>
933
<property name="sizeHint" stdset="0">
951
<widget class="QWidget" name="tab_2">
952
<attribute name="title">
955
<layout class="QVBoxLayout" name="verticalLayout_8">
957
<widget class="QFrame" name="frameProgress">
958
<property name="frameShape">
959
<enum>QFrame::NoFrame</enum>
961
<property name="frameShadow">
962
<enum>QFrame::Raised</enum>
964
<layout class="QVBoxLayout" name="verticalLayout">
965
<property name="leftMargin">
968
<property name="topMargin">
971
<property name="rightMargin">
974
<property name="bottomMargin">
978
<widget class="QPlainTextEdit" name="plainTextEdit">
979
<property name="font">
981
<family>Ubuntu</family>
984
<property name="styleSheet">
985
<string notr="true">background: rgba(238,238,238,0.1)</string>
987
<property name="frameShadow">
988
<enum>QFrame::Plain</enum>
990
<property name="verticalScrollBarPolicy">
991
<enum>Qt::ScrollBarAlwaysOn</enum>
993
<property name="horizontalScrollBarPolicy">
994
<enum>Qt::ScrollBarAlwaysOff</enum>