17 #ifndef QGSSVGSELECTORWIDGET_H 18 #define QGSSVGSELECTORWIDGET_H 20 #include "ui_widget_svgselector.h" 24 #include <QAbstractListModel> 26 #include <QDialogButtonBox> 28 #include <QStandardItemModel> 79 QString currentSvgPathToName()
const;
90 void setSvgPath(
const QString& svgPath );
93 void svgSelected(
const QString& path );
100 void svgSelectionChanged(
const QModelIndex& idx );
101 void updateCurrentSvgPath(
const QString& svgPath );
103 void on_mFilePushButton_clicked();
104 void updateLineEditFeedback(
bool ok,
const QString& tip =
QString() );
105 void on_mFileLineEdit_textChanged(
const QString& text );
117 Qt::Orientation orientation = Qt::Horizontal );
135 #endif // QGSSVGSELECTORWIDGET_H
QgsSvgSelectorWidget * mSvgSelector
static const Qt::WindowFlags ModalDialogFlags
virtual int rowCount(const QModelIndex &parent) const =0
QDialogButtonBox * buttonBox()
Returns the button box.
QVBoxLayout * layout()
Returns the central layout. Widgets added to it must have this dialog as parent.
QDialogButtonBox * mButtonBox
virtual QVariant data(const QModelIndex &index, int role) const =0
QgsSvgSelectorWidget * svgSelector()
Returns pointer to the embedded SVG selector widget.