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

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

Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

bool QgsStyleV2ManagerDialog::addColorRamp ( QAction *  action)
protectedslot
bool QgsStyleV2ManagerDialog::addColorRamp ( )
protected

add a new color ramp to style

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

void QgsStyleV2ManagerDialog::addGroup ( )
slot
void QgsStyleV2ManagerDialog::addItem ( )
slot
bool QgsStyleV2ManagerDialog::addSymbol ( )
protected

add a new symbol to style

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

build the groups tree

QString QgsStyleV2ManagerDialog::currentItemName ( )
protected
int QgsStyleV2ManagerDialog::currentItemType ( )
protected
bool QgsStyleV2ManagerDialog::editColorRamp ( )
protected
void QgsStyleV2ManagerDialog::editItem ( )
slot
void QgsStyleV2ManagerDialog::editSmartgroupAction ( )
slot

edit the selected smart group

bool QgsStyleV2ManagerDialog::editSymbol ( )
protected
void QgsStyleV2ManagerDialog::enableGroupInputs ( bool  enable)
protected

Enables or disables the groupTree specific inputs.

void QgsStyleV2ManagerDialog::enableItemsForGroupingMode ( bool  enable)
protected

Enables or diables the groupTree items for grouping mode.

void QgsStyleV2ManagerDialog::enableSymbolInputs ( bool  enable)
protected

Enables or disbables the symbol specific inputs.

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

Event filter to capture tagsLineEdit out of focus.

void QgsStyleV2ManagerDialog::exportItems ( )
slot
void QgsStyleV2ManagerDialog::filterSymbols ( QString  qword)
slot

filter the symbols based on input search term

void QgsStyleV2ManagerDialog::groupChanged ( const QModelIndex &  index)
slot
void QgsStyleV2ManagerDialog::groupRenamed ( QStandardItem *  item)
slot
void QgsStyleV2ManagerDialog::groupSymbolsAction ( )
slot

carryout symbol grouping using check boxes

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

Context menu for the groupTree.

void QgsStyleV2ManagerDialog::importItems ( )
slot
void QgsStyleV2ManagerDialog::itemChanged ( QStandardItem *  item)
slot
void QgsStyleV2ManagerDialog::listitemsContextMenu ( const QPoint &  point)
slot

Context menu for the listItems ( symbols list )

void QgsStyleV2ManagerDialog::on_buttonBox_helpRequested ( )
inlineslot
void QgsStyleV2ManagerDialog::on_tabItemType_currentChanged ( int  )
slot
void QgsStyleV2ManagerDialog::onFinished ( )
slot

called when the dialog is going to be closed

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

populate list view with color ramps

void QgsStyleV2ManagerDialog::populateGroups ( )
protected

populate the groups

void QgsStyleV2ManagerDialog::populateList ( )
slot

adds symbols of some type to list

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

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

void QgsStyleV2ManagerDialog::populateTypes ( )
protected

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

void QgsStyleV2ManagerDialog::regrouped ( QStandardItem *  item)
slot

symbol changed from one group

bool QgsStyleV2ManagerDialog::removeColorRamp ( )
protected
void QgsStyleV2ManagerDialog::removeGroup ( )
slot
void QgsStyleV2ManagerDialog::removeItem ( )
slot
bool QgsStyleV2ManagerDialog::removeSymbol ( )
protected
void QgsStyleV2ManagerDialog::setBold ( QStandardItem *  item)
protected

sets the text of the item with bold font

void QgsStyleV2ManagerDialog::setSymbolsChecked ( QStringList  symbols)
protected

to set symbols checked when in editing mode

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

Perform symbol specific tasks when selected.

void QgsStyleV2ManagerDialog::tagsChanged ( )
slot

Listen to tag changes.

Member Data Documentation

bool QgsStyleV2ManagerDialog::mGrouppingMode
protected

Mode to display the symbol list.

bool QgsStyleV2ManagerDialog::mModified
protected
QgsStyleV2* QgsStyleV2ManagerDialog::mStyle
protected
QString QgsStyleV2ManagerDialog::mStyleFilename
protected
QStringList QgsStyleV2ManagerDialog::mTagList
protected

space to store symbol tags


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