mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-17 21:36:00 +00:00
51 lines
907 B
C++
51 lines
907 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiShowFile.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Levon
|
|
* \author Herbert Voß
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUISHOWFILE_H
|
|
#define GUISHOWFILE_H
|
|
|
|
#include "GuiDialog.h"
|
|
#include "ui_ShowFileUi.h"
|
|
|
|
#include "support/FileName.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class GuiShowFile : public GuiDialog, public Ui::ShowFileUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GuiShowFile(GuiView & lv);
|
|
|
|
private:
|
|
/// update
|
|
void updateContents() override;
|
|
///
|
|
bool initialiseParams(std::string const & data) override;
|
|
///
|
|
void clearParams() override;
|
|
///
|
|
void dispatchParams() override {}
|
|
///
|
|
bool isBufferDependent() const override { return false; }
|
|
|
|
///
|
|
support::FileName filename_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUISHOWFILE_H
|