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

#ifndef UI_KILEWIDGETGRAPHICSCONFIG_H
#define UI_KILEWIDGETGRAPHICSCONFIG_H

#include <ntqvariant.h>
#include <ntqwidget.h>
#include <tdeconfig.h>
#include "latexcmd.h"
#include "latexcmddialog.h"

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQButtonGroup;
class TQLabel;
class KLineEdit;
class TQCheckBox;

class KileWidgetGraphicsConfig : public TQWidget
{
    TQ_OBJECT

public:
    KileWidgetGraphicsConfig( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~KileWidgetGraphicsConfig();

    TQButtonGroup* m_bgGraphics;
    TQLabel* m_tlResolution;
    KLineEdit* kcfg_resolution;
    TQLabel* m_tlBbox;
    TQLabel* m_tlImageMagick;
    TQLabel* m_tlResolutionHelp;
    TQCheckBox* kcfg_boundingbox;
    TQLabel* m_tlBBoxHelp;
    TQLabel* m_lbImagemagick;

    void setLatexCommands( TDEConfig * config, KileDocument::LatexCommands * commands );

protected:
    TQVBoxLayout* KileWidgetGraphicsConfigLayout;
    TQGridLayout* m_bgGraphicsLayout;

protected slots:
    virtual void languageChange();

private:
    TDEConfig *m_config;
    KileDocument::LatexCommands *m_commands;

    void init();

private slots:
    void slotConfigure();

};

#endif // KILEWIDGETGRAPHICSCONFIG_H
