Crossfire Server, Trunk
RegionPanel.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 <QtWidgets>
14 
15 #include "RegionPanel.h"
16 
17 RegionPanel::RegionPanel(QWidget* parent) : AssetWrapperPanel(parent) {
18  addLabel(tr("Short name:"), "shortName");
19  addLabel(tr("Long name:"), "longName");
20  addLabel(tr("Message:"), "message")->setWordWrap(true);
21  addLabel(tr("Jail:"), "jailPath");
22  addLabel("", "jailX");
23  addLabel("", "jailY");
25 }
AssetWrapperPanel
Definition: AssetWrapperPanel.h:28
AssetWrapperPanel::addBottomFiller
void addBottomFiller()
Definition: AssetWrapperPanel.cpp:152
AssetWrapperPanel::addLabel
QLabel * addLabel(const QString &label, const char *property)
Definition: AssetWrapperPanel.cpp:68
RegionPanel.h
RegionPanel::RegionPanel
RegionPanel(QWidget *parent)
Definition: RegionPanel.cpp:17