lyx_mirror/src/frontends/qt4/GuiTexinfo.h
André Pönitz 470aba2a0e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 18:33:42 +00:00

63 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file GuiTexinfo.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Edwin Leuven
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUITEXINFO_H
#define GUITEXINFO_H
#include "GuiDialog.h"
#include "ControlTexinfo.h"
#include "ui_TexinfoUi.h"
#include <map>
#include <vector>
namespace lyx {
namespace frontend {
class GuiTexinfoDialog : public GuiDialog, public Ui::TexinfoUi
{
Q_OBJECT
public:
GuiTexinfoDialog(LyXView & lv);
public Q_SLOTS:
void updateView();
private Q_SLOTS:
void change_adaptor();
void rescanClicked();
void viewClicked();
void enableViewPB();
private:
///
void closeEvent(QCloseEvent * e);
///
ControlTexinfo & controller();
///
void updateStyles(ControlTexinfo::texFileSuffix);
///
void updateStyles();
///
bool warningPosted;
///
ControlTexinfo::texFileSuffix activeStyle;
///
typedef std::vector<std::string> ContentsType;
std::map<ControlTexinfo::texFileSuffix, ContentsType> texdata_;
};
} // namespace frontend
} // namespace lyx
#endif // GUITEXINFO_H