Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge pull request #2600 from m-kuhn/orderby-renderer
Allow definition of feature rendering order
- Loading branch information
Showing
35 changed files
with
869 additions
and
59 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/*************************************************************************** | ||
qgsorderbydialog.h | ||
|
||
--------------------- | ||
begin : 20.12.2015 | ||
copyright : (C) 2015 by Matthias Kuhn | ||
email : matthias@opengis.ch | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
class QgsOrderByDialog : QDialog | ||
{ | ||
%TypeHeaderCode | ||
#include "qgsorderbydialog.h" | ||
%End | ||
public: | ||
QgsOrderByDialog( QgsVectorLayer* layer, QWidget* parent = nullptr ); | ||
|
||
/** | ||
* Set the order by to manage | ||
*/ | ||
void setOrderBys( const QList<QgsFeatureRequest::OrderByClause>& orderBys ); | ||
|
||
/** | ||
* Get the order by defined in the dialog | ||
*/ | ||
QgsFeatureRequest::OrderBy orderBys(); | ||
}; |
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
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.