Cute Chess  0.1
gamedatabasesearchdlg.h
1 /*
2  This file is part of Cute Chess.
3 
4  Cute Chess is free software: you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8 
9  Cute Chess is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with Cute Chess. If not, see <http://www.gnu.org/licenses/>.
16 */
17 
18 #ifndef GAMEDATABASESEARCHDIALOG_H
19 #define GAMEDATABASESEARCHDIALOG_H
20 
21 #include <QDialog>
22 #include <pgngamefilter.h>
23 
24 namespace Ui {
26 }
27 
34 {
35  Q_OBJECT
36 
37  public:
39  GameDatabaseSearchDialog(QWidget* parent = nullptr);
41  virtual ~GameDatabaseSearchDialog();
42 
44  PgnGameFilter filter() const;
45 
46  private slots:
47  void onResultChanged(int index);
48 
49  private:
50  Ui::GameDatabaseSearchDialog* ui;
51 };
52 
53 #endif // GAMEDATABASESEARCHDIALOG_H
A filter for chess games in a PGN database.
Definition: pgngamefilter.h:36
Definition: engineconfigurationdlg.h:30
PgnGameFilter filter() const
Definition: gamedatabasesearchdlg.cpp:48
Dialog for searching and filtering game databases.
Definition: gamedatabasesearchdlg.h:33
virtual ~GameDatabaseSearchDialog()
Definition: gamedatabasesearchdlg.cpp:32
GameDatabaseSearchDialog(QWidget *parent=nullptr)
Definition: gamedatabasesearchdlg.cpp:21