2006-03-05 17:24:44 +00:00
|
|
|
|
// -*- C++ -*-
|
|
|
|
|
/**
|
2007-08-31 05:53:55 +00:00
|
|
|
|
* \file GuiVSpace.h
|
2006-03-05 17:24:44 +00:00
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
* \author Angus Leeming
|
|
|
|
|
* \author J<EFBFBD>rgen Spitzm<EFBFBD>ller
|
|
|
|
|
*
|
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
|
*/
|
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
|
#ifndef GUIVSPACE_H
|
|
|
|
|
#define GUIVSPACE_H
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
|
#include "GuiDialog.h"
|
2007-08-31 22:16:11 +00:00
|
|
|
|
#include "ControlVSpace.h"
|
2007-08-11 15:48:15 +00:00
|
|
|
|
#include "ui_VSpaceUi.h"
|
2007-04-24 12:02:27 +00:00
|
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
|
namespace lyx {
|
|
|
|
|
namespace frontend {
|
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
|
class GuiVSpaceDialog : public GuiDialog, public Ui::VSpaceUi
|
2007-08-31 22:16:11 +00:00
|
|
|
|
{
|
2007-04-24 12:02:27 +00:00
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
2007-09-05 20:33:29 +00:00
|
|
|
|
GuiVSpaceDialog(LyXView & lv);
|
2007-04-24 12:02:27 +00:00
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
|
private Q_SLOTS:
|
2007-04-24 12:02:27 +00:00
|
|
|
|
void change_adaptor();
|
|
|
|
|
void closeEvent(QCloseEvent *);
|
|
|
|
|
void enableCustom(int);
|
|
|
|
|
|
|
|
|
|
private:
|
2007-08-31 22:16:11 +00:00
|
|
|
|
/// parent controller
|
2007-09-05 20:33:29 +00:00
|
|
|
|
ControlVSpace & controller() const;
|
2006-03-05 17:24:44 +00:00
|
|
|
|
/// Apply from dialog
|
2007-09-05 20:33:29 +00:00
|
|
|
|
void applyView();
|
2006-03-05 17:24:44 +00:00
|
|
|
|
/// Update the dialog
|
2007-09-05 20:33:29 +00:00
|
|
|
|
void update_contents();
|
2006-03-05 17:24:44 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
|
#endif // GUIVSPACE_H
|