/****************************************************************************
** Form interface generated from reading ui file 'Muster.ui'
**
** Created: Thu Nov 1 09:45:36 2001
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef MUSTERSEITEN_H
#define MUSTERSEITEN_H

#include <qdialog.h>
#include <qlistbox.h>
#include <qpushbutton.h>
#include <qlayout.h>
#include <qtooltip.h>
#include "scribusdoc.h"
#include "scribusview.h"

class MusterSeiten : public QDialog
{ 
    Q_OBJECT

public:
    MusterSeiten( QWidget* parent, ScribusDoc *doc, ScribusView *view, QString temp);
    ~MusterSeiten() {};
    void closeEvent(QCloseEvent *ce);

private:
    void updateMList(QString nam);
    QListBox* ListBox1;
    QPushButton* NewB;
    QPushButton* DuplicateB;
    QPushButton* DeleteB;
    QPushButton* ExitB;
    ScribusDoc *Doc;
    ScribusView *View;
    QString sMuster;

private slots:
		void ExitEditor();
		void DuplTemp();
		void DelTemp();
		void NewTemp();
		void selTemplate(QListBoxItem *c);
		
signals:
		void CreateNew(int);
		void Fertig();
		
protected:
    QHBoxLayout* MusterSeitenLayout;
    QVBoxLayout* Layout2;
};

#endif // MUSTERSEITEN_H
