mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-19 12:20:27 +00:00
61 lines
977 B
C++
61 lines
977 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GuiCompareHistory.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Pavel Sanda
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GUICOMPAREHISTORY_H
|
|
#define GUICOMPAREHISTORY_H
|
|
|
|
#include "GuiDialog.h"
|
|
#include "ui_CompareHistoryUi.h"
|
|
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
|
|
class GuiCompareHistory : public GuiDialog, public Ui::CompareHistoryUi
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
///
|
|
GuiCompareHistory(GuiView & lv);
|
|
|
|
private Q_SLOTS:
|
|
///
|
|
void slotOK();
|
|
///
|
|
void slotCancel();
|
|
///
|
|
void selectRevback();
|
|
///
|
|
void selectBetweenrev();
|
|
private:
|
|
///
|
|
void updateContents();
|
|
///
|
|
bool initialiseParams(std::string const &);
|
|
///
|
|
bool isBufferDependent() const { return true; }
|
|
///
|
|
void clearParams() {}
|
|
///
|
|
void dispatchParams() {}
|
|
///
|
|
void enableControls();
|
|
|
|
private:
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUICOMPAREHISTORY_H
|