Expose the new gsm signal feature in the Qt UI

Add a combobox displaying the different signal strength choices in the
cellular UI, and set the default value to "moderate".

Change-Id: Ia4d7f1581675b1f66166ab81d16787f30ab10df2
diff --git a/android/skin/qt/extended-pages/cellular-page.cpp b/android/skin/qt/extended-pages/cellular-page.cpp
index 0098835..c106632 100644
--- a/android/skin/qt/extended-pages/cellular-page.cpp
+++ b/android/skin/qt/extended-pages/cellular-page.cpp
@@ -47,3 +47,11 @@
         mCellularAgent->setDataStatus(dStatus);
     }
 }
+
+void CellularPage::on_cell_signalStatusBox_currentIndexChanged(int index)
+{
+    if (mCellularAgent && mCellularAgent->setSignalStrengthProfile) {
+        CellularSignal signal = (CellularSignal)index;
+        mCellularAgent->setSignalStrengthProfile(signal);
+    }
+}
diff --git a/android/skin/qt/extended-pages/cellular-page.h b/android/skin/qt/extended-pages/cellular-page.h
index 5799460..b4fd5f6 100644
--- a/android/skin/qt/extended-pages/cellular-page.h
+++ b/android/skin/qt/extended-pages/cellular-page.h
@@ -28,6 +28,7 @@
     void on_cell_dataStatusBox_currentIndexChanged(int index);
     void on_cell_standardBox_currentIndexChanged(int index);
     void on_cell_voiceStatusBox_currentIndexChanged(int index);
+    void on_cell_signalStatusBox_currentIndexChanged(int index);
 
     // TODO: Implement Network delay setting
     // http://developer.android.com/tools/devices/emulator.html#netdelay
diff --git a/android/skin/qt/extended-pages/cellular-page.ui b/android/skin/qt/extended-pages/cellular-page.ui
index 85aed62..84cc464 100644
--- a/android/skin/qt/extended-pages/cellular-page.ui
+++ b/android/skin/qt/extended-pages/cellular-page.ui
@@ -130,6 +130,25 @@
     <string notr="true">Title</string>
    </property>
   </widget>
+  <widget class="QGroupBox" name="cell_signalGroupBox">
+   <property name="geometry">
+    <rect>
+     <x>324</x>
+     <y>94</y>
+     <width>131</width>
+     <height>24</height>
+    </rect>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">border: 0px;</string>
+   </property>
+   <property name="title">
+    <string>Signal strength</string>
+   </property>
+   <property name="ColorGroup" stdset="0">
+    <string notr="true">Title</string>
+   </property>
+  </widget>
   <widget class="QComboBox" name="cell_voiceStatusBox">
    <property name="geometry">
     <rect>
@@ -224,6 +243,53 @@
     </property>
    </item>
   </widget>
+  <widget class="QComboBox" name="cell_signalStatusBox">
+   <property name="geometry">
+    <rect>
+     <x>324</x>
+     <y>112</y>
+     <width>280</width>
+     <height>31</height>
+    </rect>
+   </property>
+   <property name="font">
+    <font>
+     <family>Roboto</family>
+     <pointsize>10</pointsize>
+    </font>
+   </property>
+   <property name="styleSheet">
+    <string notr="true">padding: 3px 3px 3px 3px;</string>
+   </property>
+   <property name="currentIndex">
+    <number>2</number>
+   </property>
+   <item>
+    <property name="text">
+     <string>None</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Poor</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Moderate</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Good</string>
+    </property>
+   </item>
+   <item>
+    <property name="text">
+     <string>Great</string>
+    </property>
+   </item>
+  </widget>
  </widget>
  <resources/>
  <connections/>