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() );
99 void resizeAlltabs(
int index );
113 void searchText(
const QString &text );
117 virtual void updateOptionsListVerticalTabs();
119 virtual void optionsStackedWidget_CurrentChanged(
int index );
121 virtual void optionsStackedWidget_WidgetRemoved(
int index );
123 void warnAboutMissingObjects();
126 void showEvent( QShowEvent *e )
override;
127 void paintEvent( QPaintEvent *e )
override;
129 virtual void updateWindowTitle();
136 void registerTextSearchWidgets();
142 QListWidget *mOptListWidget =
nullptr;
143 QStackedWidget *mOptStackedWidget =
nullptr;
144 QSplitter *mOptSplitter =
nullptr;
145 QDialogButtonBox *mOptButtonBox =
nullptr;
155 #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.