~ubuntu-branches/ubuntu/wily/qgis/wily

« back to all changes in this revision

Viewing changes to src/gui/symbology-ng/qgsstylev2managerdialog.h

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-04-24 15:12:20 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120424151220-r88g00af5fpn5fc3
Tags: 1.7.4+1.7.5~20120320-1
The "Sometimes they come back" release.

* Branching from Qgis tree and adapting to current Debian Policy and
  standards. The target tree is currently set to release-1.7.
  (closes: #661491, #606304, #615683, #616182, #600308)
* Policy bumped to 3.9.3.
* Moving to debhelper compatibility level 9.
* Source format is now 3.0 with quilt support.
* Merged with 2bf42287 upstream git snapshot.
* Migrated to dh_python2 instead of python-central.
  (closes: #617048)
* Snapshot in qgis.org release-1.7: c936d031
* Added an automagic creation of a lintian override for sqlite embedding.
  This is required for uploading currently.
* Added missing ${misc:Depends} to make lintian happy.
* Copyright notes updated and debian/copyright moved to format 1.0.
* More licenses notices now reported in debian/copyright. Thanks ftpmasters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
#define QGSSTYLEV2MANAGERDIALOG_H
4
4
 
5
5
#include <QDialog>
 
6
#include <QStandardItem>
6
7
 
7
8
#include "ui_qgsstylev2managerdialogbase.h"
8
9
#include "qgscontexthelp.h"
16
17
  public:
17
18
    QgsStyleV2ManagerDialog( QgsStyleV2* style, QWidget* parent = NULL );
18
19
 
 
20
    //! open add color ramp dialog, return color ramp's name if the ramp has been added
 
21
    static QString addColorRampStatic( QWidget* parent, QgsStyleV2* style );
 
22
 
19
23
  public slots:
20
24
    void addItem();
21
25
    void editItem();
22
26
    void removeItem();
 
27
    void exportItems();
 
28
    void importItems();
23
29
    //! adds symbols of some type to list
24
30
    void populateList();
25
31
 
28
34
 
29
35
    void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
30
36
 
 
37
    void itemChanged( QStandardItem* item );
 
38
 
31
39
  protected:
32
40
 
33
41
    //! populate combo box with known style items (symbols, color ramps)
55
63
    QgsStyleV2* mStyle;
56
64
 
57
65
    QString mStyleFilename;
 
66
 
 
67
    bool mModified;
58
68
};
59
69
 
60
70
#endif