Crossfire Server, Trunk
GeneralMessagePanel.cpp
Go to the documentation of this file.
1 /*
2  * Crossfire -- cooperative multi-player graphical RPG and adventure game
3  *
4  * Copyright (c) 2022 the Crossfire Development Team
5  *
6  * Crossfire is free software and comes with ABSOLUTELY NO WARRANTY. You are
7  * welcome to redistribute it under certain conditions. For details, please
8  * see COPYING and LICENSE.
9  *
10  * The authors can be reached via e-mail at <crossfire@metalforge.org>.
11  */
12 
13 #include "GeneralMessagePanel.h"
14 
16  addLineEdit(tr("Title:"), "title", false);
17  addLineEdit(tr("Identifier:"), "identifier");
18  addLineEdit(tr("Quest:"), "quest", false);
19  addLineEdit(tr("Chance:"), "chance", false);
20  addFaceChoice(tr("Face:"), "face", false);
21  addTextEdit(tr("Message:"), "message", false);
22 }
AssetWrapperPanel
Definition: AssetWrapperPanel.h:28
AssetWrapperPanel::addTextEdit
QTextEdit * addTextEdit(const QString &label, const char *property, bool readOnly=true)
Definition: AssetWrapperPanel.cpp:82
AssetWrapperPanel::addLineEdit
QLineEdit * addLineEdit(const QString &label, const char *property, bool readOnly=true)
Definition: AssetWrapperPanel.cpp:72
GeneralMessagePanel.h
CREGeneralMessagePanel::CREGeneralMessagePanel
CREGeneralMessagePanel(QWidget *parent)
Definition: GeneralMessagePanel.cpp:15
AssetWrapperPanel::addFaceChoice
void addFaceChoice(const QString &label, const char *property, bool readOnly=true, bool allowNone=true)
Definition: AssetWrapperPanel.cpp:102