QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
QgsStyleV2ManagerDialog Class Reference

#include <qgsstylev2managerdialog.h>

Inheritance diagram for QgsStyleV2ManagerDialog:
Inheritance graph
[legend]

Public Slots

void addGroup ()
 
void addItem ()
 
void editItem ()
 
void editSmartgroupAction ()
 edit the selected smart group More...
 
void exportItems ()
 
void filterSymbols (QString)
 filter the symbols based on input search term More...
 
void groupChanged (const QModelIndex &)
 
void groupRenamed (QStandardItem *)
 
void groupSymbolsAction ()
 carryout symbol grouping using check boxes More...
 
void grouptreeContextMenu (const QPoint &)
 Context menu for the groupTree. More...
 
void importItems ()
 
void itemChanged (QStandardItem *item)
 
void listitemsContextMenu (const QPoint &)
 Context menu for the listItems ( symbols list ) More...
 
void on_buttonBox_helpRequested ()
 
void on_tabItemType_currentChanged (int)
 
void onFinished ()
 called when the dialog is going to be closed More...
 
void populateList ()
 adds symbols of some type to list More...
 
void regrouped (QStandardItem *)
 symbol changed from one group More...
 
void removeGroup ()
 
void removeItem ()
 
void symbolSelected (const QModelIndex &)
 Perform symbol specific tasks when selected. More...
 
void tagsChanged ()
 Listen to tag changes. More...
 

Public Member Functions

 QgsStyleV2ManagerDialog (QgsStyleV2 *style, QWidget *parent=NULL)
 

Static Public Member Functions

static QString addColorRampStatic (QWidget *parent, QgsStyleV2 *style, QString RampType=QString())
 open add color ramp dialog, return color ramp's name if the ramp has been added More...
 

Protected Slots

bool addColorRamp (QAction *action)
 

Protected Member Functions

bool addColorRamp ()
 add a new color ramp to style More...
 
bool addSymbol ()
 add a new symbol to style More...
 
void buildGroupTree (QStandardItem *&parent)
 build the groups tree More...
 
QString currentItemName ()
 
int currentItemType ()
 
bool editColorRamp ()
 
bool editSymbol ()
 
void enableGroupInputs (bool)
 Enables or disables the groupTree specific inputs. More...
 
void enableItemsForGroupingMode (bool)
 Enables or diables the groupTree items for grouping mode. More...
 
void enableSymbolInputs (bool)
 Enables or disbables the symbol specific inputs. More...
 
bool eventFilter (QObject *, QEvent *)
 Event filter to capture tagsLineEdit out of focus. More...
 
void populateColorRamps (QStringList colorRamps, bool checkable=false)
 populate list view with color ramps More...
 
void populateGroups ()
 populate the groups More...
 
void populateSymbols (QStringList symbolNames, bool checkable=false)
 populate list view with symbols of the current type with the given names More...
 
void populateTypes ()
 populate combo box with known style items (symbols, color ramps) More...
 
bool removeColorRamp ()
 
bool removeSymbol ()
 
void setBold (QStandardItem *)
 sets the text of the item with bold font More...
 
void setSymbolsChecked (QStringList)
 to set symbols checked when in editing mode More...
 

Protected Attributes

bool mGrouppingMode
 Mode to display the symbol list. More...
 
bool mModified
 
QgsStyleV2mStyle
 
QString mStyleFilename
 
QStringList mTagList
 space to store symbol tags More...
 

Detailed Description

Definition at line 29 of file qgsstylev2managerdialog.h.

Constructor & Destructor Documentation

QgsStyleV2ManagerDialog::QgsStyleV2ManagerDialog ( QgsStyleV2 style,
QWidget *  parent = NULL 
)

Definition at line 44 of file qgsstylev2managerdialog.cpp.

Member Function Documentation

bool QgsStyleV2ManagerDialog::addColorRamp ( QAction *  action)
protectedslot

Definition at line 540 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::addColorRamp ( )
protected

add a new color ramp to style

Definition at line 535 of file qgsstylev2managerdialog.cpp.

QString QgsStyleV2ManagerDialog::addColorRampStatic ( QWidget *  parent,
QgsStyleV2 style,
QString  RampType = QString() 
)
static

open add color ramp dialog, return color ramp's name if the ramp has been added

Definition at line 407 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::addGroup ( )
slot

Definition at line 874 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::addItem ( )
slot

Definition at line 302 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::addSymbol ( )
protected

add a new symbol to style

Definition at line 325 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::buildGroupTree ( QStandardItem *&  parent)
protected

build the groups tree

Definition at line 799 of file qgsstylev2managerdialog.cpp.

QString QgsStyleV2ManagerDialog::currentItemName ( )
protected

Definition at line 294 of file qgsstylev2managerdialog.cpp.

int QgsStyleV2ManagerDialog::currentItemType ( )
protected

Definition at line 282 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::editColorRamp ( )
protected

Definition at line 597 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::editItem ( )
slot

Definition at line 555 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::editSmartgroupAction ( )
slot

edit the selected smart group

Definition at line 1333 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::editSymbol ( )
protected

Definition at line 575 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::enableGroupInputs ( bool  enable)
protected

Enables or disables the groupTree specific inputs.

Definition at line 1208 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::enableItemsForGroupingMode ( bool  enable)
protected

Enables or diables the groupTree items for grouping mode.

Definition at line 1215 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::enableSymbolInputs ( bool  enable)
protected

Enables or disbables the symbol specific inputs.

Definition at line 1198 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::eventFilter ( QObject *  obj,
QEvent *  event 
)
protected

Event filter to capture tagsLineEdit out of focus.

Definition at line 1370 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::exportItems ( )
slot

Definition at line 732 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::filterSymbols ( QString  qword)
slot

filter the symbols based on input search term

Definition at line 1122 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::groupChanged ( const QModelIndex &  index)
slot

Definition at line 813 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::groupRenamed ( QStandardItem *  item)
slot

Definition at line 973 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::groupSymbolsAction ( )
slot

carryout symbol grouping using check boxes

Definition at line 1017 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::grouptreeContextMenu ( const QPoint &  point)
slot

Context menu for the groupTree.

Definition at line 1251 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::importItems ( )
slot

Definition at line 738 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::itemChanged ( QStandardItem *  item)
slot

Definition at line 709 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::listitemsContextMenu ( const QPoint &  point)
slot

Context menu for the listItems ( symbols list )

Definition at line 1291 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::on_buttonBox_helpRequested ( )
inlineslot

Definition at line 54 of file qgsstylev2managerdialog.h.

void QgsStyleV2ManagerDialog::on_tabItemType_currentChanged ( int  )
slot

Definition at line 182 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::onFinished ( )
slot

called when the dialog is going to be closed

Definition at line 130 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::populateColorRamps ( QStringList  colorRamps,
bool  checkable = false 
)
protected

populate list view with color ramps

Definition at line 261 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::populateGroups ( )
protected

populate the groups

Definition at line 753 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::populateList ( )
slot

adds symbols of some type to list

Definition at line 224 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::populateSymbols ( QStringList  symbolNames,
bool  checkable = false 
)
protected

populate list view with symbols of the current type with the given names

Definition at line 234 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::populateTypes ( )
protected

populate combo box with known style items (symbols, color ramps)

Definition at line 142 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::regrouped ( QStandardItem *  item)
slot

symbol changed from one group

Definition at line 1086 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::removeColorRamp ( )
protected

Definition at line 698 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::removeGroup ( )
slot

Definition at line 936 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::removeItem ( )
slot

Definition at line 661 of file qgsstylev2managerdialog.cpp.

bool QgsStyleV2ManagerDialog::removeSymbol ( )
protected

Definition at line 684 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::setBold ( QStandardItem *  item)
protected

sets the text of the item with bold font

Definition at line 746 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::setSymbolsChecked ( QStringList  symbols)
protected

to set symbols checked when in editing mode

Definition at line 1111 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::symbolSelected ( const QModelIndex &  index)
slot

Perform symbol specific tasks when selected.

Definition at line 1188 of file qgsstylev2managerdialog.cpp.

void QgsStyleV2ManagerDialog::tagsChanged ( )
slot

Listen to tag changes.

Definition at line 1137 of file qgsstylev2managerdialog.cpp.

Member Data Documentation

bool QgsStyleV2ManagerDialog::mGrouppingMode
protected

Mode to display the symbol list.

Definition at line 142 of file qgsstylev2managerdialog.h.

bool QgsStyleV2ManagerDialog::mModified
protected

Definition at line 139 of file qgsstylev2managerdialog.h.

QgsStyleV2* QgsStyleV2ManagerDialog::mStyle
protected

Definition at line 135 of file qgsstylev2managerdialog.h.

QString QgsStyleV2ManagerDialog::mStyleFilename
protected

Definition at line 137 of file qgsstylev2managerdialog.h.

QStringList QgsStyleV2ManagerDialog::mTagList
protected

space to store symbol tags

Definition at line 145 of file qgsstylev2managerdialog.h.


The documentation for this class was generated from the following files: