lyx_mirror/src/frontends/qt4/QViewSourceDialog.h
Bo Peng 3002118616 Add more controls to the view-source dialog.
* src/buffer.[nC]: can write full source, separaet/rename makeXXXFile.
	* src/graphics/PreviewLoader.C: rename maleLaTeXFile to writeLaTeXSource
	* src/frontends/qt3/QViewSourceDialog.h, ui/QViewSourceDialogBase.ui,
		QViewSource.[hC], QViewSourceDialog.[hC]: qt3 frontend
	* src/frontends/qt4/QViewSource.[hC], ui/QViewSourceUi.ui,
		QViewSourceDialog.[hC]: qt4 frontend
	* src/frontends/controllers/ControlViewSource.[hC]: controller


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14539 a592a061-630c-0410-9148-cb99ea01b6c8
2006-08-04 13:59:12 +00:00

40 lines
760 B
C++

// -*- C++ -*-
/**
* \file QViewSourceDialog.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Levon
* \author Bo Peng
*
* Full author contact details are available in file CREDITS.
*/
#ifndef QVIEWSOURCEDIALOG_H
#define QVIEWSOURCEDIALOG_H
#include "ui/QViewSourceUi.h"
namespace lyx {
namespace frontend {
class QViewSource;
class QViewSourceDialog : public QDialog, public Ui::QViewSourceUi {
Q_OBJECT
public:
QViewSourceDialog(QViewSource * form);
protected:
virtual void closeEvent(QCloseEvent * e);
private Q_SLOTS:
// update content
void slotUpdate();
private:
QViewSource * form_;
};
} // namespace frontend
} // namespace lyx
#endif // QVIEWSOURCEDIALOG_H