16 #ifndef QGSMAPLAYERLOADSTYLEDIALOG_H 
   17 #define QGSMAPLAYERLOADSTYLEDIALOG_H 
   22 #include "ui_qgsvectorlayerloadstyledialog.h" 
   25 #include "qgsvectorlayerproperties.h" 
   55     QgsMapLayer::StyleCategories styleCategories() 
const;
 
   60     QgsVectorLayerProperties::StyleType currentStyleType() 
const;
 
   67     QString fileExtension() 
const;
 
   74     QString filePath() 
const;
 
   79     void initializeLists( 
const QStringList &ids, 
const QStringList &names, 
const QStringList &descriptions, 
int sectionLimit );
 
   84     QString selectedStyleId();
 
   87     void accept() 
override;
 
   90     void updateLoadButtonState();
 
   91     void onRelatedTableSelectionChanged();
 
   92     void onOthersTableSelectionChanged();
 
   93     void deleteStyleFromDB();
 
   97     void selectionChanged( QTableWidget *styleTable );
 
  101     QString mSelectedStyleId;
 
  102     QString mSelectedStyleName;
 
  103     int mSectionLimit = 0;
 
  104     QPushButton *mDeleteButton = 
nullptr;
 
  105     QPushButton *mLoadButton = 
nullptr;
 
  106     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.