mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
62 lines
1018 B
C
62 lines
1018 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"
|
||
|
#include "qt_helpers.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 &) { return true; }
|
||
|
///
|
||
|
bool isBufferDependent() const { return true; }
|
||
|
///
|
||
|
void clearParams() {}
|
||
|
///
|
||
|
void dispatchParams() {}
|
||
|
///
|
||
|
void enableControls();
|
||
|
|
||
|
private:
|
||
|
};
|
||
|
|
||
|
} // namespace frontend
|
||
|
} // namespace lyx
|
||
|
|
||
|
#endif // GUICOMPAREHISTORY_H
|