atrooney-online-2/include/aocaseannouncerdialog.h
oldmud0 156a760eba Full revert to tag 2.6.2
Due to a countless number of changes made to the core that were not
fully understood, tested, or documented, it was decided to roll
everything back to the last known stable version (2.6.2).

Changes dropped include:
 - Witness needed
 - Shake
 - Frame SFX
 - Multiple custom objections
 - Multithreaded thumbnail generation
 - Looping
 - Various translation additions
 - "Mirror IC"
 - Color in IC log
 - An invocation of clang-format

Next time, work together and split your big fork into independently
testable feature branches.
2020-05-22 17:02:32 -05:00

46 lines
1009 B
C++

#ifndef AOCASEANNOUNCERDIALOG_H
#define AOCASEANNOUNCERDIALOG_H
#include "aoapplication.h"
#include "courtroom.h"
#include <QtWidgets/QDialog>
#include <QDialogButtonBox>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QFormLayout>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QLabel>
#include <QtWidgets/QLineEdit>
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