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> --- data/ui/moderator_action_dialog.ui | 133 +++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 data/ui/moderator_action_dialog.ui (limited to 'data/ui/moderator_action_dialog.ui') diff --git a/data/ui/moderator_action_dialog.ui b/data/ui/moderator_action_dialog.ui new file mode 100644 index 00000000..723db979 --- /dev/null +++ b/data/ui/moderator_action_dialog.ui @@ -0,0 +1,133 @@ + + + base_widget + + + + 0 + 0 + 469 + 275 + + + + Form + + + + + + 6 + + + + + true + + + Permanent + + + + + + + Duration + + + + + + + false + + + + + + + Action + + + + + + + true + + + Hour(s) + + + 1 + + + 876000 + + + + + + + + + + + Details + + + + + + + true + + + QFrame::Box + + + QFrame::Sunken + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css"> +p, li { white-space: pre-wrap; } +hr { height: 1px; border-width: 0; } +li.unchecked::marker { content: "\2610"; } +li.checked::marker { content: "\2612"; } +</style></head><body style=" font-family:'Segoe UI'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8.25pt;"><br /></p></body></html> + + + + + + + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + + permanent + clicked(bool) + duration + setDisabled(bool) + + + 416 + 74 + + + 234 + 74 + + + + + -- cgit