QGIS API Documentation  2.5.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 moveLayerDown ()
 
void moveLayerUp ()
 
void addLayer ()
 
void removeLayer ()
 
void saveSymbol ()
 
void lockLayer ()
 
void layerChanged ()
 
void updateLayerPreview ()
 
void updatePreview ()
 
void symbolChanged ()
 Slot to update tree when a new symbol from style. More...
 
void changeLayer (QgsSymbolLayerV2 *layer)
 alters tree and sets proper widget when Layer Type is changed More...
 

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

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

Protected Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

void QgsSymbolV2SelectorDialog::addLayer ( )
slot
QMenu * QgsSymbolV2SelectorDialog::advancedMenu ( )

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

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
QgsSymbolLayerV2 * QgsSymbolV2SelectorDialog::currentLayer ( )
protected
SymbolLayerItem * QgsSymbolV2SelectorDialog::currentLayerItem ( )
protected
Note
not available in python bindings
void QgsSymbolV2SelectorDialog::keyPressEvent ( QKeyEvent *  event)
protected

Reimplements dialog keyPress event so we can ignore it.

void QgsSymbolV2SelectorDialog::layerChanged ( )
slot
void QgsSymbolV2SelectorDialog::loadSymbol ( )
protected
void QgsSymbolV2SelectorDialog::loadSymbol ( QgsSymbolV2 symbol,
SymbolLayerItem parent 
)
protected
Note
not available in python bindings
void QgsSymbolV2SelectorDialog::lockLayer ( )
slot
void QgsSymbolV2SelectorDialog::moveLayerByOffset ( int  offset)
protected
void QgsSymbolV2SelectorDialog::moveLayerDown ( )
slot
void QgsSymbolV2SelectorDialog::moveLayerUp ( )
slot
void QgsSymbolV2SelectorDialog::removeLayer ( )
slot
void QgsSymbolV2SelectorDialog::saveSymbol ( )
slot
void QgsSymbolV2SelectorDialog::setWidget ( QWidget *  widget)
protected
void QgsSymbolV2SelectorDialog::symbolChanged ( )
slot

Slot to update tree when a new symbol from style.

void QgsSymbolV2SelectorDialog::symbolModified ( )
signal
void QgsSymbolV2SelectorDialog::updateLayerPreview ( )
slot
void QgsSymbolV2SelectorDialog::updateLockButton ( )
protected
void QgsSymbolV2SelectorDialog::updatePreview ( )
slot
void QgsSymbolV2SelectorDialog::updateUi ( )
protected

Member Data Documentation

QMenu* QgsSymbolV2SelectorDialog::mAdvancedMenu
protected
QStandardItemModel* QgsSymbolV2SelectorDialog::model
protected
QWidget* QgsSymbolV2SelectorDialog::mPresentWidget
protected
QgsStyleV2* QgsSymbolV2SelectorDialog::mStyle
protected
QgsSymbolV2* QgsSymbolV2SelectorDialog::mSymbol
protected
const QgsVectorLayer* QgsSymbolV2SelectorDialog::mVectorLayer
protected

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