Skip to content

Commit

Permalink
More tool tips.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarteberg committed Oct 6, 2012
1 parent 4dfe034 commit f4f3053
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 5 deletions.
32 changes: 29 additions & 3 deletions ilastik/applets/batchIo/batchIoDrawer.ui
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>240</width>
<height>381</height>
<height>393</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -24,13 +24,19 @@
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QRadioButton" name="saveWithInputButton">
<property name="toolTip">
<string>Save batch output datasets in the same directories as the input datasets</string>
</property>
<property name="text">
<string>Save with Input</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="saveToDirButton">
<property name="toolTip">
<string>Save all batch output datasets to the same directory</string>
</property>
<property name="text">
<string>Save to Directory:</string>
</property>
Expand All @@ -43,6 +49,9 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Batch output dataset directory</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
Expand All @@ -53,6 +62,9 @@
</item>
<item>
<widget class="QPushButton" name="outputDirChooseButton">
<property name="toolTip">
<string>Select the batch output dataset directory</string>
</property>
<property name="text">
<string>Choose...</string>
</property>
Expand All @@ -70,7 +82,11 @@
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLineEdit" name="outputSuffixEdit"/>
<widget class="QLineEdit" name="outputSuffixEdit">
<property name="toolTip">
<string>Batch output dataset naming convention: input_name + suffix</string>
</property>
</widget>
</item>
</layout>
</widget>
Expand All @@ -82,7 +98,11 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QComboBox" name="exportFormatCombo"/>
<widget class="QComboBox" name="exportFormatCombo">
<property name="toolTip">
<string>Select the export dataset storage format</string>
</property>
</widget>
</item>
</layout>
</widget>
Expand All @@ -95,13 +115,19 @@
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QPushButton" name="exportAllButton">
<property name="toolTip">
<string>Compute and store all batch output datasets</string>
</property>
<property name="text">
<string>Export All</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="deleteAllButton">
<property name="toolTip">
<string>Delete all previously computed batch output datasets</string>
</property>
<property name="text">
<string>Delete All</string>
</property>
Expand Down
3 changes: 2 additions & 1 deletion ilastik/applets/batchIo/batchIoGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def initAppletDrawerUic(self):
self.drawer.deleteAllButton.clicked.connect( self.deleteAllResults )

for i, formatInfo in sorted(SupportedFormats.items()):
self.drawer.exportFormatCombo.addItem( formatInfo.name + ' (.' + formatInfo.extension + ')' )
self.drawer.exportFormatCombo.addItem( formatInfo.name + ' (' + formatInfo.extension + ')' )
self.drawer.exportFormatCombo.currentIndexChanged.connect( partial(self.handleExportFormatChanged) )

def initCentralUic(self):
Expand Down Expand Up @@ -214,6 +214,7 @@ def updateTableForSlot(self, slot):
self.tableWidget.setItem( row, Column.ExportLocation, QTableWidgetItem( outputDataPath ) )

exportNowButton = QPushButton("Export")
exportNowButton.setToolTip("Generate individual batch output dataset.")
exportNowButton.clicked.connect( bind(self.exportResultsForSlot, self.mainOperator.ExportResult[row], self.mainOperator.ProgressSignal[row] ) )
self.tableWidget.setCellWidget( row, Column.Action, exportNowButton )

Expand Down
5 changes: 4 additions & 1 deletion ilastik/applets/pixelClassification/labelingDrawer.ui
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>261</width>
<width>268</width>
<height>321</height>
</rect>
</property>
Expand Down Expand Up @@ -109,6 +109,9 @@
</item>
<item>
<widget class="QPushButton" name="savePredictionsButton">
<property name="toolTip">
<string>Comput predictions for your entire dataset (all images) and save the project</string>
</property>
<property name="text">
<string>Save Predictions Now</string>
</property>
Expand Down

0 comments on commit f4f3053

Please sign in to comment.