new lrc: refactor settings page, ui overhaul

Change-Id: I7eac9e025a3c1281b0ba98515dc77f65c36fc178
Reviewed-by: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
diff --git a/linkdevwidget.ui b/linkdevwidget.ui
new file mode 100644
index 0000000..b9bc7b7
--- /dev/null
+++ b/linkdevwidget.ui
@@ -0,0 +1,611 @@
+<?xml version="1.0" encoding="UTF-8"?>

+<ui version="4.0">

+ <class>LinkDevWidget</class>

+ <widget class="QWidget" name="LinkDevWidget">

+  <property name="geometry">

+   <rect>

+    <x>0</x>

+    <y>0</y>

+    <width>744</width>

+    <height>848</height>

+   </rect>

+  </property>

+  <property name="windowTitle">

+   <string>Form</string>

+  </property>

+  <widget class="QWidget" name="verticalLayoutWidget">

+   <property name="geometry">

+    <rect>

+     <x>9</x>

+     <y>9</y>

+     <width>701</width>

+     <height>791</height>

+    </rect>

+   </property>

+   <layout class="QVBoxLayout" name="verticalLayout" stretch="0">

+    <item>

+     <widget class="QStackedWidget" name="stackedWidget">

+      <property name="currentIndex">

+       <number>1</number>

+      </property>

+      <widget class="QWidget" name="start">

+       <widget class="QWidget" name="verticalLayoutWidget_2">

+        <property name="geometry">

+         <rect>

+          <x>9</x>

+          <y>19</y>

+          <width>681</width>

+          <height>761</height>

+         </rect>

+        </property>

+        <layout class="QVBoxLayout" name="verticalLayout_2">

+         <item>

+          <spacer name="verticalSpacer">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeType">

+            <enum>QSizePolicy::MinimumExpanding</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout" stretch="1,0,1">

+           <item>

+            <spacer name="horizontalSpacer">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QLabel" name="label">

+             <property name="font">

+              <font>

+               <pointsize>10</pointsize>

+              </font>

+             </property>

+             <property name="text">

+              <string>Add A New Device</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_2">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeType">

+              <enum>QSizePolicy::Minimum</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <spacer name="verticalSpacer_3">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeType">

+            <enum>QSizePolicy::Fixed</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_5">

+           <item>

+            <spacer name="horizontalSpacer_3">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QLabel" name="label_2">

+             <property name="text">

+              <string>To add a new device, enter your account password:</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_4">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_2">

+           <item>

+            <spacer name="horizontalSpacer_7">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QLineEdit" name="passwordLineEdit">

+             <property name="minimumSize">

+              <size>

+               <width>250</width>

+               <height>0</height>

+              </size>

+             </property>

+             <property name="echoMode">

+              <enum>QLineEdit::Password</enum>

+             </property>

+             <property name="alignment">

+              <set>Qt::AlignCenter</set>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_8">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_3">

+           <item>

+            <spacer name="horizontalSpacer_9">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QPushButton" name="cancelBtn">

+             <property name="text">

+              <string>Cancel</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_11">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeType">

+              <enum>QSizePolicy::Fixed</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QPushButton" name="enterBtn">

+             <property name="text">

+              <string>Enter</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_10">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <spacer name="verticalSpacer_2">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+        </layout>

+       </widget>

+      </widget>

+      <widget class="QWidget" name="middle">

+       <widget class="QWidget" name="verticalLayoutWidget_3">

+        <property name="geometry">

+         <rect>

+          <x>14</x>

+          <y>9</y>

+          <width>671</width>

+          <height>771</height>

+         </rect>

+        </property>

+        <layout class="QVBoxLayout" name="verticalLayout_3">

+         <item>

+          <spacer name="verticalSpacer_4">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+         <item>

+          <widget class="QWidget" name="widget" native="true">

+           <layout class="QVBoxLayout" name="verticalLayout_5">

+            <item>

+             <layout class="QHBoxLayout" name="horizontalLayout_6" stretch="1,0,1">

+              <item>

+               <spacer name="horizontalSpacer_12">

+                <property name="orientation">

+                 <enum>Qt::Horizontal</enum>

+                </property>

+                <property name="sizeHint" stdset="0">

+                 <size>

+                  <width>40</width>

+                  <height>20</height>

+                 </size>

+                </property>

+               </spacer>

+              </item>

+              <item>

+               <widget class="QLabel" name="label_3">

+                <property name="text">

+                 <string>Exporting account on the ring</string>

+                </property>

+               </widget>

+              </item>

+              <item>

+               <spacer name="horizontalSpacer_13">

+                <property name="orientation">

+                 <enum>Qt::Horizontal</enum>

+                </property>

+                <property name="sizeHint" stdset="0">

+                 <size>

+                  <width>40</width>

+                  <height>20</height>

+                 </size>

+                </property>

+               </spacer>

+              </item>

+             </layout>

+            </item>

+            <item>

+             <layout class="QHBoxLayout" name="horizontalLayout_4" stretch="1,0,1">

+              <item>

+               <spacer name="horizontalSpacer_5">

+                <property name="orientation">

+                 <enum>Qt::Horizontal</enum>

+                </property>

+                <property name="sizeHint" stdset="0">

+                 <size>

+                  <width>40</width>

+                  <height>20</height>

+                 </size>

+                </property>

+               </spacer>

+              </item>

+              <item>

+               <widget class="QLabel" name="spinningLabel">

+                <property name="sizePolicy">

+                 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">

+                  <horstretch>0</horstretch>

+                  <verstretch>0</verstretch>

+                 </sizepolicy>

+                </property>

+                <property name="minimumSize">

+                 <size>

+                  <width>50</width>

+                  <height>50</height>

+                 </size>

+                </property>

+                <property name="maximumSize">

+                 <size>

+                  <width>50</width>

+                  <height>50</height>

+                 </size>

+                </property>

+                <property name="text">

+                 <string/>

+                </property>

+               </widget>

+              </item>

+              <item>

+               <spacer name="horizontalSpacer_6">

+                <property name="orientation">

+                 <enum>Qt::Horizontal</enum>

+                </property>

+                <property name="sizeHint" stdset="0">

+                 <size>

+                  <width>40</width>

+                  <height>20</height>

+                 </size>

+                </property>

+               </spacer>

+              </item>

+             </layout>

+            </item>

+           </layout>

+          </widget>

+         </item>

+         <item>

+          <spacer name="verticalSpacer_5">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+        </layout>

+       </widget>

+      </widget>

+      <widget class="QWidget" name="end">

+       <widget class="QWidget" name="verticalLayoutWidget_4">

+        <property name="geometry">

+         <rect>

+          <x>10</x>

+          <y>10</y>

+          <width>681</width>

+          <height>771</height>

+         </rect>

+        </property>

+        <layout class="QVBoxLayout" name="verticalLayout_4">

+         <item>

+          <spacer name="verticalSpacer_6">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_7">

+           <item>

+            <spacer name="horizontalSpacer_14">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QLabel" name="label_4">

+             <property name="text">

+              <string>Your generated pin:</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_15">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_8">

+           <item>

+            <spacer name="horizontalSpacer_16">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QLabel" name="label_5">

+             <property name="text">

+              <string/>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_17">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_9">

+           <item>

+            <spacer name="horizontalSpacer_18">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QLabel" name="label_6">

+             <property name="text">

+              <string>This pin and the account password should be entered in your device within 5 minutes.</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_19">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <layout class="QHBoxLayout" name="horizontalLayout_10">

+           <item>

+            <spacer name="horizontalSpacer_20">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+           <item>

+            <widget class="QPushButton" name="closePushButton">

+             <property name="text">

+              <string>Close</string>

+             </property>

+            </widget>

+           </item>

+           <item>

+            <spacer name="horizontalSpacer_21">

+             <property name="orientation">

+              <enum>Qt::Horizontal</enum>

+             </property>

+             <property name="sizeHint" stdset="0">

+              <size>

+               <width>40</width>

+               <height>20</height>

+              </size>

+             </property>

+            </spacer>

+           </item>

+          </layout>

+         </item>

+         <item>

+          <spacer name="verticalSpacer_7">

+           <property name="orientation">

+            <enum>Qt::Vertical</enum>

+           </property>

+           <property name="sizeHint" stdset="0">

+            <size>

+             <width>20</width>

+             <height>40</height>

+            </size>

+           </property>

+          </spacer>

+         </item>

+        </layout>

+       </widget>

+      </widget>

+     </widget>

+    </item>

+   </layout>

+  </widget>

+ </widget>

+ <resources/>

+ <connections/>

+</ui>