-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix warnings, add missing sip bindings
- Loading branch information
1 parent
acbf283
commit 6a3357f
Showing
6 changed files
with
391 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
python/gui/attributetable/qgsfieldconditionalformatwidget.sip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
/** \ingroup gui | ||
* \class QgsFieldConditionalFormatWidget | ||
* A widget for customising conditional formatting options. | ||
* \note added in QGIS 2.12 | ||
*/ | ||
class QgsFieldConditionalFormatWidget : QWidget | ||
{ | ||
%TypeHeaderCode | ||
#include <attributetable/qgsfieldconditionalformatwidget.h> | ||
%End | ||
|
||
public: | ||
|
||
/** Constructor for QgsFieldConditionalFormatWidget. | ||
* @param parent parent widget | ||
*/ | ||
explicit QgsFieldConditionalFormatWidget( QWidget *parent /TransferThis/ = 0 ); | ||
|
||
/** Switches the widget to the rules page. | ||
*/ | ||
void viewRules(); | ||
|
||
/** Sets the vector layer associated with the widget. | ||
* @param theLayer vector layer | ||
*/ | ||
void setLayer( QgsVectorLayer* theLayer ); | ||
|
||
/** Switches the widget to the edit style mode for the specified style. | ||
* @param index index of conditional style to edit | ||
* @param style initial conditional styling options | ||
*/ | ||
void editStyle( int index, QgsConditionalStyle style ); | ||
|
||
/** Resets the formatting options to their default state. | ||
*/ | ||
void reset(); | ||
|
||
signals: | ||
|
||
/** Emitted when the conditional styling rules are updated. | ||
*/ | ||
void rulesUpdates(); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.