Kata Tournament Runner  0.1.00
 All Classes Namespaces Functions Variables Enumerations Groups Pages
new_tournament_dialog.h
1 #ifndef TOURNAMENT_RUNNER_GUI_NEW_TOURNAMENT_DIALOG_H
2 #define TOURNAMENT_RUNNER_GUI_NEW_TOURNAMENT_DIALOG_H
3 
4 #include <memory>
5 #include <QtWidgets/QDialog>
6 
7 #include "tournament_runner/tournament.h"
8 
9 namespace Ui
10 {
11 class NewTournamentDialog;
12 }
13 
14 namespace TournamentRunnerGUI
15 {
16 
24  public QDialog
25 {
26  Q_OBJECT
27 
28 public:
33  explicit NewTournamentDialog (QWidget* parent = 0);
34 
35 signals:
41 
42 private slots:
46  void on_createButton_accepted ();
47 
48 private:
49  std::shared_ptr<Ui::NewTournamentDialog> ui_{};
50 };
51 
52 } // // namespace TournamentRunnerGUI
53 
54 #endif // TOURNAMENT_RUNNER_GUI_NEW_TOURNAMENT_DIALOG_H
The NewTournamentDialog class.
Definition: new_tournament_dialog.h:23
void new_tournament(TournamentRunner::TournamentData tournament)
New tournament signal.
The TournamentData struct holding all tournament relevant informations.
Definition: tournament.h:27
NewTournamentDialog(QWidget *parent=0)
Default constructor.
Definition: new_tournament_dialog.cpp:14