/****************************************************************************
** Form interface generated from reading ui file 'pixmapcollectioneditor.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_PIXMAPCOLLECTIONEDITOR_H
#define UI_PIXMAPCOLLECTIONEDITOR_H

#include <ntqvariant.h>
#include <ntqdialog.h>
#include <tqpixmap.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQIconView;
class TQIconViewItem;
class TQPushButton;
class Project;

class PixmapCollectionEditor : public TQDialog
{
    TQ_OBJECT

public:
    PixmapCollectionEditor( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
    ~PixmapCollectionEditor();

    TQIconView* viewPixmaps;
    TQPushButton* PushButton2;
    TQPushButton* PushButton3;
    TQPushButton* buttonOk;
    TQPushButton* buttonCancel;
    TQPushButton* buttonClose;

public slots:
    virtual void init();
    virtual void destroy();
    virtual void addPixmap();
    virtual void removePixmap();
    virtual void updateView();
    virtual void currentChanged(TQIconViewItem * i);
    virtual void setChooserMode(bool c);
    virtual void setCurrentItem(const TQString & name);
    virtual void setProject(Project * pro);
    virtual TQPixmap scaledPixmap(const TQPixmap & p);

protected:
    Project *project;
    bool chooser;

    TQVBoxLayout* PixmapCollectionEditorLayout;
    TQHBoxLayout* Layout2;
    TQSpacerItem* Spacer2;

protected slots:
    virtual void languageChange();

};

#endif // PIXMAPCOLLECTIONEDITOR_H
