Changeset View
Changeset View
Standalone View
Standalone View
plugins/ocr/abstractocrdialogue.h
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Line(s) | 77 | protected: | |||
---|---|---|---|---|---|
87 | * @note This is called when the OCR process starts with the parameter @p enable | 87 | * @note This is called when the OCR process starts with the parameter @p enable | ||
88 | * set to @c false, and called after OCR has finished and the GUI should accept | 88 | * set to @c false, and called after OCR has finished and the GUI should accept | ||
89 | * user input again with the parameter @p enable set to @c true. | 89 | * user input again with the parameter @p enable set to @c true. | ||
90 | */ | 90 | */ | ||
91 | virtual void enableFields(bool enable) = 0; | 91 | virtual void enableFields(bool enable) = 0; | ||
92 | 92 | | |||
93 | QProgressBar *progressBar() const; | 93 | QProgressBar *progressBar() const; | ||
94 | 94 | | |||
95 | void ocrShowInfo(const QString &binary, const QString &version = QString::null); | 95 | void ocrShowInfo(const QString &binary, const QString &version = QString()); | ||
96 | void ocrShowVersion(const QString &version); | 96 | void ocrShowVersion(const QString &version); | ||
97 | 97 | | |||
98 | QWidget *addExtraSetupWidget(QWidget *wid = nullptr, bool stretchBefore = false); | 98 | QWidget *addExtraSetupWidget(QWidget *wid = nullptr, bool stretchBefore = false); | ||
99 | QWidget *addExtraEngineWidget(QWidget *wid = nullptr, bool stretchBefore = false); | 99 | QWidget *addExtraEngineWidget(QWidget *wid = nullptr, bool stretchBefore = false); | ||
100 | QWidget *addExtraDebugWidget(QWidget *wid = nullptr, bool stretchBefore = false); | 100 | QWidget *addExtraDebugWidget(QWidget *wid = nullptr, bool stretchBefore = false); | ||
101 | 101 | | |||
102 | protected slots: | 102 | protected slots: | ||
103 | virtual void slotWriteConfig(); | 103 | virtual void slotWriteConfig(); | ||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |