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"
);
24
addBottomFiller
();
25
}
AssetWrapperPanel
Definition:
AssetWrapperPanel.h:29
AssetWrapperPanel::addLabel
QLabel * addLabel(const QString &label, const char *property, bool wrapText=false)
Definition:
AssetWrapperPanel.cpp:68
AssetWrapperPanel::addBottomFiller
void addBottomFiller()
Definition:
AssetWrapperPanel.cpp:154
RegionPanel.h
RegionPanel::RegionPanel
RegionPanel(QWidget *parent)
Definition:
RegionPanel.cpp:17
crossfire-crossfire-server
utils
cre
regions
RegionPanel.cpp
Generated by
1.8.17