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

[style manager] new default symbols shipped with QGIS & add a set of pre-defined tags #3793

Merged
merged 4 commits into from
Nov 22, 2016

Commits on Nov 22, 2016

  1. Configuration menu
    Copy the full SHA
    efd2992 View commit details
    Browse the repository at this point in the history
  2. [style] improve creation of default style db

    Instead of copyign a pre-existing .db shipped with QGIS, create
    a new .db and import an .xml file containing our default  symbols.
    
    On the UX front, the main benefit is being able to ship with
    pre-defined tags and favorite flags for the default symbols.
    
    On the developer side, it means we get rid of the requirement
    to maintain both an .xml and a binary .db in the source tree.
    We also say aurevoir to the symbol_xml2db.py script and the
    need to update the (obsolete) script every time we add a new
    feature to QgsStyle.
    nirvn committed Nov 22, 2016
    Configuration menu
    Copy the full SHA
    bc130be View commit details
    Browse the repository at this point in the history
  3. [style] speed up importXML() by using SQL transaction

    Gains are significant, importing 100 symbols would take 2.86s,
    but takes only 0.18s when using transaction.
    nirvn committed Nov 22, 2016
    Configuration menu
    Copy the full SHA
    0a0b3a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e226529 View commit details
    Browse the repository at this point in the history