-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit service settings via tableView #4
Conversation
…ice without saving/discarding
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't look precisely into the model, but the UI is looking great! Love it!
'dbname': 'qgis_test_db2'} | ||
_settings = { | ||
"host": "localhost", | ||
"port": "5433", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"port": "5433", | |
"port": "5432", |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are/were just quick tests. There I was changing parameters so that the overwrite result was even more evident.
BTW, those quick tests could eventually become unit tests in this repo.
def __init__(self, iface): | ||
self.iface = iface | ||
self.action = None | ||
|
||
def initGui(self): | ||
self.action = QAction('Go!', self.iface.mainWindow()) | ||
self.action = QAction("Go!", self.iface.mainWindow()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's create an icon for the plugin (in another PR it's fine)
Avoid changing current edit service without saving/discarding.