
If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
47 lines
1.0 KiB
C++
47 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
|