Add message "Not yet implemented" when clicking on "Preferences" button (closes #1)
This commit is contained in:
parent
3039e30437
commit
0bd929dc06
1 changed files with 5 additions and 1 deletions
|
@ -73,6 +73,7 @@ class MainWindow(QTGUI.QMainWindow):
|
||||||
|
|
||||||
self.about_dialog = None
|
self.about_dialog = None
|
||||||
self.connection_dialog = None
|
self.connection_dialog = None
|
||||||
|
self.preferences_dialog = None
|
||||||
|
|
||||||
# network
|
# network
|
||||||
self.network = Network()
|
self.network = Network()
|
||||||
|
@ -196,7 +197,10 @@ class MainWindow(QTGUI.QMainWindow):
|
||||||
|
|
||||||
def open_preferences_dialog(self):
|
def open_preferences_dialog(self):
|
||||||
"""Open a dialog with preferences."""
|
"""Open a dialog with preferences."""
|
||||||
pass # TODO
|
# TODO: implement the preferences dialog box
|
||||||
|
messages = ['Not yet implemented!',
|
||||||
|
'']
|
||||||
|
self.preferences_dialog = AboutDialog('Preferences', messages, self)
|
||||||
|
|
||||||
def save_connection(self):
|
def save_connection(self):
|
||||||
"""Save connection configuration."""
|
"""Save connection configuration."""
|
||||||
|
|
Loading…
Reference in a new issue