QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgsselectioncontext.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsselectioncontext.h
3 --------------------------
4 begin : June 2022
5 copyright : (C) 2022 by Nyall Dawson
6 email : nyall dot dawson at gmail dot com
7 ***************************************************************************/
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16#ifndef QGSSELECTIONCONTEXT_H
17#define QGSSELECTIONCONTEXT_H
18
19#include "qgis_core.h"
20
29class CORE_EXPORT QgsSelectionContext
30{
31 public:
32
40 double scale() const;
41
49 void setScale( double scale );
50
51 private:
52
53 double mScale = 0;
54};
55
56#endif //QGSELECTIONCONTEXT_H
57
58
59
Encapsulates the context of a layer selection operation.