#include "ui_CitationUi.h"
#include "support/docstring.h"
#include "BiblioInfo.h"
-#include "ControlCommand.h"
#include <QKeyEvent>
#include <QStringList>
public:
///
- GuiCitation(LyXView & lv);
+ GuiCitation(GuiView & lv);
///
void applyView();
- /// Hide the dialog from sight
- void hideView();
- /// Redraw the dialog (e.g. if the colors have been remapped).
- void redrawView() {}
- /// Create the dialog if necessary, update it and display it.
- void showView();
- /// \return true if the dialog is visible.
- bool isVisibleView() const;
public Q_SLOTS:
/// Update the display of the dialog whilst it is still visible.
void updateView();
private:
+ ///
+ void showEvent(QShowEvent * e);
///
void closeEvent(QCloseEvent * e);
/// prepares a call to GuiCitation::searchKeys when we
void on_findLE_textChanged(const QString & text);
void on_fieldsCO_currentIndexChanged(int index);
void on_entriesCO_currentIndexChanged(int index);
+ void on_citationStyleCO_currentIndexChanged(int index);
void on_caseCB_stateChanged(int);
void on_regexCB_stateChanged(int);
void changed();
void fillEntries();
/// set the styles combo
void updateStyle();
+ /// set the formatting widgets
+ void updateFormatting(biblio::CiteStyle currentStyle);
/// last used citation style
int style_;