mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
f3341d73ee
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10817 a592a061-630c-0410-9148-cb99ea01b6c8
51 lines
1.0 KiB
C++
51 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GBibtex.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author John Spray
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef GBIBTEX_H
|
|
#define GBIBTEX_H
|
|
|
|
#include "GViewBase.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class ControlBibtex;
|
|
|
|
/** This class provides a GTK+ implementation of the Bibtex Dialog.
|
|
*/
|
|
class GBibtex : public GViewCB<ControlBibtex, GViewGladeB> {
|
|
public:
|
|
GBibtex(Dialog & parent);
|
|
private:
|
|
virtual void apply();
|
|
virtual void doBuild();
|
|
virtual void update();
|
|
|
|
void add();
|
|
void remove();
|
|
void browse();
|
|
void validate();
|
|
|
|
Gtk::TreeView *databasesview_;
|
|
Glib::RefPtr<Gtk::TreeView::Selection> databasessel_;
|
|
Glib::RefPtr<Gtk::ListStore> databasesstore_;
|
|
Gtk::TreeModelColumn<Glib::ustring> stringcol_;
|
|
Gtk::Button *removebutton_;
|
|
Gtk::ComboBoxEntryText stylecombo_;
|
|
Gtk::ComboBox *contentcombo_;
|
|
Gtk::CheckButton *toccheck_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GBIBTEX_H
|