17 #ifndef QGSOPTIONSDIALOGBASE_H 18 #define QGSOPTIONSDIALOGBASE_H 28 #include <QStyledItemDelegate> 30 class QDialogButtonBox;
36 class QStyleOptionViewItem;
82 void initOptionsBase(
bool restoreUi =
true,
const QString &title = QString() );
92 void restoreOptionsBaseUi(
const QString &title = QString() );
106 void searchText(
const QString &text );
110 virtual void updateOptionsListVerticalTabs();
112 virtual void optionsStackedWidget_CurrentChanged(
int index );
114 virtual void optionsStackedWidget_WidgetRemoved(
int index );
116 void warnAboutMissingObjects();
119 void showEvent( QShowEvent *e )
override;
120 void paintEvent( QPaintEvent *e )
override;
122 virtual void updateWindowTitle();
129 void registerTextSearchWidgets();
135 QListWidget *mOptListWidget =
nullptr;
136 QStackedWidget *mOptStackedWidget =
nullptr;
137 QSplitter *mOptSplitter =
nullptr;
138 QDialogButtonBox *mOptButtonBox =
nullptr;
148 #endif // QGSOPTIONSDIALOGBASE_H
This class is a composition of two QSettings instances:
QList< QPair< QgsOptionsDialogHighlightWidget *, int > > mRegisteredSearchWidgets
QLineEdit subclass with built in support for clearing the widget's value and handling custom null val...
A base dialog for options and properties dialogs that offers vertical tabs.
QPointer< QgsSettings > mSettings
bool iconOnly()
Determine if the options list is in icon only mode.