You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef EDITOR_H_INCLUDED
|
|
|
|
#define EDITOR_H_INCLUDED
|
|
|
|
|
|
|
|
#include <tqwidget.h>
|
|
|
|
|
|
|
|
#include "game.h"
|
|
|
|
|
|
|
|
class KListBox;
|
|
|
|
class TQHBoxLayout;
|
|
|
|
class TQListBoxItem;
|
|
|
|
class Config;
|
|
|
|
|
|
|
|
class Editor : public TQWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
Editor(ObjectList *list, TQWidget * = 0, const char * = 0);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
void addNewItem(Object *);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void setItem(CanvasItem *);
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
void listboxExecuted(TQListBoxItem *);
|
|
|
|
|
|
|
|
private:
|
|
|
|
ObjectList *list;
|
|
|
|
TQHBoxLayout *hlayout;
|
|
|
|
KListBox *listbox;
|
|
|
|
Config *config;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|