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

#ifndef UI_KILEWIDGETLATEXCONFIG_H
#define UI_KILEWIDGETLATEXCONFIG_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 TQPushButton;
class TQLabel;
class TQCheckBox;
class TQComboBox;
class TQGroupBox;
class KLineEdit;

class KileWidgetLatexConfig : public TQWidget
{
    TQ_OBJECT

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

    TQButtonGroup* m_bgCommands;
    TQPushButton* m_pbCommands;
    TQLabel* m_tlCommands;
    TQButtonGroup* m_bgQuotes;
    TQLabel* m_tlType;
    TQCheckBox* kcfg_InsertDoubleQuotes;
    TQComboBox* kcfg_DoubleQuotes;
    TQButtonGroup* m_bgMathmode;
    TQCheckBox* kcfg_autoInsertDollar;
    TQGroupBox* groupBox5;
    TQLabel* m_tlPath;
    KLineEdit* kcfg_TeXPaths;
    KLineEdit* kcfg_BibInputPaths;
    KLineEdit* kcfg_BstInputPaths;
    TQLabel* m_bibinputpath;
    TQLabel* m_bstinputpath;

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

protected:
    TQVBoxLayout* KileWidgetLatexConfigLayout;
    TQGridLayout* m_bgCommandsLayout;
    TQGridLayout* m_bgQuotesLayout;
    TQSpacerItem* spacer1;
    TQVBoxLayout* m_bgMathmodeLayout;
    TQGridLayout* groupBox5Layout;

protected slots:
    virtual void languageChange();

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

    void init();

private slots:
    void slotConfigure();

};

#endif // KILEWIDGETLATEXCONFIG_H
