theshell/mainwindow.ui

540 lines
15 KiB
Text
Raw Normal View History

2016-03-17 19:46:40 +11:00
<?xml version="1.0" encoding="UTF-8"?>
2016-02-17 17:24:00 +11:00
<ui version="4.0">
<class>MainWindow</class>
2016-03-17 19:46:40 +11:00
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
2016-02-17 17:24:00 +11:00
<rect>
<x>0</x>
<y>0</y>
2016-05-29 17:03:52 +10:00
<width>1251</width>
2016-03-17 19:46:40 +11:00
<height>81</height>
2016-02-17 17:24:00 +11:00
</rect>
</property>
2016-03-17 19:46:40 +11:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2016-02-17 17:24:00 +11:00
</property>
2016-03-17 19:46:40 +11:00
<property name="windowTitle">
<string>theShellTopPanel</string>
</property>
2016-05-29 17:03:52 +10:00
<property name="windowIcon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icon.svg</normaloff>:/icons/icon.svg</iconset>
</property>
2016-03-17 19:46:40 +11:00
<widget class="QWidget" name="centralWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="ClickableLabel" name="time">
<property name="font">
<font>
<pointsize>15</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
2016-05-29 17:03:52 +10:00
<string>&amp;16:20:00</string>
2016-03-17 19:46:40 +11:00
</property>
</widget>
</item>
<item>
<widget class="ClickableLabel" name="date">
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
2016-05-29 17:03:52 +10:00
<string>Sunday 1st &amp;Jan 1111</string>
2016-03-17 19:46:40 +11:00
</property>
</widget>
</item>
2016-03-29 17:42:24 +11:00
<item>
2016-05-29 17:03:52 +10:00
<widget class="ClickableLabel" name="timerIcon">
2016-03-29 17:42:24 +11:00
<property name="text">
2016-05-29 17:03:52 +10:00
<string>timerIcon</string>
</property>
</widget>
</item>
<item>
<widget class="ClickableLabel" name="timer">
<property name="text">
<string>&amp;00:00:59</string>
2016-03-29 17:42:24 +11:00
</property>
</widget>
</item>
2016-03-17 19:46:40 +11:00
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
2016-03-29 17:42:24 +11:00
<item>
<widget class="QPushButton" name="pushButton_2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="mic-on">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QFrame" name="batteryFrame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
2016-03-29 17:42:24 +11:00
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<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="Line" name="line_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="ClickableLabel" name="batteryLabel">
<property name="text">
2016-05-29 17:03:52 +10:00
<string>&amp;90% Battery remaining</string>
</property>
</widget>
</item>
</layout>
2016-03-29 17:42:24 +11:00
</widget>
</item>
2016-03-17 19:46:40 +11:00
<item>
<widget class="HoverFrame" name="brightnessFrame">
<property name="maximumSize">
<size>
<width>228</width>
<height>16777215</height>
</size>
2016-03-17 19:46:40 +11:00
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<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="QPushButton" name="brightnessButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>28</horstretch>
<verstretch>24</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>28</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="video-display">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="brightnessSlider">
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>0</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="tickPosition">
<enum>QSlider::TicksAbove</enum>
</property>
<property name="tickInterval">
<number>10</number>
</property>
</widget>
</item>
</layout>
2016-03-17 19:46:40 +11:00
</widget>
</item>
<item>
<widget class="Line" name="line_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
2016-03-29 17:42:24 +11:00
<item>
<widget class="ClickableLabel" name="networkLabel">
<property name="text">
<string>Connected to SSID</string>
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
2016-03-17 19:46:40 +11:00
<item>
<widget class="ClickableLabel" name="notifications">
<property name="text">
<string>0 Notifications</string>
2016-03-17 19:46:40 +11:00
</property>
</widget>
</item>
<item>
<widget class="Line" name="line_5">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="HoverFrame" name="volumeFrame">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>228</width>
<height>16777215</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<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="QPushButton" name="volumeButton">
<property name="maximumSize">
<size>
<width>28</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="audio-volume-high">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="volumeSlider">
<property name="maximumSize">
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>50</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance">
<bool>false</bool>
</property>
<property name="invertedControls">
<bool>false</bool>
</property>
<property name="tickPosition">
<enum>QSlider::NoTicks</enum>
</property>
<property name="tickInterval">
<number>10</number>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QFrame" name="mprisFrame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<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>
2016-05-29 17:03:52 +10:00
<item>
<widget class="Line" name="line_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="mprisSongName">
<property name="text">
2016-05-29 17:03:52 +10:00
<string>&amp;mprisSongName</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mprisBack">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="media-skip-backward">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mprisPause">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="media-playback-pause">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_3">
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="media-skip-forward">
<normaloff>.</normaloff>.</iconset>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2016-03-17 19:46:40 +11:00
<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>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>0</number>
</property>
2016-05-29 17:03:52 +10:00
<item>
<widget class="QPushButton" name="pushButton_4">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Keyboard</string>
</property>
</widget>
</item>
2016-03-17 19:46:40 +11:00
<item>
<widget class="QPushButton" name="pushButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Menu</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
2016-03-29 17:42:24 +11:00
</item>
<item>
<widget class="QFrame" name="openingAppFrame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<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="QLabel" name="appOpeningIcon">
<property name="text">
<string>Icon</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="appOpeningLabel">
<property name="text">
<string>Opening App...</string>
2016-03-29 17:42:24 +11:00
</property>
</widget>
</item>
</layout>
</widget>
2016-03-17 19:46:40 +11:00
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
2016-05-29 17:03:52 +10:00
<widget class="QFrame" name="windowList"/>
2016-03-17 19:46:40 +11:00
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
2016-02-17 17:24:00 +11:00
</widget>
2016-03-17 19:46:40 +11:00
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>ClickableLabel</class>
<extends>QLabel</extends>
<header>clickablelabel.h</header>
<slots>
<signal>clicked()</signal>
</slots>
</customwidget>
<customwidget>
<class>HoverFrame</class>
<extends>QFrame</extends>
<header>hoverframe.h</header>
<container>1</container>
<slots>
<signal>MouseEnter()</signal>
<signal>MouseExit()</signal>
</slots>
</customwidget>
2016-03-17 19:46:40 +11:00
</customwidgets>
2016-05-29 17:03:52 +10:00
<resources>
<include location="resources.qrc"/>
</resources>
2016-02-17 17:24:00 +11:00
<connections/>
</ui>