Crossfire Server, Branches 1.12  R18729
CREResourcesWindow.h
Go to the documentation of this file.
1 #ifndef CRERESOURCESWINDOW_H
2 #define CRERESOURCESWINDOW_H
3 
4 #include <QObject>
5 #include <QtGui>
6 
8 
9 class CREResourcesWindow : public QWidget
10 {
11  Q_OBJECT
12 
13  public:
15 
16  protected:
17  QTreeWidget* myTree;
18  QWidget* myCurrentPanel;
19  QHash<QString, QPointer<QWidget> > myPanels;
20  QSplitter* mySplitter;
21 
22  void fillAnimations();
23  void fillTreasures();
24  void fillArchetypes();
25  void fillFormulae();
26  void fillArtifacts();
27  void fillFaces();
28  void addPanel(QString name, QWidget* panel);
29 
30  protected slots:
31  void tree_currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*);
32 };
33 
34 #endif // CRERESOURCESWINDOW_H
CREResourcesWindow(DisplayMode mode=DisplayAll)
void tree_currentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)
void addPanel(QString name, QWidget *panel)
QHash< QString, QPointer< QWidget > > myPanels
DisplayMode