atrooney-online-2/include/aocaseannouncerdialog.h
Crystalwarrior c8e12558cd Clang-ify the code with this styling using Visual Studio Code:
{ BasedOnStyle: LLVM, UseTab: Never, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Stroustrup, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All }
(this is the Visual Studio preset with only "BreakBeforeBraces" changed from Allman to Stroustrup)
2020-05-22 01:18:24 +03:00

45 lines
1.0 KiB
C++

#ifndef AOCASEANNOUNCERDIALOG_H
#define AOCASEANNOUNCERDIALOG_H
#include "aoapplication.h"
#include "courtroom.h"
#include <QDialogButtonBox>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QVBoxLayout>
class AOCaseAnnouncerDialog : public QDialog {
Q_OBJECT
public:
explicit AOCaseAnnouncerDialog(QWidget *parent = nullptr, AOApplication *p_ao_app = nullptr, Courtroom *p_court = nullptr);
private:
AOApplication *ao_app;
Courtroom *court;
QDialogButtonBox *ui_announcer_buttons;
QVBoxLayout *ui_vbox_layout;
QFormLayout *ui_form_layout;
QLabel *ui_case_title_label;
QLineEdit *ui_case_title_textbox;
QCheckBox *ui_defense_needed;
QCheckBox *ui_prosecutor_needed;
QCheckBox *ui_judge_needed;
QCheckBox *ui_juror_needed;
QCheckBox *ui_steno_needed;
public slots:
void ok_pressed();
void cancel_pressed();
};
#endif // AOCASEANNOUNCERDIALOG_H