Kata Tournament Runner  0.1.00
 All Classes Namespaces Functions Variables Enumerations Groups Pages
edit_tournament_dialog.h
1 #ifndef TOURNAMENT_RUNNER_GUI_EDIT_TOURNAMENT_DIALOG_H
2 #define TOURNAMENT_RUNNER_GUI_EDIT_TOURNAMENT_DIALOG_H
3 
4 #include <memory>
5 
6 #include <QtWidgets/QDialog>
7 
8 #include "tournament_runner/tournament.h"
9 
10 namespace Ui
11 {
12 class EditTournamentDialog;
13 }
14 
15 namespace TournamentRunnerGUI
16 {
17 
25  public QDialog
26 {
27  Q_OBJECT
28 
29 public:
40  QWidget* parent = 0);
41 
42 signals:
48 
49 private slots:
53  void on_updateButton_accepted ();
54 
55 private:
56  std::shared_ptr<Ui::EditTournamentDialog> ui_{};
57 };
58 
59 } // // namespace TournamentRunnerGUI
60 
61 #endif // TOURNAMENT_RUNNER_GUI_EDIT_TOURNAMENT_DIALOG_H
void update_tournament(TournamentRunner::TournamentData tournament)
Edit tournament signal.
The Tournament class is the starting point for the tournament management.
Definition: tournament.h:110
The NewTournamentDialog class.
Definition: edit_tournament_dialog.h:24
The TournamentData struct holding all tournament relevant informations.
Definition: tournament.h:27
EditTournamentDialog(TournamentRunner::Tournament &tournament, QWidget *parent=0)
default constructor
Definition: edit_tournament_dialog.cpp:14