mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 17:32:17 -07:00
* [Settings] Implement search Took 38 minutes Took 8 seconds Took 9 minutes Took 5 seconds Took 44 seconds Took 25 seconds * Comments Took 23 minutes Took 15 seconds * Comments Took 1 hour 14 minutes * Minor fixes to search Took 13 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
24 lines
777 B
C++
24 lines
777 B
C++
#ifndef COCKATRICE_ABSTRACT_SETTINGS_PAGE_H
|
|
#define COCKATRICE_ABSTRACT_SETTINGS_PAGE_H
|
|
|
|
#include <QList>
|
|
#include <QWidget>
|
|
|
|
#define WIKI_CUSTOM_PIC_URL "https://github.com/Cockatrice/Cockatrice/wiki/Custom-Picture-Download-URLs"
|
|
#define WIKI_CUSTOM_SHORTCUTS "https://github.com/Cockatrice/Cockatrice/wiki/Custom-Keyboard-Shortcuts"
|
|
#define WIKI_TRANSLATION_FAQ "https://github.com/Cockatrice/Cockatrice/wiki/Translation-FAQ"
|
|
|
|
struct SettingsSearchEntry;
|
|
|
|
class AbstractSettingsPage : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
virtual void retranslateUi() = 0;
|
|
virtual QList<SettingsSearchEntry> getSearchEntries();
|
|
|
|
protected:
|
|
static QList<SettingsSearchEntry> autoDetectSearchEntries(QWidget *page, int pageIndex);
|
|
};
|
|
|
|
#endif // COCKATRICE_ABSTRACT_SETTINGS_PAGE_H
|