/****************************************************************************
** Form interface generated from reading ui file '/usr/src/ports/qt3/qt3-3.3.8b-17.x86_64/src/qt-x11-free-3.3.8b/tools/designer/designer/pixmapcollectioneditor.ui'
**
** Created by User Interface Compiler
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef PIXMAPCOLLECTIONEDITOR_H
#define PIXMAPCOLLECTIONEDITOR_H

#include <qvariant.h>
#include <qdialog.h>
#include <qpixmap.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QIconView;
class QIconViewItem;
class QPushButton;
class Project;

class PixmapCollectionEditor : public QDialog
{
    Q_OBJECT

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

    QIconView* viewPixmaps;
    QPushButton* PushButton2;
    QPushButton* PushButton3;
    QPushButton* buttonOk;
    QPushButton* buttonCancel;
    QPushButton* buttonClose;

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

protected:
    Project *project;
    bool chooser;

    QVBoxLayout* PixmapCollectionEditorLayout;
    QHBoxLayout* Layout2;
    QSpacerItem* Spacer2;

protected slots:
    virtual void languageChange();

};

#endif // PIXMAPCOLLECTIONEDITOR_H
