moved "Plot selected" to right-click menu
This commit is contained in:
@ -24,15 +24,15 @@ class MainWindow(QMainWindow):
|
||||
lst.setAlternatingRowColors(True)
|
||||
lst.itemDoubleClicked.connect(self.on_select_list_item)
|
||||
|
||||
lst_menu = lst.lst.menu
|
||||
lst_menu.addSeparator()
|
||||
lst_menu.addAction("Plot selected", self.on_plot_selected)
|
||||
|
||||
bar = self.menuBar()
|
||||
|
||||
self.menu_settings = menu = BarMenu(bar, "&Settings")
|
||||
menu.addCheckbox("Open new plots", state=True)
|
||||
|
||||
#TODO: where should this be? right click menu of the list?
|
||||
self.menu_plot = menu = BarMenu(bar, "Plot")
|
||||
menu.addAction("Plot selected", self.on_plot_selected)
|
||||
|
||||
self.mdi = mdi = MDIArea(bar)
|
||||
|
||||
splitter = QSplitter(Qt.Horizontal)
|
||||
|
Reference in New Issue
Block a user