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

#ifndef UI_SQ_IMAGECONVERT_H
#define UI_SQ_IMAGECONVERT_H

#include <ntqvariant.h>
#include <ntqdialog.h>
#include "sq_imageedit.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQPushButton;
class TQFrame;
class TQWidgetStack;
class TQWidget;
class TQGroupBox;
class TQListView;
class TQListViewItem;
class TQTextEdit;
class KProgress;
struct fmt_writeoptions;
struct fmt_writeoptionsabs;

class SQ_ImageConvert : public TQDialog
{
    TQ_OBJECT

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

    TQPushButton* pushConvert;
    TQPushButton* pushCancel;
    TQFrame* line8;
    TQWidgetStack* widgetStack;
    TQWidget* WStackPage;
    TQGroupBox* groupBoxActions;
    TQPushButton* pushOptions;
    TQPushButton* pushWriteOptions;
    TQListView* tableLib;
    TQWidget* WStackPage_2;
    TQTextEdit* textResult;
    KProgress* progress;

    virtual void init();
    virtual void startConvertion( int count );
    virtual void fillWriteOptions( fmt_writeoptions * opt, const fmt_writeoptionsabs & opt2 );

public slots:
    virtual void slotShowExtWrapper( bool show );

signals:
    void convert(SQ_ImageOptions*, SQ_ImageConvertOptions*);

protected:
    virtual void closeEvent( TQCloseEvent * e );

    TQGridLayout* SQ_ImageConvertLayout;
    TQHBoxLayout* layout1;
    TQSpacerItem* spacer1;
    TQGridLayout* WStackPageLayout;
    TQGridLayout* groupBoxActionsLayout;
    TQSpacerItem* spacer15;
    TQGridLayout* WStackPageLayout_2;

protected slots:
    virtual void languageChange();

private:
    SQ_ImageOptions imageopt;
    int paragraph;
    bool done;

    virtual void initLibs();

private slots:
    virtual void createExtension();
    virtual void slotDebugText( const TQString & text, bool bold );
    virtual void slotStartConvert();
    virtual void slotOneProcessed();
    virtual void slotCurrentLibraryChanged( TQListViewItem * i );
    virtual void slotOptions();
    virtual void slotDone( bool close );
    virtual void slotReject();

};

#endif // SQ_IMAGECONVERT_H
