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

#ifndef SLIDESHOWCONFIGBASE_H
#define SLIDESHOWCONFIGBASE_H

#include <ntqvariant.h>
#include <ntqpixmap.h>
#include <kdialog.h>
#include <klineedit.h>
#include <kprocess.h>
#include <libkipi/interface.h>
#include <tdeio/previewjob.h>
#include <tdelistbox.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
namespace KIPISlideShowPlugin {
class ListImageItems;
}
class TQTabWidget;
class TQWidget;
class TQButtonGroup;
class TQRadioButton;
class TQGroupBox;
class TQLabel;
class TQPushButton;
class TQCheckBox;
class TQSpinBox;
class TQComboBox;
class TDEFontChooser;
class KColorButton;

namespace KIPISlideShowPlugin {
class SlideShowConfigBase : public KDialog
{
    TQ_OBJECT

public:
    SlideShowConfigBase( TQWidget* parent = 0, const char* name = 0 );
    ~SlideShowConfigBase();

    TQTabWidget* m_tabWidget;
    TQWidget* mainTab;
    TQButtonGroup* m_fileSrcButtonGroup;
    TQRadioButton* m_allFilesButton;
    TQRadioButton* m_selectedFilesButton;
    TQRadioButton* m_customButton;
    TQGroupBox* m_ImagesFilesGroup;
    KIPISlideShowPlugin::ListImageItems* m_ImagesFilesListBox;
    TQLabel* m_label6;
    TQPushButton* m_ImagesFilesButtonAdd;
    TQPushButton* m_ImagesFilesButtonDelete;
    TQPushButton* m_ImagesFilesButtonUp;
    TQPushButton* m_ImagesFilesButtonDown;
    TQLabel* m_ImageLabel;
    TQLabel* m_label7;
    TQGroupBox* groupBox1;
    TQCheckBox* m_openglCheckBox;
    TQGroupBox* groupBox1_2;
    TQCheckBox* m_printNameCheckBox;
    TQCheckBox* m_printProgressCheckBox;
    TQCheckBox* m_printCommentsCheckBox;
    TQGroupBox* groupBox3;
    TQCheckBox* m_loopCheckBox;
    TQCheckBox* m_shuffleCheckBox;
    TQLabel* m_delayLabel;
    TQSpinBox* m_delaySpinBox;
    TQLabel* label2;
    TQComboBox* m_effectsComboBox;
    TQWidget* commentsTab;
    TDEFontChooser* m_commentsFontChooser;
    TQGroupBox* groupBox7;
    TQLabel* textLabel1;
    KColorButton* m_commentsFontColor;
    TQLabel* textLabel1_2;
    KColorButton* m_commentsBgColor;
    TQLabel* textLabel2;
    TQSpinBox* m_commentsLinesLengthSpinBox;
    TQWidget* TabPage;
    TQGroupBox* groupBox5;
    TQCheckBox* m_useMillisecondsCheckBox;
    TQGroupBox* groupBox8;
    TQCheckBox* m_enableMouseWheelCheckBox;
    TQButtonGroup* buttonGroup3;
    TQCheckBox* m_kbDisableFadeCheckBox;
    TQCheckBox* m_kbDisableCrossfadeCheckBox;
    TQButtonGroup* m_cacheButtonGroup;
    TQCheckBox* m_cacheCheckBox;
    TQLabel* m_cacheSizeLabel1;
    TQSpinBox* m_cacheSizeSpinBox;
    TQLabel* m_cacheSizeLabel2;
    TQLabel* m_KBCacheLabel;
    TQPushButton* m_buttonExit;
    TQPushButton* m_buttonStart;
    TQPushButton* m_helpButton;

public slots:
    void SlotPortfolioDurationChanged( int );
    void slotImagesFilesButtonUp( void );
    void slotImagesFilesButtonAdd( void );
    void slotImagesFilesButtonDown();
    void slotImagesFilesButtonDelete( void );
    void slotImagesFilesSelected( TQListBoxItem * item );
    void slotGotPreview( const KFileItem *, const TQPixmap & pixmap );
    void slotFailedPreview( const KFileItem * );
    void slotAddDropItems( KURL::List filesUrl );

protected:
    virtual void loadEffectNames();
    virtual void loadEffectNamesGL();
    virtual void readSettings();
    virtual void saveSettings();

    TQVBoxLayout* SlideShowConfigBaseLayout;
    TQVBoxLayout* mainTabLayout;
    TQSpacerItem* spacer14_3;
    TQVBoxLayout* m_fileSrcButtonGroupLayout;
    TQHBoxLayout* m_ImagesFilesGroupLayout;
    TQVBoxLayout* layout15;
    TQVBoxLayout* layout14;
    TQSpacerItem* spacer14;
    TQSpacerItem* spacer14_2;
    TQVBoxLayout* layout14_2;
    TQHBoxLayout* layout50;
    TQVBoxLayout* layout47;
    TQVBoxLayout* groupBox1Layout;
    TQSpacerItem* spacer59;
    TQVBoxLayout* groupBox1_2Layout;
    TQSpacerItem* spacer58;
    TQHBoxLayout* layout14_3;
    TQVBoxLayout* groupBox3Layout;
    TQSpacerItem* spacer57;
    TQHBoxLayout* layout48;
    TQHBoxLayout* layout49;
    TQVBoxLayout* commentsTabLayout;
    TQSpacerItem* spacer12;
    TQHBoxLayout* layout57;
    TQSpacerItem* spacer66;
    TQVBoxLayout* groupBox7Layout;
    TQHBoxLayout* layout52;
    TQSpacerItem* spacer62;
    TQHBoxLayout* layout51;
    TQSpacerItem* spacer61;
    TQHBoxLayout* layout55;
    TQSpacerItem* spacer65;
    TQVBoxLayout* TabPageLayout;
    TQSpacerItem* spacer10_2;
    TQVBoxLayout* groupBox5Layout;
    TQVBoxLayout* groupBox8Layout;
    TQHBoxLayout* buttonGroup3Layout;
    TQVBoxLayout* m_cacheButtonGroupLayout;
    TQHBoxLayout* layout15_2;
    TQSpacerItem* spacer14_4;
    TQGridLayout* layout3;
    TQSpacerItem* Horizontal_Spacing2;

protected slots:
    virtual void languageChange();

    virtual void slotOpenGLToggled();
    virtual void slotStartClicked();
    virtual void slotHelp();
    virtual void slotUseMillisecondsToggled();
    virtual void slotCacheToggled();


private:
    TQPixmap image0;
    TQPixmap image1;

};
}

#endif // SLIDESHOWCONFIGBASE_H
