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>
</property>
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<property name="documentMode">
<bool>false</bool>
@ -391,6 +391,9 @@ font-size: 15px;
</item>
<item row="0" column="3">
<widget class="QSpinBox" name="spinBoxCoursesToSemester">
<property name="toolTip">
<string>ending semester</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -420,6 +423,9 @@ font-size: 15px;
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinBoxCoursesToYear">
<property name="toolTip">
<string>ending year</string>
</property>
<property name="minimum">
<number>2008</number>
</property>
@ -521,7 +527,7 @@ font-size: 15px;
</size>
</property>
<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 name="text">
<string>Clear Table</string>
@ -539,8 +545,11 @@ font-size: 15px;
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>get GPA</string>
</property>
<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 name="text">
<string>Get GPA</string>
@ -558,6 +567,9 @@ font-size: 15px;
</item>
<item row="0" column="1">
<widget class="QPushButton" name="revertBtn">
<property name="toolTip">
<string>revert any changes</string>
</property>
<property name="text">
<string>Revert Changes</string>
</property>
@ -599,6 +611,9 @@ font-size: 15px;
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>show only course's grade point greater than zero</string>
</property>
<property name="text">
<string>Only Main Courses</string>
</property>
@ -686,6 +701,9 @@ font-size: 15px;
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="spinBoxCoursesFromYear">
<property name="toolTip">
<string>starting year</string>
</property>
<property name="minimum">
<number>2008</number>
</property>
@ -715,6 +733,9 @@ font-size: 15px;
</item>
<item row="0" column="3">
<widget class="QSpinBox" name="spinBoxCoursesFromSemester">
<property name="toolTip">
<string>starting semester</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@ -871,6 +892,9 @@ font-size: 15px;
</item>
<item>
<widget class="QPushButton" name="getCalendarBtn">
<property name="toolTip">
<string>show studential schedule and exam list</string>
</property>
<property name="text">
<string>Get Schedule &amp;&amp; Exam</string>
</property>
@ -878,6 +902,9 @@ font-size: 15px;
</item>
<item>
<widget class="QPushButton" name="examsBtn">
<property name="toolTip">
<string>show exam dialog</string>
</property>
<property name="text">
<string>Show Exams</string>
</property>
@ -885,6 +912,9 @@ font-size: 15px;
</item>
<item>
<widget class="QPushButton" name="exportToCVSBtn">
<property name="toolTip">
<string>show exportion dialog</string>
</property>
<property name="text">
<string>Export to CSV</string>
</property>
@ -915,8 +945,14 @@ font-size: 15px;
</item>
<item row="2" column="0">
<widget class="QLabel" name="labelMadeBy">
<property name="toolTip">
<string>http://liranbg.github.io/JceManager</string>
</property>
<property name="statusTip">
<string/>
</property>
<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 name="openExternalLinks">
<bool>true</bool>

View file

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>810</width>
<height>306</height>
<width>811</width>
<height>327</height>
</rect>
</property>
<property name="sizePolicy">
@ -68,7 +68,10 @@
<item>
<widget class="QPushButton" name="pushButtonRevert">
<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 name="text">
<string>Revert</string>
@ -78,7 +81,7 @@
<item>
<widget class="QPushButton" name="pushButtonCancel">
<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 name="text">
<string>Cancel</string>
@ -88,7 +91,7 @@
<item>
<widget class="QPushButton" name="pushButtonOk">
<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 name="text">
<string>Ok</string>

View file

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

View file

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