theshell/mainwindow.ui

647 lines
19 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-06-12 23:00:03 +10:00
<width>1582</width>
<height>92</height>
2016-02-17 17:24:00 +11:00
</rect>
</property>
2016-03-17 19:46:40 +11:00
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Minimum">
2016-03-17 19:46:40 +11:00
<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">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2016-03-17 19:46:40 +11:00
<layout class="QVBoxLayout" name="verticalLayout">
<property name="sizeConstraint">
<enum>QLayout::SetMaximumSize</enum>
</property>
2016-03-17 19:46:40 +11:00
<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="toolTip">
<string>theWave</string>
</property>
2016-03-29 17:42:24 +11:00
<property name="text">
<string/>
</property>
<property name="icon">
2016-06-03 17:26:25 +10:00
<iconset theme="thewave" resource="resources.qrc">
<normaloff>:/icons/thewave.svg</normaloff>:/icons/thewave.svg</iconset>
2016-03-29 17:42:24 +11:00
</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">
2016-06-12 23:00:03 +10:00
<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>
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>No 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>
2016-06-12 11:28:41 +10:00
<widget class="ClickableLabel" 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="toolTip">
<string>Previous</string>
</property>
<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="toolTip">
<string>Pause</string>
</property>
<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>
2016-07-06 12:37:05 +10:00
<widget class="QPushButton" name="mprisForward">
<property name="toolTip">
<string>Next</string>
</property>
<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-06-11 17:07:36 +10:00
<item>
<widget class="Line" name="line_7">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item>
<widget class="SysTrayIcons" name="SysTray">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
</widget>
</item>
2016-03-17 19:46:40 +11:00
<item>
2016-06-12 23:00:03 +10:00
<widget class="QFrame" name="expanderFrame">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2016-03-17 19:46:40 +11:00
</property>
2016-06-12 23:00:03 +10:00
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
2016-03-17 19:46:40 +11:00
</property>
2016-06-12 23:00:03 +10:00
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
2016-03-17 19:46:40 +11:00
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="openMenu">
2016-03-17 19:46:40 +11:00
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Open the Gateway to your PC</string>
</property>
2016-03-17 19:46:40 +11:00
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icon.svg</normaloff>:/icons/icon.svg</iconset>
</property>
<property name="iconSize">
<size>
<width>32</width>
<height>32</height>
</size>
2016-03-17 19:46:40 +11:00
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
2016-03-29 17:42:24 +11:00
</item>
2016-06-30 16:07:29 +10:00
<item>
<widget class="QFrame" name="desktopsFrame">
<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="QPushButton" name="desktopBack">
<property name="toolTip">
<string>Previous Desktop</string>
</property>
2016-06-30 16:07:29 +10:00
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="go-previous">
<normaloff>.</normaloff>.</iconset>
2016-06-30 16:07:29 +10:00
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="desktopName">
<property name="text">
<string>Desktop 1</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="desktopNext">
<property name="toolTip">
<string>Next Desktop</string>
</property>
2016-06-30 16:07:29 +10:00
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="go-next">
<normaloff>.</normaloff>.</iconset>
2016-06-30 16:07:29 +10:00
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
2016-03-29 17:42:24 +11:00
<item>
<widget class="QFrame" name="windowList">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item>
2016-06-30 16:07:29 +10:00
<widget class="QFrame" name="frame">
<property name="sizePolicy">
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<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>
</layout>
</widget>
2016-03-17 19:46:40 +11:00
</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-06-11 17:07:36 +10:00
<customwidget>
<class>SysTrayIcons</class>
<extends>QFrame</extends>
<header>systrayicons.h</header>
<container>1</container>
</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>