2003-10-23 11:58:01 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
|
|
|
|
* \file QBranch.h
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef QBRANCH_H
|
|
|
|
|
#define QBRANCH_H
|
|
|
|
|
|
|
|
|
|
#include "QDialogView.h"
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
2003-10-23 11:58:01 +00:00
|
|
|
|
|
|
|
|
|
class ControlBranch;
|
|
|
|
|
class QBranchDialog;
|
|
|
|
|
|
|
|
|
|
/** This class provides a QT implementation of the Branch Dialog.
|
|
|
|
|
*/
|
|
|
|
|
class QBranch : public QController<ControlBranch, QView<QBranchDialog> >
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
friend class QBranchDialog;
|
|
|
|
|
|
|
|
|
|
/// Constructor
|
|
|
|
|
QBranch(Dialog &);
|
|
|
|
|
private:
|
|
|
|
|
/// Apply changes
|
|
|
|
|
virtual void apply();
|
|
|
|
|
/// Build the dialog
|
|
|
|
|
virtual void build_dialog();
|
|
|
|
|
/// Update dialog before showing it
|
|
|
|
|
virtual void update_contents();
|
|
|
|
|
};
|
|
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2003-10-23 11:58:01 +00:00
|
|
|
|
#endif // QBRANCH_H
|