QGIS API Documentation
3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
src
gui
vector
qgsjoindialog.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsjoindialog.h
3
------------------
4
begin : July 10, 2010
5
copyright : (C) 2010 by Marco Hugentobler
6
email : marco dot hugentobler at sourcepole dot ch
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QgsJoinDIALOG_H
19
#define QgsJoinDIALOG_H
20
21
// We don't want to expose this in the public API
22
#define SIP_NO_FILE
23
24
#include "ui_qgsjoindialogbase.h"
25
#include "qgis_gui.h"
26
27
class
QgsVectorLayer
;
28
class
QgsVectorLayerJoinInfo
;
29
34
class
GUI_EXPORT
QgsJoinDialog
:
public
QDialog,
private
Ui::QgsJoinDialogBase
35
{
36
Q_OBJECT
37
public
:
38
QgsJoinDialog
(
QgsVectorLayer
*layer, QList<QgsMapLayer *> alreadyJoinedLayers, QWidget *parent =
nullptr
, Qt::WindowFlags f = Qt::WindowFlags() );
39
41
void
setJoinInfo(
const
QgsVectorLayerJoinInfo
&joinInfo );
42
44
QgsVectorLayerJoinInfo
joinInfo()
const
;
45
47
bool
createAttributeIndex()
const
;
48
49
private
slots:
50
void
joinedLayerChanged(
QgsMapLayer
*layer );
51
52
void
checkDefinitionValid();
53
54
void
editableJoinLayerChanged();
55
56
private
:
58
QgsVectorLayer
*mLayer =
nullptr
;
59
60
// Temporary storage for "cache" setting since the checkbox may be temporarily disabled
61
bool
mCacheEnabled =
false
;
62
};
63
64
65
#endif
// QgsJoinDIALOG_H
QgsJoinDialog
Definition
qgsjoindialog.h:35
QgsMapLayer
Base class for all map layer types.
Definition
qgsmaplayer.h:76
QgsVectorLayerJoinInfo
Defines left outer join from our vector layer to some other vector layer.
Definition
qgsvectorlayerjoininfo.h:34
QgsVectorLayer
Represents a vector layer which manages a vector based data sets.
Definition
qgsvectorlayer.h:401
Generated on Sun Dec 15 2024 01:32:01 for QGIS API Documentation by
1.9.8