mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
3fa594b2f9
Also integrates the citation dialog for the first time (not completely working yet and not transferred to new scheme either) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1788 a592a061-630c-0410-9148-cb99ea01b6c8
64 lines
1.0 KiB
C++
64 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file FormCharacter.h
|
|
* Copyright 2001 The LyX Team.
|
|
* See the file COPYING.
|
|
*
|
|
* \author Edwin Leuven
|
|
*/
|
|
|
|
#ifndef FORM_CHARACTER_H
|
|
#define FORM_CHARACTER_H
|
|
|
|
#include "DialogBase.h"
|
|
|
|
class LyXView;
|
|
class Dialogs;
|
|
class CharDlgImpl;
|
|
|
|
class FormCharacter : public DialogBase {
|
|
public:
|
|
///
|
|
FormCharacter(LyXView *, Dialogs *);
|
|
///
|
|
~FormCharacter();
|
|
|
|
/// Apply changes.
|
|
void apply();
|
|
/// Close connections.
|
|
void close();
|
|
|
|
|
|
private:
|
|
|
|
/// Show the dialog.
|
|
void show();
|
|
/// Hide the dialog.
|
|
void hide();
|
|
/// Update the dialog.
|
|
void update(bool switched = false);
|
|
|
|
/// Real GUI implementation.
|
|
CharDlgImpl * dialog_;
|
|
|
|
/// the LyXView we belong to.
|
|
LyXView * lv_;
|
|
|
|
/** Which Dialogs do we belong to?
|
|
* Used so we can get at the signals we have to connect to.
|
|
*/
|
|
Dialogs * d_;
|
|
|
|
/// is the buffer readonly?
|
|
bool readonly;
|
|
|
|
/// Hide connection.
|
|
SigC::Connection h_;
|
|
|
|
/// Update connection.
|
|
SigC::Connection u_;
|
|
|
|
};
|
|
|
|
#endif
|