|
|
@ -179,17 +179,26 @@ class MiniWindow(QDialog): |
|
|
|
main_layout.addWidget(self.send_button, 2, 1) |
|
|
|
|
|
|
|
menubar = QMenuBar() |
|
|
|
file_menu = menubar.addMenu(_("&File")) |
|
|
|
file_menu.addAction(_("Open")) |
|
|
|
electrum_menu = menubar.addMenu(_("&Electrum")) |
|
|
|
electrum_menu.addMenu(_("&Servers")) |
|
|
|
electrum_menu.addSeparator() |
|
|
|
electrum_menu.addAction(_("&Quit")) |
|
|
|
|
|
|
|
view_menu = menubar.addMenu(_("&View")) |
|
|
|
expert_gui = view_menu.addAction(_("&Pro Mode")) |
|
|
|
self.connect(expert_gui, SIGNAL("triggered()"), expand_callback) |
|
|
|
view_menu.addMenu(_("&Themes")) |
|
|
|
view_menu.addSeparator() |
|
|
|
view_menu.addAction(_("Show History")) |
|
|
|
|
|
|
|
settings_menu = menubar.addMenu(_("&Settings")) |
|
|
|
expert_gui = settings_menu.addAction(_("&Switch to expert GUI")) |
|
|
|
self.connect(expert_gui, SIGNAL("triggered()"), expand_callback) |
|
|
|
settings_menu.addAction(_("&Configure Electrum")) |
|
|
|
|
|
|
|
menubar.addMenu(_("&Help")) |
|
|
|
help_menu = menubar.addMenu(_("&Help")) |
|
|
|
help_menu.addAction(_("&Contents")) |
|
|
|
help_menu.addSeparator() |
|
|
|
help_menu.addAction(_("&Report Bug")) |
|
|
|
help_menu.addAction(_("&About")) |
|
|
|
main_layout.setMenuBar(menubar) |
|
|
|
|
|
|
|
quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self) |
|
|
|