started adding widget pointers to courtroom
This commit is contained in:
parent
f42417f9e2
commit
0821147a48
@ -4,5 +4,9 @@
|
|||||||
|
|
||||||
Courtroom::Courtroom(AOApplication *parent) : QMainWindow(parent)
|
Courtroom::Courtroom(AOApplication *parent) : QMainWindow(parent)
|
||||||
{
|
{
|
||||||
|
ao_app = parent;
|
||||||
|
|
||||||
|
//viewport elements
|
||||||
|
|
||||||
|
//emotes
|
||||||
}
|
}
|
||||||
|
58
courtroom.h
58
courtroom.h
@ -1,7 +1,14 @@
|
|||||||
#ifndef COURTROOM_H
|
#ifndef COURTROOM_H
|
||||||
#define COURTROOM_H
|
#define COURTROOM_H
|
||||||
|
|
||||||
|
#include "aoimage.h"
|
||||||
|
#include "aobutton.h"
|
||||||
|
#include "aopacket.h"
|
||||||
|
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
|
#include <QLineEdit>
|
||||||
|
#include <QPlainTextEdit>
|
||||||
|
#include <QListWidget>
|
||||||
|
|
||||||
class AOApplication;
|
class AOApplication;
|
||||||
|
|
||||||
@ -11,6 +18,57 @@ class Courtroom : public QMainWindow
|
|||||||
public:
|
public:
|
||||||
explicit Courtroom(AOApplication *parent = 0);
|
explicit Courtroom(AOApplication *parent = 0);
|
||||||
|
|
||||||
|
private:
|
||||||
|
AOApplication *ao_app;
|
||||||
|
|
||||||
|
AOImage *ui_background;
|
||||||
|
//viewport elements like background, desk, etc.
|
||||||
|
|
||||||
|
QPlainTextEdit *ui_ic_chatlog;
|
||||||
|
|
||||||
|
QPlainTextEdit *ui_server_chatlog;
|
||||||
|
QPlainTextEdit *ui_ms_chatlog;
|
||||||
|
|
||||||
|
QListWidget *ui_muted_list;
|
||||||
|
QListWidget *ui_area_list;
|
||||||
|
QListWidget *ui_music_list;
|
||||||
|
|
||||||
|
QLineEdit *ui_ic_chat_message;
|
||||||
|
|
||||||
|
QLineEdit *ui_ooc_chat_message;
|
||||||
|
QLineEdit *ui_ooc_chat_name;
|
||||||
|
|
||||||
|
QLineEdit *ui_area_password;
|
||||||
|
QLineEdit *ui_music_search;
|
||||||
|
|
||||||
|
//emote buttons
|
||||||
|
|
||||||
|
AOImage *ui_emote_left;
|
||||||
|
AOImage *ui_emote_right;
|
||||||
|
|
||||||
|
AOButton *ui_hold_it;
|
||||||
|
AOButton *ui_objection;
|
||||||
|
AOButton *ui_take_that;
|
||||||
|
|
||||||
|
AOButton *ui_ooc_toggle;
|
||||||
|
AOButton *ui_witness_testimony;
|
||||||
|
AOButton *ui_cross_examination;
|
||||||
|
|
||||||
|
AOButton *ui_change_character;
|
||||||
|
AOButton *ui_reload_theme;
|
||||||
|
AOButton *ui_call_mod;
|
||||||
|
\
|
||||||
|
AOButton *ui_custom_objection;
|
||||||
|
AOButton *ui_realization;
|
||||||
|
AOButton *ui_mute;
|
||||||
|
|
||||||
|
|
||||||
|
AOImage *ui_muted;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//ui_charselect w/ icons
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
Loading…
Reference in New Issue
Block a user