docs: describe MainWindow constructor parameters
parent
0288e8de9d
commit
532e52cc7f
|
@ -3,10 +3,12 @@
|
||||||
|
|
||||||
#include "finder.h"
|
#include "finder.h"
|
||||||
#include "word_list.h"
|
#include "word_list.h"
|
||||||
|
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QStandardItemModel>
|
#include <QStandardItemModel>
|
||||||
#include <QStringListModel>
|
#include <QStringListModel>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
QT_BEGIN_NAMESPACE
|
QT_BEGIN_NAMESPACE
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
|
@ -26,14 +28,17 @@ private:
|
||||||
bool incremental_search_enabled_;
|
bool incremental_search_enabled_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
/** Create a new MainWindow.
|
||||||
|
*
|
||||||
|
* @param[in] enableIncrementalSearch Run search while typing.
|
||||||
|
* @param[in] enableDevMode Show additional widgets to configure search.
|
||||||
|
*/
|
||||||
MainWindow(QWidget *parent = nullptr, bool enableIncrementalSearch = false,
|
MainWindow(QWidget *parent = nullptr, bool enableIncrementalSearch = false,
|
||||||
bool enableDevMode = false);
|
bool enableDevMode = false);
|
||||||
~MainWindow();
|
~MainWindow();
|
||||||
|
|
||||||
/// Show additional widgets
|
|
||||||
void setDevMode(bool enable);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
void setDevMode(bool enable);
|
||||||
void setupAlgorithmSelector();
|
void setupAlgorithmSelector();
|
||||||
void setupWordListSourceSelector();
|
void setupWordListSourceSelector();
|
||||||
void setupWordList();
|
void setupWordList();
|
||||||
|
|
Loading…
Reference in New Issue