Skip to content
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

Issue3243 taking crs into account with bookmarks #78

Closed
wants to merge 3 commits into from
Closed

Issue3243 taking crs into account with bookmarks #78

wants to merge 3 commits into from

Conversation

rduivenvoorde
Copy link
Contributor

Issue 3243 is about taking crs into account with bookmarks.

So first: added valid crsid in database for every bookmark when making a bookmark
second take it into account when using 'zoomto bookmark'

In the ticket there is also the wish to be able to edit values.
When looking into that it seems easier to change the widget to a view with a QSqlTableModel model behind it,
AND using QSqlDatabase (for which I'm not sure if that is ok for QGIS)

Now you can use a bookmark (which has a crs in the db) in different projects
You can edit name, project, xyxy by clicking F2

Sorry, these are two changesets, I do not know how to merge these into one. If it is problematic I can try do this in a new branch and merge both changeset myself.

@ghost ghost assigned jef-n Jan 27, 2012
@NathanW2
Copy link
Member

@jef-n can you take a look at this ticket for me to see if we can merge it.

jef-n pushed a commit that referenced this pull request Jan 28, 2012
Richard Duivenvoorde (from pull request #78)
- crs taking into account, bookmarklist is now editable qtreeview
- set better column names the column names from the table

Juergen Fischer added refactoring:
- move adding bookmarks into QgsBookmarks
- make QgsBookmarks a singleton
- delete multiple entries at once
@jef-n
Copy link
Member

jef-n commented Jan 28, 2012

pull and refactored in 3c45355

@jef-n jef-n closed this Jan 28, 2012
alexbruy pushed a commit that referenced this pull request Mar 4, 2012
Richard Duivenvoorde (from pull request #78)
- crs taking into account, bookmarklist is now editable qtreeview
- set better column names the column names from the table

Juergen Fischer added refactoring:
- move adding bookmarks into QgsBookmarks
- make QgsBookmarks a singleton
- delete multiple entries at once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants