16#ifndef QGSMAPLAYERLOADSTYLEDIALOG_H
17#define QGSMAPLAYERLOADSTYLEDIALOG_H
22#include "ui_qgsvectorlayerloadstyledialog.h"
54 QgsMapLayer::StyleCategories styleCategories()
const;
66 QString fileExtension()
const;
73 QString filePath()
const;
78 void initializeLists(
const QStringList &ids,
const QStringList &names,
const QStringList &descriptions,
int sectionLimit );
83 QString selectedStyleId();
86 void accept()
override;
89 void updateLoadButtonState();
90 void onRelatedTableSelectionChanged();
91 void onOthersTableSelectionChanged();
92 void deleteStyleFromDB();
96 void selectionChanged( QTableWidget *styleTable );
100 QString mSelectedStyleId;
101 QString mSelectedStyleName;
102 int mSectionLimit = 0;
103 QPushButton *mDeleteButton =
nullptr;
104 QPushButton *mLoadButton =
nullptr;
105 QPushButton *mCancelButton =
nullptr;
A reusable dialog which allows users to select stored layer styles and categories to load for a map l...
Model for layer style categories.
Base class for all map layer types.