16 #include <QToolButton>
17 #include "../../backend/bookshelfmodel/btbookshelftreemodel.h"
18 #include "../../backend/config/btconfig.h"
19 #include "../../backend/drivers/btconstmoduleset.h"
20 #include "../../backend/drivers/btmoduleset.h"
21 #include "../../backend/managers/cswordbackend.h"
22 #include "../../util/btconnect.h"
23 #include "../../util/tool.h"
24 #include "../btbookshelfwidget.h"
25 #include "../btmodulechooserdialog.h"
30 QStringLiteral(
"GUI/SearchDialog/ModuleChooserDialog/grouping"));
34 Qt::WindowFlags flags)
62 setWindowTitle(tr(
"Works to Search in"));
64 tr(
"Select the works which should be searched."));
BtConfig & btConfig()
This is a shortchand for BtConfig::getInstance().
void saveTo(BtConfigCore &config, QString const &key) const
void groupingOrderChanged(BtBookshelfTreeModel::Grouping newGrouping)
void setCheckable(bool checkable)
void setCheckedModules(BtConstModuleSet const &modules)
BtModuleSet const & checkedModules() const
BtBookshelfWidget * bookshelfWidget() const
void setCheckedModules(BtConstModuleSet const &modules)
BtSearchModuleChooserDialog(QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
BtConstModuleSet checkedModules() const
static CSwordBackend & instance() noexcept
auto const groupingOrderKey(QStringLiteral("GUI/SearchDialog/ModuleChooserDialog/grouping"))