2006-03-05 17:24:44 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-08-31 05:53:55 +00:00
|
|
|
* \file GuiTexinfo.h
|
2006-03-05 17:24:44 +00:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
#ifndef GUITEXINFO_H
|
|
|
|
#define GUITEXINFO_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
#include "GuiDialog.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
#include "ControlTexinfo.h"
|
2007-08-11 15:48:15 +00:00
|
|
|
#include "ui_TexinfoUi.h"
|
2007-04-24 15:10:14 +00:00
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
#include <map>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
class GuiTexinfoDialog : public GuiDialog, public Ui::TexinfoUi
|
2007-08-31 22:16:11 +00:00
|
|
|
{
|
2007-04-24 15:10:14 +00:00
|
|
|
Q_OBJECT
|
2007-09-05 20:33:29 +00:00
|
|
|
|
2007-04-24 15:10:14 +00:00
|
|
|
public:
|
2007-09-05 20:33:29 +00:00
|
|
|
GuiTexinfoDialog(LyXView & lv);
|
|
|
|
|
2007-04-24 15:10:14 +00:00
|
|
|
public Q_SLOTS:
|
2007-09-05 20:33:29 +00:00
|
|
|
void updateView();
|
2007-04-24 15:10:14 +00:00
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
private Q_SLOTS:
|
|
|
|
void change_adaptor();
|
|
|
|
void rescanClicked();
|
|
|
|
void viewClicked();
|
|
|
|
void enableViewPB();
|
2007-04-24 15:10:14 +00:00
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
private:
|
2006-03-05 17:24:44 +00:00
|
|
|
///
|
2007-09-05 20:33:29 +00:00
|
|
|
void closeEvent(QCloseEvent * e);
|
2006-03-05 17:24:44 +00:00
|
|
|
///
|
2007-09-11 18:33:42 +00:00
|
|
|
ControlTexinfo & controller();
|
2006-03-05 17:24:44 +00:00
|
|
|
///
|
|
|
|
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
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
#endif // GUITEXINFO_H
|