17 #ifndef QGSSVGSELECTORWIDGET_H
18 #define QGSSVGSELECTORWIDGET_H
20 #include "ui_widget_svgselector.h"
24 #include <QAbstractListModel>
26 #include <QDialogButtonBox>
28 #include <QStandardItemModel>
75 QString currentSvgPathToName()
const;
86 void setSvgPath(
const QString& svgPath );
89 void svgSelected(
const QString& path );
97 void updateCurrentSvgPath(
const QString& svgPath );
99 void on_mFilePushButton_clicked();
100 void updateLineEditFeedback(
bool ok,
QString tip =
QString(
"" ) );
101 void on_mFileLineEdit_textChanged(
const QString& text );
113 Qt::Orientation orientation = Qt::Horizontal );
131 #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.