Skip to content

Commit

Permalink
rename/order some buttons
Browse files Browse the repository at this point in the history
teuben committed Aug 22, 2023
1 parent 9603098 commit 0a39d02
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pyqt_run_minik.py
Original file line number Diff line number Diff line change
@@ -50,12 +50,12 @@ def initUI(self):
# run, save, load, quit, help buttons -> located in a toolbar
toolbar = self.addToolBar("ToolBar")

run_action = qw.QAction('Output', self)
run_action.setToolTip('Output the command the would be ran when plotted')

plot_action = qw.QAction('Run', self)
plot_action.setToolTip('Run minik and Plot the output of the command ran under these configurations')

run_action = qw.QAction('Dryrun', self)
run_action.setToolTip('Output the command the would be ran when run')

edit_action = qw.QAction('Edit', self)
edit_action.setToolTip('Open the input file for editing')

@@ -68,10 +68,11 @@ def initUI(self):
quit_action = qw.QAction('Quit', self)
quit_action.setToolTip('Exits the application')

toolbar.addAction(run_action)
toolbar.addSeparator()

toolbar.addAction(plot_action)
toolbar.addSeparator()
toolbar.addAction(run_action)
toolbar.addSeparator()
toolbar.addAction(edit_action)
toolbar.addSeparator()
toolbar.addAction(help_action)

0 comments on commit 0a39d02

Please sign in to comment.