QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Types | Signals | Public Member Functions | Protected Slots | Friends | List of all members
QgsVectorLayerProperties Class Reference

#include <qgsvectorlayerproperties.h>

Inheritance diagram for QgsVectorLayerProperties:
Inheritance graph

Public Types

enum  StyleType { QML , SLD , DB , Local }


void exportAuxiliaryLayer (QgsAuxiliaryLayer *layer)
void toggleEditing (QgsMapLayer *)

Public Member Functions

 QgsVectorLayerProperties (QgsMapCanvas *canvas, QgsMessageBar *messageBar, QgsVectorLayer *lyr=nullptr, QWidget *parent=nullptr, Qt::WindowFlags fl=QgsGuiUtils::ModalDialogFlags)
void addPropertiesPageFactory (const QgsMapLayerConfigWidgetFactory *factory)
 Adds a properties page factory to the vector layer properties dialog. More...
- Public Member Functions inherited from QgsOptionsDialogBase
 QgsOptionsDialogBase (const QString &settingsKey, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags(), QgsSettings *settings=nullptr)
 Constructor. More...
 ~QgsOptionsDialogBase () override
void addPage (const QString &title, const QString &tooltip, const QIcon &icon, QWidget *widget, const QStringList &path=QStringList())
 Adds a new page to the dialog pages. More...
bool iconOnly ()
 Determine if the options list is in icon only mode. More...
void initOptionsBase (bool restoreUi=true, const QString &title=QString())
 Set up the base ui connections for vertical tabs. More...
void insertPage (const QString &title, const QString &tooltip, const QIcon &icon, QWidget *widget, const QString &before, const QStringList &path=QStringList())
 Inserts a new page into the dialog pages. More...
void resizeAlltabs (int index)
 Resizes all tabs when the dialog is resized. More...
void restoreLastPage ()
 Refocus the active tab from the last time the dialog was shown. More...
void restoreOptionsBaseUi (const QString &title=QString())
 Restore the base ui. More...
void setCurrentPage (const QString &page)
 Sets the dialog page (by object name) to show. More...
void setSettings (QgsSettings *settings)
- Public Member Functions inherited from QgsExpressionContextGenerator
virtual ~QgsExpressionContextGenerator ()=default
virtual QgsExpressionContext createExpressionContext () const =0
 This method needs to be reimplemented in all classes which implement this interface and return an expression context. More...

Protected Slots

void optionsStackedWidget_CurrentChanged (int index) override
- Protected Slots inherited from QgsOptionsDialogBase
virtual void optionsStackedWidget_CurrentChanged (int index)
 Select relevant tab on current page change. More...
virtual void optionsStackedWidget_WidgetRemoved (int index)
 Remove tab and unregister widgets on page remove. More...
virtual void updateOptionsListVerticalTabs ()
 Update tabs on the splitter move. More...
void warnAboutMissingObjects ()


class QgsAppScreenShots

Additional Inherited Members

- Public Slots inherited from QgsOptionsDialogBase
void searchText (const QString &text)
 searchText searches for a text in all the pages of the stacked widget and highlight the results More...
- Protected Member Functions inherited from QgsOptionsDialogBase
QStandardItem * createItem (const QString &name, const QString &tooltip, const QString &icon)
 Creates a new QStandardItem with the specified name, tooltip and icon. More...
void paintEvent (QPaintEvent *e) override
void registerTextSearchWidgets ()
 register widgets in the dialog to search for text in it it is automatically called if a line edit has "mSearchLineEdit" as object name. More...
void showEvent (QShowEvent *e) override
virtual void updateWindowTitle ()
- Protected Attributes inherited from QgsOptionsDialogBase
bool mDelSettings = false
QString mDialogTitle
bool mIconOnly = false
bool mInit = false
QDialogButtonBox * mOptButtonBox = nullptr
QListWidget * mOptListWidget = nullptr
QString mOptsKey
QSplitter * mOptSplitter = nullptr
QStackedWidget * mOptStackedWidget = nullptr
QStandardItemModel * mOptTreeModel = nullptr
QTreeView * mOptTreeView = nullptr
QList< QPair< QgsOptionsDialogHighlightWidget *, int > > mRegisteredSearchWidgets
QgsFilterLineEditmSearchLineEdit = nullptr
QPointer< QgsSettingsmSettings
QgsOptionsProxyModel * mTreeProxyModel = nullptr

Detailed Description

Definition at line 60 of file qgsvectorlayerproperties.h.

Member Enumeration Documentation

◆ StyleType


Definition at line 66 of file qgsvectorlayerproperties.h.

Constructor & Destructor Documentation

◆ QgsVectorLayerProperties()

QgsVectorLayerProperties::QgsVectorLayerProperties ( QgsMapCanvas canvas,
QgsMessageBar messageBar,
QgsVectorLayer lyr = nullptr,
QWidget *  parent = nullptr,
Qt::WindowFlags  fl = QgsGuiUtils::ModalDialogFlags 

Definition at line 99 of file qgsvectorlayerproperties.cpp.

Member Function Documentation

◆ addPropertiesPageFactory()

void QgsVectorLayerProperties::addPropertiesPageFactory ( const QgsMapLayerConfigWidgetFactory factory)

Adds a properties page factory to the vector layer properties dialog.

Definition at line 478 of file qgsvectorlayerproperties.cpp.

◆ exportAuxiliaryLayer

void QgsVectorLayerProperties::exportAuxiliaryLayer ( QgsAuxiliaryLayer layer)

◆ optionsStackedWidget_CurrentChanged

void QgsVectorLayerProperties::optionsStackedWidget_CurrentChanged ( int  index)

Definition at line 1994 of file qgsvectorlayerproperties.cpp.

◆ toggleEditing

void QgsVectorLayerProperties::toggleEditing ( QgsMapLayer )

Friends And Related Function Documentation

◆ QgsAppScreenShots

friend class QgsAppScreenShots

Definition at line 264 of file qgsvectorlayerproperties.h.

The documentation for this class was generated from the following files: