From fb64ca386c51cc3942e1f38cfd76132b1b50e9db Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:48:01 +0200 Subject: Add playerlist widget element (#996) * Commit * Boyfailure code commit * Cooking code spaghetti * Accidental overwrite recursive function call hell * Implemented player list * Add partial moderator widget Sleepy time! Hee-Hoo! * Moderator Dialog - Step 1 - WIP * Appease the clang gods * Clang appeasement policy * *sacrifices goat to clang* * Added player report, reworked implementation, ... * Added player-specific report * Reworked implementation * No longer uses JSON. * Removed preset loader. --------- Co-authored-by: TrickyLeifa Co-authored-by: Leifa <26681464+TrickyLeifa@users.noreply.github.com> --- src/courtroom.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/courtroom.h') diff --git a/src/courtroom.h b/src/courtroom.h index c0fff0ad..905fd17b 100644 --- a/src/courtroom.h +++ b/src/courtroom.h @@ -26,6 +26,7 @@ #include "screenslidetimer.h" #include "scrolltext.h" #include "widgets/aooptionsdialog.h" +#include "widgets/playerlistwidget.h" #include #include @@ -84,6 +85,8 @@ public: void clear_music(); void clear_areas(); + PlayerListWidget *playerList(); + void fix_last_area(); void arup_append(int players, QString status, QString cm, QString locked); @@ -628,6 +631,7 @@ private: QListWidget *ui_mute_list; QTreeWidget *ui_area_list; QTreeWidget *ui_music_list; + PlayerListWidget *ui_player_list; ScrollText *ui_music_name; kal::InterfaceAnimationLayer *ui_music_display; -- cgit