Skip to content
Permalink
Browse files

sip bindings

  • Loading branch information
m-kuhn committed Jun 3, 2016
1 parent ffb6b90 commit 95f81391d3a254aecd6e6f0c76b1727c741b7ab9
@@ -252,6 +252,8 @@ class QgsLayerTreeModel : QAbstractItemModel
QVariant legendNodeData( QgsLayerTreeModelLegendNode* node, int role ) const;
Qt::ItemFlags legendNodeFlags( QgsLayerTreeModelLegendNode* node ) const;
bool legendEmbeddedInParent( QgsLayerTreeLayer* nodeLayer ) const;
/** Return legend node that may be embbeded in parent (i.e. its icon will be used for layer's icon). */
QgsLayerTreeModelLegendNode* legendNodeEmbeddedInParent( QgsLayerTreeLayer* nodeLayer ) const;
QIcon legendIconEmbeddedInParent( QgsLayerTreeLayer* nodeLayer ) const;
void legendCleanup();
void legendInvalidateMapBasedData();
@@ -652,6 +652,12 @@ class QgsMapLayer : QObject
*/
void legendChanged();

/**
* Emitted whenever the configuration is changed. The project listens to this signal
* to be marked as dirty.
*/
void configChanged();

protected:
/** Set the extent */
virtual void setExtent( const QgsRectangle &rect );
@@ -324,6 +324,20 @@ class QgsProject : QObject
* @note Added in QGIS 2.16
*/
void setAutoTransaction(bool autoTransaction );
/**
* Should default values be evaluated on provider side when requested and not when committed.
*
* @note added in 2.16
*/
bool evaluateDefaultValues() const;


/**
* Defines if default values should be evaluated on provider side when requested and not when committed.
*
* @note added in 2.16
*/
void setEvaluateDefaultValues( bool evaluateDefaultValues );

protected:

@@ -42,6 +42,12 @@ class QgsRuntimeProfiler
*/
void end();

/**
* @brief Return all the current profile times.
* @return A list of profile event names and times.
*/
// const QList<QPair<QString, double>> profileTimes() const;

/**
* @brief clear Clear all profile data.
*/
@@ -53,6 +53,7 @@ class QgsRendererV2Widget : QWidget
*/
void widgetChanged();

void panelOpened( bool opened );
protected:
/** Subclasses may provide the capability of changing multiple symbols at once by implementing the following two methods
and by connecting the slot contextMenuViewCategories(const QPoint&)*/
@@ -34,6 +34,7 @@ class QgsSymbolV2SelectorDialog : QDialog
*/
void setMapCanvas( QgsMapCanvas* canvas );

QgsSymbolV2* symbol();
protected:
//! Reimplements dialog keyPress event so we can ignore it
void keyPressEvent( QKeyEvent * event );
@@ -48,8 +48,9 @@ class CORE_EXPORT QgsRuntimeProfiler
/**
* @brief Return all the current profile times.
* @return A list of profile event names and times.
* @note not available in python bindings
*/
const QList<QPair<QString, double>> profileTimes() { return mProfileTimes; }
const QList<QPair<QString, double>> profileTimes() const { return mProfileTimes; }

/**
* @brief clear Clear all profile data.

0 comments on commit 95f8139

Please sign in to comment.
You can’t perform that action at this time.