|
| QgsExtentGroupBox (QWidget *parent=nullptr) |
| Constructor for QgsExtentGroupBox. More...
|
|
QgsCoordinateReferenceSystem | currentCrs () const |
| Returns the coordinate reference system for the current extent set for the widget. More...
|
|
QgsRectangle | currentExtent () const |
| Returns the current extent set for the widget. More...
|
|
QgsExtentGroupBox::ExtentState | extentState () const |
| Returns the currently selected state for the widget's extent. More...
|
|
QgsCoordinateReferenceSystem | originalCrs () const |
| Returns the original coordinate reference system set for the widget. More...
|
|
QgsRectangle | originalExtent () const |
| Returns the original extent set for the widget. More...
|
|
QgsCoordinateReferenceSystem | outputCrs () const |
| Returns the current output CRS, used in the display. More...
|
|
QgsRectangle | outputExtent () const |
| Returns the extent shown in the widget - in output CRS coordinates. More...
|
|
QSize | ratio () const |
| Returns the current fixed aspect ratio to be used when dragging extent onto the canvas. More...
|
|
void | setCurrentExtent (const QgsRectangle ¤tExtent, const QgsCoordinateReferenceSystem ¤tCrs) |
| Sets the current extent to show in the widget - should be called as part of initialization (or whenever current extent changes). More...
|
|
void | setMapCanvas (QgsMapCanvas *canvas, bool drawOnCanvasOption=true) |
| Sets the map canvas to enable dragging of extent on a canvas. More...
|
|
void | setOriginalExtent (const QgsRectangle &originalExtent, const QgsCoordinateReferenceSystem &originalCrs) |
| Sets the original extent and coordinate reference system for the widget. More...
|
|
void | setOutputCrs (const QgsCoordinateReferenceSystem &outputCrs) |
| Sets the output CRS - may need to be used for transformation from original/current extent. More...
|
|
void | setTitleBase (const QString &title) |
| Sets the base part of title of the group box (will be appended with extent state) More...
|
|
QString | titleBase () const |
| Returns the base part of title of the group box (will be appended with extent state). More...
|
|
| QgsCollapsibleGroupBox (const QString &title, QWidget *parent=nullptr, QgsSettings *settings=nullptr) |
|
| QgsCollapsibleGroupBox (QWidget *parent=nullptr, QgsSettings *settings=nullptr) |
|
| ~QgsCollapsibleGroupBox () override |
|
bool | saveCheckedState () |
|
bool | saveCollapsedState () |
|
void | setSaveCheckedState (bool save) |
| Set this to true to save/restore checked state. More...
|
|
void | setSaveCollapsedState (bool save) |
| Sets this to false to not save/restore collapsed state. More...
|
|
void | setSettingGroup (const QString &group) |
| Sets this to a defined string to share save/restore states across different parent dialogs. More...
|
|
void | setSettings (QgsSettings *settings) |
|
QString | settingGroup () const |
| Returns the name of the setting group in which the collapsed state will be saved. More...
|
|
| QgsCollapsibleGroupBoxBasic (const QString &title, QWidget *parent=nullptr) |
|
| QgsCollapsibleGroupBoxBasic (QWidget *parent=nullptr) |
|
bool | isCollapsed () const |
| Returns the current collapsed state of this group box. More...
|
|
bool | scrollOnExpand () |
| If this is set to false the parent QScrollArea will not be automatically scrolled to this widget's contents when expanded. More...
|
|
void | setCollapsed (bool collapse) |
| Collapse or uncollapse this groupbox. More...
|
|
void | setScrollOnExpand (bool scroll) |
| Sets this to false to not automatically scroll parent QScrollArea to this widget's contents when expanded. More...
|
|
void | setSyncGroup (const QString &grp) |
| Named group which synchronizes collapsing action when triangle is clicked while holding alt modifier key. More...
|
|
QString | syncGroup () const |
| Named group which synchronizes collapsing action when triangle is clicked while holding alt modifier key. More...
|
|