mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
4792af4928
some assert related to grfx, help me Angus :) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4596 a592a061-630c-0410-9148-cb99ea01b6c8
71 lines
1.2 KiB
C++
71 lines
1.2 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QCitation.h
|
|
* Copyright 2001 the LyX Team
|
|
* Read the file COPYING
|
|
*
|
|
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
|
* \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
|
|
*/
|
|
|
|
#ifndef QCITATION_H
|
|
#define QCITATION_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
class QListBox;
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
class ControlCitation;
|
|
class QCitationDialog;
|
|
class Dialogs;
|
|
|
|
class QCitation : public Qt2CB<ControlCitation, Qt2DB<QCitationDialog> >
|
|
{
|
|
friend class QCitationDialog;
|
|
|
|
public:
|
|
///
|
|
QCitation(ControlCitation &, Dialogs &);
|
|
|
|
private:
|
|
///
|
|
enum State {
|
|
///
|
|
ON,
|
|
///
|
|
OFF
|
|
};
|
|
|
|
/// Set the Params variable for the Controller.
|
|
virtual void apply();
|
|
/// Build the dialog.
|
|
virtual void build_dialog();
|
|
/// Hide the dialog.
|
|
virtual void hide();
|
|
/// Update dialog before/whilst showing it.
|
|
virtual void update_contents();
|
|
|
|
/// fill the styles combo
|
|
void fillStyles();
|
|
|
|
/// set the styles combo
|
|
void updateStyle();
|
|
|
|
void updateBrowser(QListBox *, std::vector<string> const &) const;
|
|
///
|
|
void setBibButtons(State) const;
|
|
///
|
|
void setCiteButtons(State) const;
|
|
|
|
///
|
|
std::vector<string> citekeys;
|
|
///
|
|
std::vector<string> bibkeys;
|
|
};
|
|
|
|
#endif // QCITATION_H
|