added ui tooltips

added tooltips to each ui to describe its ui action
This commit is contained in:
liranbg 2014-10-16 10:03:24 +03:00
parent 68030355c8
commit 27764123cc
4 changed files with 54 additions and 9 deletions

View file

@ -64,7 +64,7 @@ background: qlineargradient(spread:pad, x1:0.496, y1:0, x2:0.508, y2:1, stop:0 r
<enum>QTabWidget::Rounded</enum> <enum>QTabWidget::Rounded</enum>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<property name="documentMode"> <property name="documentMode">
<bool>false</bool> <bool>false</bool>
@ -391,6 +391,9 @@ font-size: 15px;
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<widget class="QSpinBox" name="spinBoxCoursesToSemester"> <widget class="QSpinBox" name="spinBoxCoursesToSemester">
<property name="toolTip">
<string>ending semester</string>
</property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -420,6 +423,9 @@ font-size: 15px;
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="spinBoxCoursesToYear"> <widget class="QSpinBox" name="spinBoxCoursesToYear">
<property name="toolTip">
<string>ending year</string>
</property>
<property name="minimum"> <property name="minimum">
<number>2008</number> <number>2008</number>
</property> </property>
@ -521,7 +527,7 @@ font-size: 15px;
</size> </size>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Clear table&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>clear table</string>
</property> </property>
<property name="text"> <property name="text">
<string>Clear Table</string> <string>Clear Table</string>
@ -539,8 +545,11 @@ font-size: 15px;
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip">
<string>get GPA</string>
</property>
<property name="whatsThis"> <property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Get your grades&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string/>
</property> </property>
<property name="text"> <property name="text">
<string>Get GPA</string> <string>Get GPA</string>
@ -558,6 +567,9 @@ font-size: 15px;
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QPushButton" name="revertBtn"> <widget class="QPushButton" name="revertBtn">
<property name="toolTip">
<string>revert any changes</string>
</property>
<property name="text"> <property name="text">
<string>Revert Changes</string> <string>Revert Changes</string>
</property> </property>
@ -599,6 +611,9 @@ font-size: 15px;
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="toolTip">
<string>show only course's grade point greater than zero</string>
</property>
<property name="text"> <property name="text">
<string>Only Main Courses</string> <string>Only Main Courses</string>
</property> </property>
@ -686,6 +701,9 @@ font-size: 15px;
</item> </item>
<item row="0" column="1"> <item row="0" column="1">
<widget class="QSpinBox" name="spinBoxCoursesFromYear"> <widget class="QSpinBox" name="spinBoxCoursesFromYear">
<property name="toolTip">
<string>starting year</string>
</property>
<property name="minimum"> <property name="minimum">
<number>2008</number> <number>2008</number>
</property> </property>
@ -715,6 +733,9 @@ font-size: 15px;
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<widget class="QSpinBox" name="spinBoxCoursesFromSemester"> <widget class="QSpinBox" name="spinBoxCoursesFromSemester">
<property name="toolTip">
<string>starting semester</string>
</property>
<property name="minimum"> <property name="minimum">
<number>1</number> <number>1</number>
</property> </property>
@ -871,6 +892,9 @@ font-size: 15px;
</item> </item>
<item> <item>
<widget class="QPushButton" name="getCalendarBtn"> <widget class="QPushButton" name="getCalendarBtn">
<property name="toolTip">
<string>show studential schedule and exam list</string>
</property>
<property name="text"> <property name="text">
<string>Get Schedule &amp;&amp; Exam</string> <string>Get Schedule &amp;&amp; Exam</string>
</property> </property>
@ -878,6 +902,9 @@ font-size: 15px;
</item> </item>
<item> <item>
<widget class="QPushButton" name="examsBtn"> <widget class="QPushButton" name="examsBtn">
<property name="toolTip">
<string>show exam dialog</string>
</property>
<property name="text"> <property name="text">
<string>Show Exams</string> <string>Show Exams</string>
</property> </property>
@ -885,6 +912,9 @@ font-size: 15px;
</item> </item>
<item> <item>
<widget class="QPushButton" name="exportToCVSBtn"> <widget class="QPushButton" name="exportToCVSBtn">
<property name="toolTip">
<string>show exportion dialog</string>
</property>
<property name="text"> <property name="text">
<string>Export to CSV</string> <string>Export to CSV</string>
</property> </property>
@ -915,8 +945,14 @@ font-size: 15px;
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
<widget class="QLabel" name="labelMadeBy"> <widget class="QLabel" name="labelMadeBy">
<property name="toolTip">
<string>http://liranbg.github.io/JceManager</string>
</property>
<property name="statusTip">
<string/>
</property>
<property name="text"> <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> <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;/ps</string>
</property> </property>
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>810</width> <width>811</width>
<height>306</height> <height>327</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -68,7 +68,10 @@
<item> <item>
<widget class="QPushButton" name="pushButtonRevert"> <widget class="QPushButton" name="pushButtonRevert">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Revert changes&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>revert any changes</string>
</property>
<property name="statusTip">
<string/>
</property> </property>
<property name="text"> <property name="text">
<string>Revert</string> <string>Revert</string>
@ -78,7 +81,7 @@
<item> <item>
<widget class="QPushButton" name="pushButtonCancel"> <widget class="QPushButton" name="pushButtonCancel">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Discard and hide&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>discard and close</string>
</property> </property>
<property name="text"> <property name="text">
<string>Cancel</string> <string>Cancel</string>
@ -88,7 +91,7 @@
<item> <item>
<widget class="QPushButton" name="pushButtonOk"> <widget class="QPushButton" name="pushButtonOk">
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Save and hide&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>save and close</string>
</property> </property>
<property name="text"> <property name="text">
<string>Ok</string> <string>Ok</string>

View file

@ -185,6 +185,9 @@
</item> </item>
<item row="0" column="3"> <item row="0" column="3">
<widget class="QCheckBox" name="isExam"> <widget class="QCheckBox" name="isExam">
<property name="statusTip">
<string>integrate exam schedule</string>
</property>
<property name="text"> <property name="text">
<string>Include Exams</string> <string>Include Exams</string>
</property> </property>

View file

@ -68,6 +68,9 @@
</item> </item>
<item> <item>
<widget class="QPushButton" name="pushButton"> <widget class="QPushButton" name="pushButton">
<property name="toolTip">
<string/>
</property>
<property name="text"> <property name="text">
<string>Close</string> <string>Close</string>
</property> </property>