mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
14f3344f0b
* DockView.h: add the orientation option. * QViewSource: now a model and a controller * QViewSourceDialog: now only a simple QWidget. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17538 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
788 B
C++
45 lines
788 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
|
|
* \author Abdelrazak Younes
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef QVIEWSOURCEDIALOG_H
|
|
#define QVIEWSOURCEDIALOG_H
|
|
|
|
#include "ui/QViewSourceUi.h"
|
|
|
|
#include "frontends/Application.h"
|
|
|
|
#include <QWidget>
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class QViewSource;
|
|
|
|
class QViewSourceDialog : public QWidget, public Ui::QViewSourceUi {
|
|
Q_OBJECT
|
|
public:
|
|
QViewSourceDialog(QViewSource * form);
|
|
|
|
public Q_SLOTS:
|
|
// update content
|
|
void update();
|
|
|
|
private:
|
|
QViewSource * form_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // QVIEWSOURCEDIALOG_H
|