| <?xml version="1.0" encoding="UTF-8"?> |
| <ui version="4.0"> |
| <class>MainWindow</class> |
| <widget class="QMainWindow" name="MainWindow"> |
| <property name="geometry"> |
| <rect> |
| <x>0</x> |
| <y>0</y> |
| <width>860</width> |
| <height>480</height> |
| </rect> |
| </property> |
| <property name="windowTitle"> |
| <string>MainWindow</string> |
| </property> |
| <property name="styleSheet"> |
| <string notr="true">QMainWindow#MainWindow { |
| background-color: rgb(246, 246, 246); |
| }</string> |
| </property> |
| <widget class="QWidget" name="centralWidget"> |
| <property name="styleSheet"> |
| <string notr="true"/> |
| </property> |
| <layout class="QVBoxLayout" name="verticalLayout_4"> |
| <property name="spacing"> |
| <number>0</number> |
| </property> |
| <property name="leftMargin"> |
| <number>0</number> |
| </property> |
| <property name="topMargin"> |
| <number>0</number> |
| </property> |
| <property name="rightMargin"> |
| <number>0</number> |
| </property> |
| <property name="bottomMargin"> |
| <number>0</number> |
| </property> |
| <item> |
| <widget class="QSplitter" name="splitter"> |
| <property name="styleSheet"> |
| <string notr="true"/> |
| </property> |
| <property name="orientation"> |
| <enum>Qt::Horizontal</enum> |
| </property> |
| <property name="handleWidth"> |
| <number>0</number> |
| </property> |
| <widget class="QWidget" name="layoutWidget"> |
| <layout class="QVBoxLayout" name="verticalLayout_3"> |
| <property name="sizeConstraint"> |
| <enum>QLayout::SetDefaultConstraint</enum> |
| </property> |
| <item> |
| <layout class="QHBoxLayout" name="horizontalLayout"> |
| <property name="spacing"> |
| <number>10</number> |
| </property> |
| <property name="leftMargin"> |
| <number>20</number> |
| </property> |
| <property name="topMargin"> |
| <number>10</number> |
| </property> |
| <property name="rightMargin"> |
| <number>10</number> |
| </property> |
| <property name="bottomMargin"> |
| <number>10</number> |
| </property> |
| <item> |
| <widget class="MySearchBar" name="search_bar"> |
| <property name="minimumSize"> |
| <size> |
| <width>0</width> |
| <height>22</height> |
| </size> |
| </property> |
| <property name="styleSheet"> |
| <string notr="true">background-color: rgb(225, 225, 225); |
| border: 1px solid; |
| border-color: rgb(208, 208, 208); |
| border-radius: 4px; |
| color: rgb(160, 160, 160); |
| </string> |
| </property> |
| <property name="text"> |
| <string/> |
| </property> |
| <property name="frame"> |
| <bool>true</bool> |
| </property> |
| <property name="alignment"> |
| <set>Qt::AlignCenter</set> |
| </property> |
| <property name="placeholderText"> |
| <string>Enter a number, name, or email</string> |
| </property> |
| <property name="clearButtonEnabled"> |
| <bool>true</bool> |
| </property> |
| </widget> |
| </item> |
| <item> |
| <widget class="QToolButton" name="call_button"> |
| <property name="minimumSize"> |
| <size> |
| <width>0</width> |
| <height>0</height> |
| </size> |
| </property> |
| <property name="maximumSize"> |
| <size> |
| <width>24</width> |
| <height>24</height> |
| </size> |
| </property> |
| <property name="styleSheet"> |
| <string notr="true">background-color:transparent;</string> |
| </property> |
| <property name="text"> |
| <string/> |
| </property> |
| <property name="icon"> |
| <iconset resource="data.qrc"> |
| <normaloff>:/data/dark/ic_action_call.png</normaloff> |
| <normalon>:/data/light/ic_action_call.png</normalon> |
| <disabledoff>:/data/dark/ic_action_call.png</disabledoff> |
| <disabledon>:/data/light/ic_action_call.png</disabledon> |
| <activeoff>:/data/dark/ic_action_call.png</activeoff> |
| <activeon>:/data/light/ic_action_call.png</activeon> |
| <selectedoff>:/data/dark/ic_action_call.png</selectedoff> |
| <selectedon>:/data/light/ic_action_call.png</selectedon>:/data/dark/ic_action_call.png</iconset> |
| </property> |
| <property name="iconSize"> |
| <size> |
| <width>24</width> |
| <height>24</height> |
| </size> |
| </property> |
| </widget> |
| </item> |
| <item> |
| <widget class="QToolButton" name="toolButton_2"> |
| <property name="maximumSize"> |
| <size> |
| <width>24</width> |
| <height>24</height> |
| </size> |
| </property> |
| <property name="styleSheet"> |
| <string notr="true">background-color:transparent;</string> |
| </property> |
| <property name="text"> |
| <string>...</string> |
| </property> |
| <property name="icon"> |
| <iconset resource="data.qrc"> |
| <normaloff>:/data/dark/ic_action_video.png</normaloff>:/data/dark/ic_action_video.png</iconset> |
| </property> |
| <property name="iconSize"> |
| <size> |
| <width>24</width> |
| <height>24</height> |
| </size> |
| </property> |
| </widget> |
| </item> |
| <item> |
| <widget class="QToolButton" name="toolButton_3"> |
| <property name="maximumSize"> |
| <size> |
| <width>24</width> |
| <height>24</height> |
| </size> |
| </property> |
| <property name="styleSheet"> |
| <string notr="true">background-color:transparent;</string> |
| </property> |
| <property name="text"> |
| <string>...</string> |
| </property> |
| <property name="icon"> |
| <iconset resource="data.qrc"> |
| <normaloff>:/data/dark/ic_action_email.png</normaloff>:/data/dark/ic_action_email.png</iconset> |
| </property> |
| <property name="iconSize"> |
| <size> |
| <width>24</width> |
| <height>24</height> |
| </size> |
| </property> |
| </widget> |
| </item> |
| </layout> |
| </item> |
| <item> |
| <widget class="QTreeView" name="contact_list"> |
| <property name="sizePolicy"> |
| <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
| <horstretch>0</horstretch> |
| <verstretch>0</verstretch> |
| </sizepolicy> |
| </property> |
| <property name="minimumSize"> |
| <size> |
| <width>0</width> |
| <height>0</height> |
| </size> |
| </property> |
| <property name="styleSheet"> |
| <string notr="true">background-color: rgba(255,255,255, 0.0);</string> |
| </property> |
| <property name="frameShape"> |
| <enum>QFrame::NoFrame</enum> |
| </property> |
| <property name="frameShadow"> |
| <enum>QFrame::Plain</enum> |
| </property> |
| <property name="lineWidth"> |
| <number>0</number> |
| </property> |
| <property name="iconSize"> |
| <size> |
| <width>0</width> |
| <height>0</height> |
| </size> |
| </property> |
| </widget> |
| </item> |
| </layout> |
| </widget> |
| <widget class="QWidget" name="layoutWidget"> |
| <layout class="QVBoxLayout" name="verticalLayout_2"> |
| <item> |
| <widget class="QWidget" name="content_area" native="true"> |
| <property name="sizePolicy"> |
| <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> |
| <horstretch>0</horstretch> |
| <verstretch>0</verstretch> |
| </sizepolicy> |
| </property> |
| <property name="minimumSize"> |
| <size> |
| <width>460</width> |
| <height>0</height> |
| </size> |
| </property> |
| <property name="styleSheet"> |
| <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> |
| </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> |
| </widget> |
| </widget> |
| </item> |
| </layout> |
| </widget> |
| <widget class="QMenuBar" name="menuBar"> |
| <property name="geometry"> |
| <rect> |
| <x>0</x> |
| <y>0</y> |
| <width>860</width> |
| <height>22</height> |
| </rect> |
| </property> |
| </widget> |
| </widget> |
| <layoutdefault spacing="6" margin="11"/> |
| <customwidgets> |
| <customwidget> |
| <class>MySearchBar</class> |
| <extends>QLineEdit</extends> |
| <header>mysearchbar.h</header> |
| </customwidget> |
| </customwidgets> |
| <resources> |
| <include location="data.qrc"/> |
| </resources> |
| <connections/> |
| </ui> |