summaryrefslogtreecommitdiffstats
path: root/kenolaba/EvalDlgImpl.h
blob: 70c903fb55b67c453c808607d31bf852f787d0ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
 * Some Implementation details for configEval Dialog
 *
 */

#ifndef _EVALDLGIMPL_H_
#define _EVALDLGIMPL_H_

#include "EvalDlg.h"

class EvalScheme;
class Board;

class EvalDlgImpl: public EvalDlg
{
 Q_OBJECT

 public:
  EvalDlgImpl(QWidget* parent, Board* board);
 ~EvalDlgImpl();

  EvalScheme* evalScheme() { return _scheme; }

 public slots:
 void deleteEntry();
 void saveas();
 void select(int i);
 void updateCount();
 void updateMove();
 void updateFields();
 void updateInARow();

 private:
  void updateEval();
  void updateWidgets();
  void connectEditLines();
  void disconnectEditLines();

  EvalScheme *_origScheme, *_scheme;
  Board* _board;
};

#endif // _EVALDLGIMPL_H_