QGIS API Documentation 3.99.0-Master (a5475b57e34)
Loading...
Searching...
No Matches
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 ***************************************************************************/
17
18#include "qgsgui.h"
19#include "qgshelp.h"
20
21#include <QString>
22
23#include "moc_qgsrasterattributetableaddrowdialog.cpp"
24
25using namespace Qt::StringLiterals;
26
28 : QDialog( parent )
29{
30 setupUi( this );
31 connect( mButtonBox, &QDialogButtonBox::helpRequested, this, [] {
32 QgsHelp::openHelp( u"working_with_raster/raster_properties.html#raster-attribute-tables"_s );
33 } );
35}
36
38{
39 return mAfter->isChecked();
40}
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:224
static void openHelp(const QString &key)
Opens help topic for the given help key using default system web browser.
Definition qgshelp.cpp:41
QgsRasterAttributeTableAddRowDialog(QWidget *parent=nullptr)
Creates a new QgsRasterAttributeTableAddRowDialog.
bool insertAfter() const
Returns true if the desired insertion position for the new row is after the currently selected row,...