This commit is contained in:
AJ
2024-06-23 18:11:36 +02:00
parent 97e5a3faf7
commit 997b79c862
4 changed files with 24 additions and 5 deletions

View File

@@ -1,9 +1,28 @@
# include "EinsatzplanFrame.hpp"
EinsatzplanFrame::EinsatzplanFrame(QWidget* parent, bool admin){
EinsatzplanFrame::EinsatzplanFrame(QWidget* parent, std::string id, bool admin){
setFrameStyle(QFrame::Box);
profileImg_m = new QLabel(this);
id_m = new QLabel(id,this);
einsatzplanLabel_m = new QLabel("Einsatzplan",this);
planGrid_m = new PlanGrid(this);
if (admin){
abmeldenButton_m = new QPushButton(this);
createMemberButton_m = new QPushButton(this);
deleteMemberButton_m = new QPushButton(this);
createVeranstaltungButton_m = new QPushButton(this);
deleteVeranstaltungButton_m = new QPushButton(this);
}
}