lyx_mirror/src/frontends/qt4/GuiVSpace.h
André Pönitz 470aba2a0e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 18:33:42 +00:00

49 lines
891 B
C++

// -*- C++ -*-
/**
* \file GuiVSpace.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
* \author Angus Leeming
* \author Jürgen Spitzmüller
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GUIVSPACE_H
#define GUIVSPACE_H
#include "GuiDialog.h"
#include "ControlVSpace.h"
#include "ui_VSpaceUi.h"
namespace lyx {
namespace frontend {
class GuiVSpaceDialog : public GuiDialog, public Ui::VSpaceUi
{
Q_OBJECT
public:
GuiVSpaceDialog(LyXView & lv);
private Q_SLOTS:
void change_adaptor();
void closeEvent(QCloseEvent *);
void enableCustom(int);
private:
/// parent controller
ControlVSpace & controller();
/// Apply from dialog
void applyView();
/// Update the dialog
void updateContents();
};
} // namespace frontend
} // namespace lyx
#endif // GUIVSPACE_H