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

#include <qgssymbolv2selectordialog.h>

Inheritance diagram for QgsSymbolV2SelectorDialog:
Inheritance graph
[legend]

Public Slots

void addLayer ()
 
void changeLayer (QgsSymbolLayerV2 *layer)
 alters tree and sets proper widget when Layer Type is changed More...
 
void layerChanged ()
 
void lockLayer ()
 
void moveLayerDown ()
 
void moveLayerUp ()
 
void removeLayer ()
 
void saveSymbol ()
 
void symbolChanged ()
 Slot to update tree when a new symbol from style. More...
 
void updateLayerPreview ()
 
void updatePreview ()
 

Signals

void symbolModified ()
 

Public Member Functions

 QgsSymbolV2SelectorDialog (QgsSymbolV2 *symbol, QgsStyleV2 *style, const QgsVectorLayer *vl, QWidget *parent=0, bool embedded=false)
 
QMenu * advancedMenu ()
 return menu for "advanced" button - create it if doesn't exist and show the advanced button More...
 

Protected Member Functions

QgsSymbolLayerV2currentLayer ()
 
SymbolLayerItemcurrentLayerItem ()
 
void keyPressEvent (QKeyEvent *event)
 Reimplements dialog keyPress event so we can ignore it. More...
 
void loadSymbol ()
 
void loadSymbol (QgsSymbolV2 *symbol, SymbolLayerItem *parent)
 
void moveLayerByOffset (int offset)
 
void setWidget (QWidget *widget)
 
void updateLockButton ()
 
void updateUi ()
 

Protected Attributes

QMenu * mAdvancedMenu
 
QStandardItemModel * model
 
QWidget * mPresentWidget
 
QgsStyleV2mStyle
 
QgsSymbolV2mSymbol
 
const QgsVectorLayermVectorLayer
 

Detailed Description

Definition at line 35 of file qgssymbolv2selectordialog.h.

Constructor & Destructor Documentation

QgsSymbolV2SelectorDialog::QgsSymbolV2SelectorDialog ( QgsSymbolV2 symbol,
QgsStyleV2 style,
const QgsVectorLayer vl,
QWidget *  parent = 0,
bool  embedded = false 
)

Definition at line 142 of file qgssymbolv2selectordialog.cpp.

Member Function Documentation

void QgsSymbolV2SelectorDialog::addLayer ( )
slot

Definition at line 394 of file qgssymbolv2selectordialog.cpp.

QMenu * QgsSymbolV2SelectorDialog::advancedMenu ( )

return menu for "advanced" button - create it if doesn't exist and show the advanced button

Definition at line 207 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::changeLayer ( QgsSymbolLayerV2 layer)
slot

alters tree and sets proper widget when Layer Type is changed

Note
: The layer is received from the LayerPropertiesWidget

Definition at line 517 of file qgssymbolv2selectordialog.cpp.

QgsSymbolLayerV2 * QgsSymbolV2SelectorDialog::currentLayer ( )
protected

Definition at line 303 of file qgssymbolv2selectordialog.cpp.

SymbolLayerItem * QgsSymbolV2SelectorDialog::currentLayerItem ( )
protected
Note
not available in python bindings

Definition at line 290 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::keyPressEvent ( QKeyEvent *  event)
protected

Reimplements dialog keyPress event so we can ignore it.

Definition at line 194 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::layerChanged ( )
slot

Definition at line 316 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::loadSymbol ( )
protected

Definition at line 241 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::loadSymbol ( QgsSymbolV2 symbol,
SymbolLayerItem parent 
)
protected
Note
not available in python bindings

Definition at line 218 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::lockLayer ( )
slot

Definition at line 481 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::moveLayerByOffset ( int  offset)
protected

Definition at line 455 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::moveLayerDown ( )
slot

Definition at line 445 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::moveLayerUp ( )
slot

Definition at line 450 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::removeLayer ( )
slot

Definition at line 423 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::saveSymbol ( )
slot

Definition at line 489 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::setWidget ( QWidget *  widget)
protected

Definition at line 373 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::symbolChanged ( )
slot

Slot to update tree when a new symbol from style.

Definition at line 344 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::symbolModified ( )
signal
void QgsSymbolV2SelectorDialog::updateLayerPreview ( )
slot

Definition at line 280 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::updateLockButton ( )
protected

Definition at line 386 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::updatePreview ( )
slot

Definition at line 272 of file qgssymbolv2selectordialog.cpp.

void QgsSymbolV2SelectorDialog::updateUi ( )
protected

Definition at line 247 of file qgssymbolv2selectordialog.cpp.

Member Data Documentation

QMenu* QgsSymbolV2SelectorDialog::mAdvancedMenu
protected

Definition at line 93 of file qgssymbolv2selectordialog.h.

QStandardItemModel* QgsSymbolV2SelectorDialog::model
protected

Definition at line 96 of file qgssymbolv2selectordialog.h.

QWidget* QgsSymbolV2SelectorDialog::mPresentWidget
protected

Definition at line 97 of file qgssymbolv2selectordialog.h.

QgsStyleV2* QgsSymbolV2SelectorDialog::mStyle
protected

Definition at line 91 of file qgssymbolv2selectordialog.h.

QgsSymbolV2* QgsSymbolV2SelectorDialog::mSymbol
protected

Definition at line 92 of file qgssymbolv2selectordialog.h.

const QgsVectorLayer* QgsSymbolV2SelectorDialog::mVectorLayer
protected

Definition at line 94 of file qgssymbolv2selectordialog.h.


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