Skip to content

Commit 550ebd5

Browse files
Added tool tips for menu items.
1 parent 681169d commit 550ebd5

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

mainwindow.ui

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@
4848
</rect>
4949
</property>
5050
<widget class="QMenu" name="menuFile">
51+
<property name="toolTipDuration">
52+
<number>4000</number>
53+
</property>
5154
<property name="title">
5255
<string>&amp;File</string>
5356
</property>
57+
<property name="toolTipsVisible">
58+
<bool>true</bool>
59+
</property>
5460
<addaction name="actionOpen"/>
5561
<addaction name="actionSave"/>
5662
<addaction name="actionSaveAs"/>
@@ -59,9 +65,15 @@
5965
<addaction name="actionExit"/>
6066
</widget>
6167
<widget class="QMenu" name="menuEdit">
68+
<property name="toolTipDuration">
69+
<number>4000</number>
70+
</property>
6271
<property name="title">
6372
<string>&amp;Edit</string>
6473
</property>
74+
<property name="toolTipsVisible">
75+
<bool>true</bool>
76+
</property>
6577
<addaction name="actionUndo"/>
6678
<addaction name="actionRedo"/>
6779
<addaction name="actionShow_History"/>
@@ -82,9 +94,15 @@
8294
<addaction name="actionAbout"/>
8395
</widget>
8496
<widget class="QMenu" name="menuView">
97+
<property name="toolTipDuration">
98+
<number>4000</number>
99+
</property>
85100
<property name="title">
86101
<string>View</string>
87102
</property>
103+
<property name="toolTipsVisible">
104+
<bool>true</bool>
105+
</property>
88106
<addaction name="actionAxialCoronalLoRes"/>
89107
<addaction name="actionAxialCoronalHiRes"/>
90108
</widget>
@@ -113,6 +131,9 @@
113131
<property name="text">
114132
<string>&amp;Open</string>
115133
</property>
134+
<property name="toolTip">
135+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Open&lt;/span&gt;&lt;/p&gt;&lt;p&gt;User selects directory in which to search for NIFTI MRI files. &lt;/p&gt;&lt;p&gt;The four NIFTI files loaded are fatUpper.nii, fatLower.nii, waterUpper.nii, and waterLower.nii. &lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; Alternatively, the data may be compressed with *.nii.gz file format&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
136+
</property>
116137
<property name="shortcut">
117138
<string>Ctrl+O</string>
118139
</property>
@@ -156,16 +177,25 @@
156177
<property name="text">
157178
<string>Save</string>
158179
</property>
180+
<property name="toolTip">
181+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Save&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Performs same function as Save As but uses last saved directory as the saving point. &lt;/p&gt;&lt;p&gt;Each fat layer is saved in its own text file within that directory.&lt;/p&gt;&lt;p&gt;This does &lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;NOT&lt;/span&gt; alter the NIFTI images in any way nor does it save them.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
182+
</property>
159183
</action>
160184
<action name="actionSaveAs">
161185
<property name="text">
162186
<string>Save As</string>
163187
</property>
188+
<property name="toolTip">
189+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Save As&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Saves the &lt;span style=&quot; text-decoration: underline;&quot;&gt;tracing results&lt;/span&gt; the user has drawn onto the NIFTI image. User will select a directory to save tracing results. Each fat layer is saved in its own text file within that directory.&lt;/p&gt;&lt;p&gt;This does &lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;NOT&lt;/span&gt; alter the NIFTI images in any way nor does it save them.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
190+
</property>
164191
</action>
165192
<action name="actionImportTracingData">
166193
<property name="text">
167194
<string>Import Tracing Data</string>
168195
</property>
196+
<property name="toolTip">
197+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Import Tracing Data&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Loads previously drawn tracing data into the viewer to be displayed, altered, and saved. &lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Note:&lt;/span&gt; The appropiate NIFTI image must already be loaded before the tracing data is loaded.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
198+
</property>
169199
</action>
170200
<action name="actionWhatsThis">
171201
<property name="checkable">

0 commit comments

Comments
 (0)