mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
661921bca3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7679 a592a061-630c-0410-9148-cb99ea01b6c8
58 lines
1.1 KiB
C++
58 lines
1.1 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QCitation.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Angus Leeming
|
|
* \author Kalle Dalheimer
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef QCITATION_H
|
|
#define QCITATION_H
|
|
|
|
|
|
#include "QDialogView.h"
|
|
#include <vector>
|
|
|
|
|
|
class QListBox;
|
|
class ControlCitation;
|
|
class QCitationDialog;
|
|
|
|
|
|
class QCitation : public QController<ControlCitation, QView<QCitationDialog> >
|
|
{
|
|
public:
|
|
friend class QCitationDialog;
|
|
///
|
|
QCitation(Dialog &);
|
|
private:
|
|
|
|
/// 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;
|
|
|
|
/// selected keys
|
|
std::vector<string> citekeys;
|
|
/// available bib keys
|
|
std::vector<string> bibkeys;
|
|
};
|
|
|
|
#endif // QCITATION_H
|