More interface ideas.
diff --git a/mainwindow.ui b/mainwindow.ui
index 1c858a7..f2f8ea2 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -97,7 +97,7 @@
<set>Qt::AlignCenter</set>
</property>
<property name="placeholderText">
- <string>Search</string>
+ <string>Enter a number, name, or email</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>
@@ -231,36 +231,12 @@
</property>
</widget>
</item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="sizeConstraint">
- <enum>QLayout::SetDefaultConstraint</enum>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QPushButton" name="hangup_button">
- <property name="text">
- <string>Hang up</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="answer_button">
- <property name="text">
- <string>Answer</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <widget class="QWidget" name="widget" native="true">
+ <widget class="QWidget" name="content_area" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
@@ -274,12 +250,211 @@
</size>
</property>
<property name="styleSheet">
- <string notr="true">background-color: rgb(255,255,255);
-
+ <string notr="true">QWidget#content_area {
+background-color: rgb(255,255,255);
background-image:url(:/data/background_tile.png);
background-repeat: repeat-x;
-background-position: bottom;</string>
+background-position: bottom;
+}</string>
</property>
+ <widget class="QWidget" name="answer_bar" native="true">
+ <property name="geometry">
+ <rect>
+ <x>-10</x>
+ <y>380</y>
+ <width>561</width>
+ <height>91</height>
+ </rect>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">QWidget#answer_bar {
+background-color: rgba(50, 50, 50, 0.5);
+}</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_5">
+ <item>
+ <layout class="QHBoxLayout" name="answer_bar_layout">
+ <item>
+ <spacer name="horizontalSpacer_2">
+ <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="QToolButton" name="decline_button">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>14</pointsize>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">color: white;
+background-color:transparent;</string>
+ </property>
+ <property name="text">
+ <string>Decline</string>
+ </property>
+ <property name="icon">
+ <iconset resource="data.qrc">
+ <normaloff>:/data/symbol_dark.png</normaloff>:/data/symbol_dark.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Preferred</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>10</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QToolButton" name="hangup_button">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>14</pointsize>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">color: white;
+background-color:transparent;</string>
+ </property>
+ <property name="text">
+ <string>Hang Up</string>
+ </property>
+ <property name="icon">
+ <iconset resource="data.qrc">
+ <normaloff>:/data/symbol_dark.png</normaloff>:/data/symbol_dark.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="answer_button">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>14</pointsize>
+ </font>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">color: white;
+background-color:transparent;</string>
+ </property>
+ <property name="text">
+ <string>Accept</string>
+ </property>
+ <property name="icon">
+ <iconset resource="data.qrc">
+ <normaloff>:/data/symbol_blue.png</normaloff>:/data/symbol_blue.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="popupMode">
+ <enum>QToolButton::DelayedPopup</enum>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextBesideIcon</enum>
+ </property>
+ </widget>
+ </item>
+ <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>
+ </layout>
+ </item>
+ </layout>
+ </widget>
</widget>
</item>
</layout>