widget instead of dock

This commit is contained in:
liranbg 2014-10-14 03:20:10 +03:00
parent d2d6495030
commit 2829f66e9c

View file

@ -50,16 +50,6 @@ background: qlineargradient(spread:pad, x1:0.496, y1:0, x2:0.508, y2:1, stop:0 r
</property> </property>
<layout class="QGridLayout" name="gridLayout_13"> <layout class="QGridLayout" name="gridLayout_13">
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel" name="labelMadeBy">
<property name="text">
<string>&lt;p align=&quot;center&quot;&gt;Made By &lt;a href=&quot;http://liranbg.github.io/JceManager/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;JceManager&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
@ -183,12 +173,21 @@ font-size: 15px;
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip">
<string>login</string>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true"/> <string notr="true"/>
</property> </property>
<property name="text"> <property name="text">
<string>Login</string> <string>Login</string>
</property> </property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
@ -922,49 +921,151 @@ font-size: 15px;
</widget> </widget>
</widget> </widget>
</item> </item>
</layout> <item row="2" column="0">
<widget class="QLabel" name="labelMadeBy">
<property name="text">
<string>&lt;p align=&quot;center&quot;&gt;Made By &lt;a href=&quot;http://liranbg.github.io/JceManager/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;JceManager&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget> </widget>
<widget class="QDockWidget" name="dockWidget"> </item>
<item row="0" column="0">
<widget class="QWidget" name="widget" native="true">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="statusTip"> <property name="maximumSize">
<string>Settings</string> <size>
<width>16777215</width>
<height>52</height>
</size>
</property> </property>
<property name="layoutDirection"> <layout class="QGridLayout" name="gridLayout_17">
<enum>Qt::LeftToRight</enum> <property name="sizeConstraint">
<enum>QLayout::SetMinimumSize</enum>
</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>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="1">
<widget class="QFrame" name="frameTeam">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="toolTip">
<string>Team Credit</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>
<layout class="QGridLayout" name="gridLayout_15">
<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>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="creditButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="toolTip">
<string>Team Credit</string>
</property> </property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">#dockWidgetContents { <string notr="true">QPushButton {
background: qlineargradient(spread:pad, x1:0.496, y1:0, x2:0.508, y2:1, color: white;
stop:0 rgba(180, 231, 224, 255), border-radius: 16px;
stop:1 rgba(195, 231, 224, 218)); padding: 1px;
} padding-left: 1px;
</string> padding-right: 1px;
min-width: 48px;
max-width: 48px;
min-height: 48px;
max-height: 48px;
}</string>
</property> </property>
<property name="floating"> <property name="text">
<bool>false</bool>
</property>
<property name="features">
<set>QDockWidget::DockWidgetMovable</set>
</property>
<property name="windowTitle">
<string/> <string/>
</property> </property>
<attribute name="dockWidgetArea"> <property name="icon">
<number>4</number> <iconset resource="../resources/connectionstatus.qrc">
</attribute> <normaloff>:/icons/team.png</normaloff>:/icons/team.png</iconset>
<widget class="QWidget" name="dockWidgetContents">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<layout class="QGridLayout" name="gridLayout_16"> <property name="iconSize">
<size>
<width>36</width>
<height>36</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0"> <item row="0" column="0">
<widget class="QFrame" name="frameLanguage"> <widget class="QFrame" name="frameLanguage">
<property name="sizePolicy"> <property name="sizePolicy">
@ -985,6 +1086,9 @@ stop:1 rgba(195, 231, 224, 218));
<height>48</height> <height>48</height>
</size> </size>
</property> </property>
<property name="toolTip">
<string>Language</string>
</property>
<property name="frameShape"> <property name="frameShape">
<enum>QFrame::NoFrame</enum> <enum>QFrame::NoFrame</enum>
</property> </property>
@ -1030,6 +1134,9 @@ stop:1 rgba(195, 231, 224, 218));
<height>50</height> <height>50</height>
</size> </size>
</property> </property>
<property name="toolTip">
<string>Language</string>
</property>
<property name="autoFillBackground"> <property name="autoFillBackground">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -1087,6 +1194,9 @@ max-height: 48px;
<height>48</height> <height>48</height>
</size> </size>
</property> </property>
<property name="toolTip">
<string>Help</string>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true"/> <string notr="true"/>
</property> </property>
@ -1135,6 +1245,9 @@ max-height: 48px;
<height>50</height> <height>50</height>
</size> </size>
</property> </property>
<property name="toolTip">
<string>Help</string>
</property>
<property name="styleSheet"> <property name="styleSheet">
<string notr="true">QPushButton { <string notr="true">QPushButton {
color: white; color: white;
@ -1166,144 +1279,14 @@ max-height: 48px;
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="0" column="1"> </layout>
<widget class="QFrame" name="frameTeam"> <zorder>frameLanguage</zorder>
<property name="sizePolicy"> <zorder>frameTeam</zorder>
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <zorder>frameHelp</zorder>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>48</width>
<height>48</height>
</size>
</property>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<layout class="QGridLayout" name="gridLayout_15">
<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>
<property name="spacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="creditButton">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>50</width>
<height>50</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
color: white;
border-radius: 16px;
padding: 1px;
padding-left: 1px;
padding-right: 1px;
min-width: 48px;
max-width: 48px;
min-height: 48px;
max-height: 48px;
}</string>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="../resources/connectionstatus.qrc">
<normaloff>:/icons/team.png</normaloff>:/icons/team.png</iconset>
</property>
<property name="iconSize">
<size>
<width>36</width>
<height>36</height>
</size>
</property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item>
</layout>
</widget>
</widget>
<action name="actionCredits">
<property name="text">
<string>Credits</string>
</property>
</action>
<action name="actionExit">
<property name="text">
<string>Exit</string>
</property>
</action>
<action name="actionHebrew">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Hebrew</string>
</property>
</action>
<action name="actionEnglish">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>English</string>
</property>
</action>
<action name="actionOS_Default">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>OS Default</string>
</property>
</action>
<action name="actionHow_To">
<property name="text">
<string>How To</string>
</property>
</action>
</widget> </widget>
<layoutdefault spacing="6" margin="11"/> <layoutdefault spacing="6" margin="11"/>
<tabstops> <tabstops>
@ -1311,15 +1294,25 @@ max-height: 48px;
<tabstop>pswdLineEdit</tabstop> <tabstop>pswdLineEdit</tabstop>
<tabstop>keepLogin</tabstop> <tabstop>keepLogin</tabstop>
<tabstop>loginButton</tabstop> <tabstop>loginButton</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>spinBoxCoursesFromYear</tabstop> <tabstop>spinBoxCoursesFromYear</tabstop>
<tabstop>spinBoxCoursesFromSemester</tabstop> <tabstop>spinBoxCoursesFromSemester</tabstop>
<tabstop>spinBoxCoursesToYear</tabstop> <tabstop>spinBoxCoursesToYear</tabstop>
<tabstop>spinBoxCoursesToSemester</tabstop> <tabstop>spinBoxCoursesToSemester</tabstop>
<tabstop>ratesButton</tabstop>
<tabstop>revertBtn</tabstop>
<tabstop>clearTableButton</tabstop>
<tabstop>checkBoxCoursesInfluence</tabstop>
<tabstop>coursesTable</tabstop> <tabstop>coursesTable</tabstop>
<tabstop>graphButton</tabstop>
<tabstop>spinBoxYear</tabstop> <tabstop>spinBoxYear</tabstop>
<tabstop>spinBoxSemester</tabstop> <tabstop>spinBoxSemester</tabstop>
<tabstop>getCalendarBtn</tabstop> <tabstop>getCalendarBtn</tabstop>
<tabstop>examsBtn</tabstop>
<tabstop>exportToCVSBtn</tabstop>
<tabstop>langButton</tabstop>
<tabstop>creditButton</tabstop>
<tabstop>howtoButton</tabstop>
<tabstop>tabWidget</tabstop>
</tabstops> </tabstops>
<resources> <resources>
<include location="../resources/connectionstatus.qrc"/> <include location="../resources/connectionstatus.qrc"/>