Crossfire Server, Trunk
FacePanel.h
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 #ifndef FACE_PANEL_H
14 #define FACE_PANEL_H
15 
16 #include <QObject>
17 #include <QtWidgets>
19 
20 #include "global.h"
21 
23 class AssetModel;
25 class ResourcesManager;
26 
30 class CREFacePanel : public AssetTWrapperPanel<Face> {
31  Q_OBJECT
32 
33 public:
34  CREFacePanel(QWidget* parent, AssetModel *model, ResourcesManager *resources, CREMapInformationManager* maps);
35  virtual void updateItem() override;
36 
37 protected:
39 
40  QTreeView *myUseView;
43  QComboBox* myColor;
44  QLineEdit* myFile;
45  QPushButton* mySave;
46  QTreeWidget* myLicenses;
47 
48 private slots:
49  void saveClicked(bool);
50  void makeSmooth(bool);
51 };
52 
53 #endif // FACE_PANEL_H
global.h
CREFacePanel::myResources
ResourcesManager * myResources
Definition: FacePanel.h:42
CREFacePanel::myUseView
QTreeView * myUseView
Definition: FacePanel.h:40
CREFacePanel::makeSmooth
void makeSmooth(bool)
Definition: FacePanel.cpp:86
CREFacePanel::myUseModel
UseFilterAssetModel * myUseModel
Definition: FacePanel.h:41
CREMapInformationManager
Definition: CREMapInformationManager.h:27
AssetWrapperPanel.h
CREFacePanel::myMaps
CREMapInformationManager * myMaps
Definition: FacePanel.h:38
UseFilterAssetModel
Definition: AssetModel.h:58
ResourcesManager
Definition: ResourcesManager.h:80
CREFacePanel::saveClicked
void saveClicked(bool)
Definition: FacePanel.cpp:82
maps
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
Definition: arch-handbook.txt:189
CREFacePanel
Definition: FacePanel.h:30
AssetTWrapperPanel
Definition: AssetWrapperPanel.h:92
CREFacePanel::updateItem
virtual void updateItem() override
Definition: FacePanel.cpp:60
CREFacePanel::myLicenses
QTreeWidget * myLicenses
Definition: FacePanel.h:46
CREFacePanel::myColor
QComboBox * myColor
Definition: FacePanel.h:43
CREFacePanel::mySave
QPushButton * mySave
Definition: FacePanel.h:45
AssetModel
Definition: AssetModel.h:29
CREFacePanel::CREFacePanel
CREFacePanel(QWidget *parent, AssetModel *model, ResourcesManager *resources, CREMapInformationManager *maps)
Definition: FacePanel.cpp:19
CREFacePanel::myFile
QLineEdit * myFile
Definition: FacePanel.h:44