QGIS API Documentation
2.6.0-Brighton
|
#include <qgsrelationeditorwidget.h>
Public Member Functions | |
QgsRelationEditorWidget (QWidget *parent=NULL) | |
void | setViewMode (QgsDualView::ViewMode mode) |
Define the view mode for the dual view. | |
QgsDualView::ViewMode | viewMode () |
void | setQgisRelation (QString qgisRelationId) |
Defines the relation ID (from project relations) | |
QString | qgisRelation () |
void | setRelationFeature (const QgsRelation &relation, const QgsFeature &feature) |
void | setEditorContext (const QgsAttributeEditorContext &context) |
Public Member Functions inherited from QgsCollapsibleGroupBox | |
QgsCollapsibleGroupBox (QWidget *parent=0, QSettings *settings=0) | |
QgsCollapsibleGroupBox (const QString &title, QWidget *parent=0, QSettings *settings=0) | |
~QgsCollapsibleGroupBox () | |
void | setSettings (QSettings *settings) |
void | setSaveCollapsedState (bool save) |
set this to false to not save/restore collapsed state | |
void | setSaveCheckedState (bool save) |
set this to true to save/restore checked state | |
bool | saveCollapsedState () |
bool | saveCheckedState () |
void | setSettingGroup (const QString &group) |
set this to a defined string to share save/restore states across different parent dialogs | |
QString | settingGroup () const |
Public Member Functions inherited from QgsCollapsibleGroupBoxBasic | |
QgsCollapsibleGroupBoxBasic (QWidget *parent=0) | |
QgsCollapsibleGroupBoxBasic (const QString &title, QWidget *parent=0) | |
~QgsCollapsibleGroupBoxBasic () | |
bool | isCollapsed () const |
void | setCollapsed (bool collapse) |
QString | syncGroup () const |
Named group which synchronizes collapsing action when triangle is clicked while holding alt modifier key. | |
void | setSyncGroup (QString grp) |
void | setScrollOnExpand (bool scroll) |
set this to false to not automatically scroll parent QScrollArea to this widget's contents when expanded | |
bool | scrollOnExpand () |
Properties | |
QString | qgisRelation |
QgsDualView::ViewMode | viewMode |
Properties inherited from QgsCollapsibleGroupBox | |
bool | collapsed |
bool | saveCollapsedState |
bool | saveCheckedState |
QString | syncGroup |
bool | scrollOnExpand |
Properties inherited from QgsCollapsibleGroupBoxBasic | |
bool | collapsed |
QString | syncGroup |
bool | scrollOnExpand |
Additional Inherited Members | |
Public Slots inherited from QgsCollapsibleGroupBoxBasic | |
void | checkToggled (bool ckd) |
void | checkClicked (bool ckd) |
void | toggleCollapsed () |
Signals inherited from QgsCollapsibleGroupBoxBasic | |
void | collapsedStateChanged (bool collapsed) |
Signal emitted when groupbox collapsed/expanded state is changed, and when first shown. | |
Protected Slots inherited from QgsCollapsibleGroupBox | |
void | loadState () |
void | saveState () |
Protected Member Functions inherited from QgsCollapsibleGroupBox | |
void | init () |
void | showEvent (QShowEvent *event) |
QString | saveKey () const |
Protected Attributes inherited from QgsCollapsibleGroupBox | |
QPointer< QSettings > | mSettings |
bool | mDelSettings |
bool | mSaveCollapsedState |
bool | mSaveCheckedState |
QString | mSettingGroup |
Static Protected Attributes inherited from QgsCollapsibleGroupBoxBasic | |
static QIcon | mCollapseIcon |
static QIcon | mExpandIcon |
QgsRelationEditorWidget::QgsRelationEditorWidget | ( | QWidget * | parent = NULL | ) |
parent | parent widget |
|
inline |
void QgsRelationEditorWidget::setEditorContext | ( | const QgsAttributeEditorContext & | context | ) |
|
inline |
Defines the relation ID (from project relations)
void QgsRelationEditorWidget::setRelationFeature | ( | const QgsRelation & | relation, |
const QgsFeature & | feature | ||
) |
void QgsRelationEditorWidget::setViewMode | ( | QgsDualView::ViewMode | mode | ) |
Define the view mode for the dual view.
|
inline |
|
readwrite |
|
readwrite |