QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
gui
raster
qgsrasterattributetableaddrowdialog.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsrasterattributetableaddrowdialog.cpp - QgsRasterAttributeTableAddRowDialog
3
4
---------------------
5
begin : 18.10.2022
6
copyright : (C) 2022 by ale
7
email : [your-email-here]
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
#include "
qgsrasterattributetableaddrowdialog.h
"
17
18
#include "
qgsgui.h
"
19
#include "
qgshelp.h
"
20
21
#include <QString>
22
23
#include "moc_qgsrasterattributetableaddrowdialog.cpp"
24
25
using namespace
Qt::StringLiterals;
26
27
QgsRasterAttributeTableAddRowDialog::QgsRasterAttributeTableAddRowDialog
( QWidget *parent )
28
: QDialog( parent )
29
{
30
setupUi(
this
);
31
connect( mButtonBox, &QDialogButtonBox::helpRequested,
this
, [] {
QgsHelp::openHelp
( u
"working_with_raster/raster_properties.html#raster-attribute-tables"
_s ); } );
32
QgsGui::enableAutoGeometryRestore
(
this
);
33
}
34
35
bool
QgsRasterAttributeTableAddRowDialog::insertAfter
()
const
36
{
37
return
mAfter->isChecked();
38
}
QgsGui::enableAutoGeometryRestore
static void enableAutoGeometryRestore(QWidget *widget, const QString &key=QString())
Register the widget to allow its position to be automatically saved and restored when open and closed...
Definition
qgsgui.cpp:225
QgsHelp::openHelp
static void openHelp(const QString &key)
Opens help topic for the given help key using default system web browser.
Definition
qgshelp.cpp:41
QgsRasterAttributeTableAddRowDialog::QgsRasterAttributeTableAddRowDialog
QgsRasterAttributeTableAddRowDialog(QWidget *parent=nullptr)
Creates a new QgsRasterAttributeTableAddRowDialog.
Definition
qgsrasterattributetableaddrowdialog.cpp:27
QgsRasterAttributeTableAddRowDialog::insertAfter
bool insertAfter() const
Returns true if the desired insertion position for the new row is after the currently selected row,...
Definition
qgsrasterattributetableaddrowdialog.cpp:35
qgsgui.h
qgshelp.h
qgsrasterattributetableaddrowdialog.h
Generated on
for QGIS API Documentation by
1.17.0