Go to the documentation of this file.
33 myLicenses->setHeaderLabels(QStringList(tr(
"License field")) << tr(
"Value"));
39 myLayout->addWidget(
new QLabel(tr(
"Magicmap color: ")), 4, 1);
46 myFile =
new QLineEdit(
this);
48 myLayout->addWidget(
new QLabel(tr(
"Face file: ")), 5, 1);
51 mySave =
new QPushButton(tr(
"Save face"));
55 QPushButton* smooth =
new QPushButton(tr(
"Make smooth base"),
this);
56 myLayout->addWidget(smooth, 6, 2, 1, 3);
70 for (
auto l : licenses) {
71 QTreeWidgetItem *wi =
new QTreeWidgetItem(QStringList(QString(
l.first.c_str())));
72 for (
auto p :
l.second) {
73 auto twi =
new QTreeWidgetItem(wi, QStringList(p.first.c_str()) << p.second.c_str());
74 twi->setToolTip(1, p.second.c_str());
77 wi->setExpanded(
true);
LicenseManager * licenseManager()
ResourcesManager * myResources
void setSelectedFace(const Face *face)
const char * get_colorname(uint8_t index)
UseFilterAssetModel * myUseModel
LicenseItems getForFace(const std::string &face)
Plugin animator file specs[Config] name
CREMapInformationManager * myMaps
void setFilter(AssetWrapper *asset)
std::string originOf(const archetype *arch) const
this information may not reflect the current implementation This brief document is meant to describe the operation of the crossfire as well as the form of the data The metaserver listens on port for tcp and on port for udp packets The server sends updates to the metaserver via udp The metaserver only does basic checking on the data that server sends It trusts the server for the ip name it provides The metaserver does add the ip address and also tracks the idle time(time since last packet received). The client gets its information from the metaserver through connecting by means of tcp. The client should retrieve http the body s content type is text plain The current metaserver implementation is in Perl But the metaserver could be in any language perl is fast enough for the amount of data that is being exchanged The response includes zero or more server entries Each entry begins with the line START_SERVER_DATA and ends with the line END_SERVER_DATA Between these lines key value pairs("key=value") may be present. The entries are sent in arbitrary order. A client should apply some ordering when displaying the entries to the user. TODO b additional information outside BEGIN_SERVER_DATA END_SERVER_DATA maps
virtual void updateItem() override
void setAutoClose(bool autoClose=true)
CREFacePanel(QWidget *parent, AssetModel *model, ResourcesManager *resources, CREMapInformationManager *maps)