mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
Citation dialog fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5156b111a5
commit
4d6c6daf4e
@ -1,3 +1,10 @@
|
|||||||
|
2003-04-04 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
|
* QCitation.C:
|
||||||
|
* QCitationDialog.C:
|
||||||
|
* QCitationDialogBase.ui: some UI fixes, remove
|
||||||
|
text before, add accelerators
|
||||||
|
|
||||||
2003-04-03 John Levon <levon@movementarian.org>
|
2003-04-03 John Levon <levon@movementarian.org>
|
||||||
|
|
||||||
* QRefDialog.h:
|
* QRefDialog.h:
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
#include <qlistbox.h>
|
#include <qlistbox.h>
|
||||||
#include <qmultilineedit.h>
|
#include <qmultilineedit.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
#include <qlabel.h>
|
||||||
|
|
||||||
#include "QtLyXView.h"
|
#include "QtLyXView.h"
|
||||||
#include "Qt2BC.h"
|
#include "Qt2BC.h"
|
||||||
@ -103,24 +104,45 @@ void QCitation::build_dialog()
|
|||||||
|
|
||||||
void QCitation::fillStyles()
|
void QCitation::fillStyles()
|
||||||
{
|
{
|
||||||
// style
|
if (citekeys.empty()) {
|
||||||
string key;
|
dialog_->citationStyleCO->setEnabled(false);
|
||||||
|
dialog_->citationStyleLA->setEnabled(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!citekeys.empty())
|
int const orig = dialog_->citationStyleCO->currentItem();
|
||||||
key = citekeys[0];
|
|
||||||
|
|
||||||
dialog_->citationStyleCO->clear();
|
dialog_->citationStyleCO->clear();
|
||||||
|
|
||||||
|
int curr = dialog_->selectedLB->currentItem();
|
||||||
|
if (curr < 0)
|
||||||
|
curr = 0;
|
||||||
|
|
||||||
|
string key = citekeys[curr];
|
||||||
|
|
||||||
vector<string> const & sty = controller().getCiteStrings(key);
|
vector<string> const & sty = controller().getCiteStrings(key);
|
||||||
|
|
||||||
|
bool const natbib = controller().usingNatbib();
|
||||||
|
dialog_->citationStyleCO->setEnabled(!sty.empty() && natbib);
|
||||||
|
dialog_->citationStyleLA->setEnabled(!sty.empty() && natbib);
|
||||||
|
|
||||||
for (vector<string>::const_iterator it = sty.begin();
|
for (vector<string>::const_iterator it = sty.begin();
|
||||||
it != sty.end(); ++it) {
|
it != sty.end(); ++it) {
|
||||||
dialog_->citationStyleCO->insertItem(toqstr(*it));
|
dialog_->citationStyleCO->insertItem(toqstr(*it));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (orig != -1 && orig < dialog_->citationStyleCO->count())
|
||||||
|
dialog_->citationStyleCO->setCurrentItem(orig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitation::updateStyle()
|
void QCitation::updateStyle()
|
||||||
{
|
{
|
||||||
|
bool const natbib = controller().usingNatbib();
|
||||||
|
|
||||||
|
dialog_->fulllistCB->setEnabled(natbib);
|
||||||
|
dialog_->forceuppercaseCB->setEnabled(natbib);
|
||||||
|
|
||||||
string const & command = controller().params().getCmdName();
|
string const & command = controller().params().getCmdName();
|
||||||
|
|
||||||
// Find the style of the citekeys
|
// Find the style of the citekeys
|
||||||
@ -141,11 +163,6 @@ void QCitation::updateStyle()
|
|||||||
dialog_->fulllistCB->setChecked(cs.full);
|
dialog_->fulllistCB->setChecked(cs.full);
|
||||||
dialog_->forceuppercaseCB->setChecked(cs.forceUCase);
|
dialog_->forceuppercaseCB->setChecked(cs.forceUCase);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool const natbib = controller().usingNatbib();
|
|
||||||
dialog_->citationStyleCO->setEnabled(natbib);
|
|
||||||
dialog_->fulllistCB->setEnabled(natbib);
|
|
||||||
dialog_->forceuppercaseCB->setEnabled(natbib);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -153,27 +170,25 @@ void QCitation::update_contents()
|
|||||||
{
|
{
|
||||||
// Make the list of all available bibliography keys
|
// Make the list of all available bibliography keys
|
||||||
bibkeys = biblio::getKeys(controller().bibkeysInfo());
|
bibkeys = biblio::getKeys(controller().bibkeysInfo());
|
||||||
updateBrowser(dialog_->bibLB, bibkeys);
|
updateBrowser(dialog_->availableLB, bibkeys);
|
||||||
|
|
||||||
// Ditto for the keys cited in this inset
|
// Ditto for the keys cited in this inset
|
||||||
citekeys = getVectorFromString(controller().params().getContents());
|
citekeys = getVectorFromString(controller().params().getContents());
|
||||||
updateBrowser(dialog_->citeLB, citekeys);
|
updateBrowser(dialog_->selectedLB, citekeys);
|
||||||
|
|
||||||
// No keys have been selected yet, so...
|
// No keys have been selected yet, so...
|
||||||
dialog_->infoML->clear();
|
dialog_->infoML->clear();
|
||||||
setBibButtons(OFF);
|
dialog_->setButtons();
|
||||||
setCiteButtons(OFF);
|
|
||||||
|
|
||||||
dialog_->textAfterED->setText(toqstr(controller().params().getOptions()));
|
dialog_->textAfterED->setText(toqstr(controller().params().getOptions()));
|
||||||
|
|
||||||
fillStyles();
|
fillStyles();
|
||||||
|
|
||||||
updateStyle();
|
updateStyle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitation::updateBrowser(QListBox * browser,
|
void QCitation::updateBrowser(QListBox * browser,
|
||||||
vector<string> const & keys) const
|
vector<string> const & keys) const
|
||||||
{
|
{
|
||||||
browser->clear();
|
browser->clear();
|
||||||
|
|
||||||
@ -185,23 +200,3 @@ void QCitation::updateBrowser(QListBox * browser,
|
|||||||
browser->insertItem(toqstr(key));
|
browser->insertItem(toqstr(key));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitation::setBibButtons(State status) const
|
|
||||||
{
|
|
||||||
dialog_->addPB->setEnabled((status == ON));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void QCitation::setCiteButtons(State status) const
|
|
||||||
{
|
|
||||||
int const sel = dialog_->citeLB->currentItem();
|
|
||||||
int const maxline = dialog_->citeLB->count() - 1;
|
|
||||||
bool const activate = (status == ON);
|
|
||||||
bool const activate_up = (activate && sel != 0);
|
|
||||||
bool const activate_down = (activate && sel != maxline);
|
|
||||||
|
|
||||||
dialog_->delPB->setEnabled(activate);
|
|
||||||
dialog_->upPB->setEnabled(activate_up);
|
|
||||||
dialog_->downPB->setEnabled(activate_down);
|
|
||||||
}
|
|
||||||
|
@ -29,13 +29,6 @@ public:
|
|||||||
///
|
///
|
||||||
QCitation(Dialog &);
|
QCitation(Dialog &);
|
||||||
private:
|
private:
|
||||||
///
|
|
||||||
enum State {
|
|
||||||
///
|
|
||||||
ON,
|
|
||||||
///
|
|
||||||
OFF
|
|
||||||
};
|
|
||||||
|
|
||||||
/// Set the Params variable for the Controller.
|
/// Set the Params variable for the Controller.
|
||||||
virtual void apply();
|
virtual void apply();
|
||||||
@ -53,14 +46,10 @@ private:
|
|||||||
void updateStyle();
|
void updateStyle();
|
||||||
|
|
||||||
void updateBrowser(QListBox *, std::vector<string> const &) const;
|
void updateBrowser(QListBox *, std::vector<string> const &) const;
|
||||||
///
|
|
||||||
void setBibButtons(State) const;
|
|
||||||
///
|
|
||||||
void setCiteButtons(State) const;
|
|
||||||
|
|
||||||
///
|
/// selected keys
|
||||||
std::vector<string> citekeys;
|
std::vector<string> citekeys;
|
||||||
///
|
/// available bib keys
|
||||||
std::vector<string> bibkeys;
|
std::vector<string> bibkeys;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,8 +15,7 @@
|
|||||||
|
|
||||||
#include "qt_helpers.h"
|
#include "qt_helpers.h"
|
||||||
#include "controllers/ControlCitation.h"
|
#include "controllers/ControlCitation.h"
|
||||||
#include "LyXView.h"
|
#include "debug.h"
|
||||||
#include "buffer.h"
|
|
||||||
|
|
||||||
#include <qcheckbox.h>
|
#include <qcheckbox.h>
|
||||||
#include <qcombobox.h>
|
#include <qcombobox.h>
|
||||||
@ -24,6 +23,7 @@
|
|||||||
#include <qlistbox.h>
|
#include <qlistbox.h>
|
||||||
#include <qmultilineedit.h>
|
#include <qmultilineedit.h>
|
||||||
#include <qpushbutton.h>
|
#include <qpushbutton.h>
|
||||||
|
#include <qlabel.h>
|
||||||
|
|
||||||
#include "QCitationDialog.h"
|
#include "QCitationDialog.h"
|
||||||
#include "QCitation.h"
|
#include "QCitation.h"
|
||||||
@ -32,6 +32,7 @@
|
|||||||
using std::vector;
|
using std::vector;
|
||||||
using std::find;
|
using std::find;
|
||||||
using std::max;
|
using std::max;
|
||||||
|
using std::endl;
|
||||||
|
|
||||||
|
|
||||||
QCitationDialog::QCitationDialog(QCitation * form)
|
QCitationDialog::QCitationDialog(QCitation * form)
|
||||||
@ -46,14 +47,6 @@ QCitationDialog::QCitationDialog(QCitation * form)
|
|||||||
form, SLOT(slotApply()));
|
form, SLOT(slotApply()));
|
||||||
connect(closePB, SIGNAL(clicked()),
|
connect(closePB, SIGNAL(clicked()),
|
||||||
form, SLOT(slotClose()));
|
form, SLOT(slotClose()));
|
||||||
connect(searchED, SIGNAL(returnPressed()),
|
|
||||||
this, SLOT(slotNextClicked()));
|
|
||||||
|
|
||||||
textBeforeED->setText(qt_("Not yet supported"));
|
|
||||||
textBeforeED->setReadOnly(true);
|
|
||||||
textBeforeED->setFocusPolicy(QWidget::NoFocus);
|
|
||||||
citationStyleCO->setEnabled(false);
|
|
||||||
citationStyleCO->setFocusPolicy(QWidget::NoFocus);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -62,192 +55,157 @@ QCitationDialog::~QCitationDialog()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotBibSelected(int sel)
|
void QCitationDialog::setButtons()
|
||||||
{
|
{
|
||||||
slotBibHighlighted(sel);
|
|
||||||
|
|
||||||
if (form_->readOnly())
|
if (form_->readOnly())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
slotAddClicked();
|
int const sel_nr = selectedLB->currentItem();
|
||||||
|
int const avail_nr = availableLB->currentItem();
|
||||||
|
|
||||||
|
addPB->setEnabled(avail_nr >= 0);
|
||||||
|
delPB->setEnabled(sel_nr >= 0);
|
||||||
|
upPB->setEnabled(sel_nr > 0);
|
||||||
|
downPB->setEnabled(sel_nr >= 0 && sel_nr < int(selectedLB->count() - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotBibHighlighted(int sel)
|
void QCitationDialog::selectedChanged()
|
||||||
{
|
{
|
||||||
|
form_->fillStyles();
|
||||||
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
|
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
|
||||||
|
|
||||||
citeLB->clearSelection();
|
|
||||||
|
|
||||||
// FIXME: why would this happen ?
|
|
||||||
if (sel < 0 || sel >= (int)form_->bibkeys.size()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Put into browser_info the additional info associated with
|
|
||||||
// the selected browser_bib key
|
|
||||||
infoML->clear();
|
infoML->clear();
|
||||||
|
|
||||||
infoML->setText(toqstr(biblio::getInfo(theMap, form_->bibkeys[sel])));
|
int const sel = selectedLB->currentItem();
|
||||||
|
if (sel < 0) {
|
||||||
// Highlight the selected browser_bib key in browser_cite if
|
setButtons();
|
||||||
// present
|
|
||||||
vector<string>::const_iterator cit =
|
|
||||||
std::find(form_->citekeys.begin(), form_->citekeys.end(),
|
|
||||||
form_->bibkeys[sel]);
|
|
||||||
|
|
||||||
if (cit != form_->citekeys.end()) {
|
|
||||||
int const n = int(cit - form_->citekeys.begin());
|
|
||||||
citeLB->setSelected(n, true);
|
|
||||||
citeLB->setTopItem(n);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!form_->readOnly()) {
|
|
||||||
if (cit != form_->citekeys.end()) {
|
|
||||||
form_->setBibButtons(QCitation::OFF);
|
|
||||||
form_->setCiteButtons(QCitation::ON);
|
|
||||||
} else {
|
|
||||||
form_->setBibButtons(QCitation::ON);
|
|
||||||
form_->setCiteButtons(QCitation::OFF);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotCiteHighlighted(int sel)
|
|
||||||
{
|
|
||||||
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
|
|
||||||
|
|
||||||
// FIXME: why would this happen ?
|
|
||||||
if (sel < 0 || sel >= (int)form_->citekeys.size()) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!form_->readOnly()) {
|
infoML->setText(toqstr(biblio::getInfo(theMap, form_->citekeys[sel])));
|
||||||
form_->setBibButtons(QCitation::OFF);
|
|
||||||
form_->setCiteButtons(QCitation::ON);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Highlight the selected browser_cite key in browser_bib
|
|
||||||
vector<string>::const_iterator cit =
|
vector<string>::const_iterator cit =
|
||||||
std::find(form_->bibkeys.begin(),
|
std::find(form_->bibkeys.begin(),
|
||||||
form_->bibkeys.end(), form_->citekeys[sel]);
|
form_->bibkeys.end(), form_->citekeys[sel]);
|
||||||
|
|
||||||
if (cit != form_->bibkeys.end()) {
|
if (cit != form_->bibkeys.end()) {
|
||||||
int const n = int(cit - form_->bibkeys.begin());
|
int const n = int(cit - form_->bibkeys.begin());
|
||||||
bibLB->setSelected(n, true);
|
availableLB->setSelected(n, true);
|
||||||
bibLB->setTopItem(n);
|
availableLB->ensureCurrentVisible();
|
||||||
|
|
||||||
// Put into browser_info the additional info associated
|
|
||||||
// with the selected browser_cite key
|
|
||||||
infoML->clear();
|
|
||||||
infoML->setText(toqstr(biblio::getInfo(theMap, form_->citekeys[sel])));
|
|
||||||
}
|
}
|
||||||
|
setButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotAddClicked()
|
void QCitationDialog::availableChanged()
|
||||||
{
|
{
|
||||||
int const sel = bibLB->currentItem();
|
biblio::InfoMap const & theMap = form_->controller().bibkeysInfo();
|
||||||
|
selectedLB->clearSelection();
|
||||||
|
infoML->clear();
|
||||||
|
|
||||||
// FIXME: why ?
|
int const sel = availableLB->currentItem();
|
||||||
if (sel < 0 || sel >= (int)form_->bibkeys.size()) {
|
if (sel < 0) {
|
||||||
|
setButtons();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
infoML->setText(toqstr(biblio::getInfo(theMap, form_->bibkeys[sel])));
|
||||||
|
|
||||||
|
vector<string>::const_iterator cit =
|
||||||
|
std::find(form_->citekeys.begin(), form_->citekeys.end(),
|
||||||
|
form_->bibkeys[sel]);
|
||||||
|
|
||||||
|
if (cit != form_->citekeys.end()) {
|
||||||
|
int const n = int(cit - form_->citekeys.begin());
|
||||||
|
selectedLB->setSelected(n, true);
|
||||||
|
selectedLB->ensureCurrentVisible();
|
||||||
|
}
|
||||||
|
setButtons();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void QCitationDialog::add()
|
||||||
|
{
|
||||||
|
int const sel = availableLB->currentItem();
|
||||||
|
|
||||||
// Add the selected browser_bib key to browser_cite
|
// Add the selected browser_bib key to browser_cite
|
||||||
citeLB->insertItem(toqstr(form_->bibkeys[sel]));
|
selectedLB->insertItem(toqstr(form_->bibkeys[sel]));
|
||||||
form_->citekeys.push_back(form_->bibkeys[sel]);
|
form_->citekeys.push_back(form_->bibkeys[sel]);
|
||||||
|
|
||||||
int const n = int(form_->citekeys.size());
|
int const n = int(form_->citekeys.size());
|
||||||
citeLB->setSelected(n - 1, true);
|
selectedLB->setSelected(n - 1, true);
|
||||||
|
|
||||||
slotBibHighlighted(sel);
|
|
||||||
form_->setBibButtons(QCitation::OFF);
|
|
||||||
form_->setCiteButtons(QCitation::ON);
|
|
||||||
form_->changed();
|
form_->changed();
|
||||||
form_->fillStyles();
|
form_->fillStyles();
|
||||||
|
setButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotDelClicked()
|
void QCitationDialog::del()
|
||||||
{
|
{
|
||||||
int const sel = citeLB->currentItem();
|
int const sel = selectedLB->currentItem();
|
||||||
|
|
||||||
// FIXME: why ?
|
|
||||||
if (sel < 0 || sel >= (int)form_->citekeys.size()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove the selected key from browser_cite
|
// Remove the selected key from browser_cite
|
||||||
citeLB->removeItem(sel);
|
selectedLB->removeItem(sel);
|
||||||
form_->citekeys.erase(form_->citekeys.begin() + sel);
|
form_->citekeys.erase(form_->citekeys.begin() + sel);
|
||||||
|
|
||||||
form_->setBibButtons(QCitation::ON);
|
|
||||||
form_->setCiteButtons(QCitation::OFF);
|
|
||||||
form_->changed();
|
form_->changed();
|
||||||
form_->fillStyles();
|
form_->fillStyles();
|
||||||
form_->updateStyle();
|
setButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotUpClicked()
|
void QCitationDialog::up()
|
||||||
{
|
{
|
||||||
int const sel = citeLB->currentItem();
|
int const sel = selectedLB->currentItem();
|
||||||
|
|
||||||
// FIXME: why ?
|
|
||||||
if (sel < 1 || sel >= (int)form_->citekeys.size()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Move the selected key up one line
|
// Move the selected key up one line
|
||||||
vector<string>::iterator it = form_->citekeys.begin() + sel;
|
vector<string>::iterator it = form_->citekeys.begin() + sel;
|
||||||
string const tmp = *it;
|
string const tmp = *it;
|
||||||
|
|
||||||
citeLB->removeItem(sel);
|
selectedLB->removeItem(sel);
|
||||||
form_->citekeys.erase(it);
|
form_->citekeys.erase(it);
|
||||||
|
|
||||||
citeLB->insertItem(toqstr(tmp), sel - 1);
|
selectedLB->insertItem(toqstr(tmp), sel - 1);
|
||||||
citeLB->setSelected(sel - 1, true);
|
selectedLB->setSelected(sel - 1, true);
|
||||||
form_->citekeys.insert(it - 1, tmp);
|
form_->citekeys.insert(it - 1, tmp);
|
||||||
form_->setCiteButtons(QCitation::ON);
|
|
||||||
form_->changed();
|
form_->changed();
|
||||||
form_->fillStyles();
|
form_->fillStyles();
|
||||||
|
availableLB->clearSelection();
|
||||||
|
setButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotDownClicked()
|
void QCitationDialog::down()
|
||||||
{
|
{
|
||||||
int const sel = citeLB->currentItem();
|
int const sel = selectedLB->currentItem();
|
||||||
|
|
||||||
// FIXME: ?
|
|
||||||
if (sel < 0 || sel >= (int)form_->citekeys.size() - 1) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Move the selected key down one line
|
// Move the selected key down one line
|
||||||
vector<string>::iterator it = form_->citekeys.begin() + sel;
|
vector<string>::iterator it = form_->citekeys.begin() + sel;
|
||||||
string const tmp = *it;
|
string const tmp = *it;
|
||||||
|
|
||||||
citeLB->removeItem(sel);
|
selectedLB->removeItem(sel);
|
||||||
form_->citekeys.erase(it);
|
form_->citekeys.erase(it);
|
||||||
|
|
||||||
citeLB->insertItem(toqstr(tmp), sel + 1);
|
selectedLB->insertItem(toqstr(tmp), sel + 1);
|
||||||
citeLB->setSelected(sel + 1, true);
|
selectedLB->setSelected(sel + 1, true);
|
||||||
form_->citekeys.insert(it + 1, tmp);
|
form_->citekeys.insert(it + 1, tmp);
|
||||||
form_->setCiteButtons(QCitation::ON);
|
|
||||||
form_->changed();
|
form_->changed();
|
||||||
form_->fillStyles();
|
form_->fillStyles();
|
||||||
|
availableLB->clearSelection();
|
||||||
|
setButtons();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotPreviousClicked()
|
void QCitationDialog::previous()
|
||||||
{
|
{
|
||||||
doFind(biblio::BACKWARD);
|
doFind(biblio::BACKWARD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void QCitationDialog::slotNextClicked()
|
void QCitationDialog::next()
|
||||||
{
|
{
|
||||||
doFind(biblio::FORWARD);
|
doFind(biblio::FORWARD);
|
||||||
}
|
}
|
||||||
@ -269,7 +227,7 @@ void QCitationDialog::doFind(biblio::Direction dir)
|
|||||||
biblio::REGEX : biblio::SIMPLE;
|
biblio::REGEX : biblio::SIMPLE;
|
||||||
|
|
||||||
vector<string>::const_iterator start = form_->bibkeys.begin();
|
vector<string>::const_iterator start = form_->bibkeys.begin();
|
||||||
int const sel = bibLB->currentItem();
|
int const sel = availableLB->currentItem();
|
||||||
if (sel >= 0 && sel <= int(form_->bibkeys.size()-1))
|
if (sel >= 0 && sel <= int(form_->bibkeys.size()-1))
|
||||||
start += sel;
|
start += sel;
|
||||||
|
|
||||||
@ -305,8 +263,6 @@ void QCitationDialog::doFind(biblio::Direction dir)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update the display
|
// Update the display
|
||||||
int const top = max(found - 5, 1);
|
availableLB->setSelected(found, true);
|
||||||
bibLB->setTopItem(top);
|
availableLB->ensureCurrentVisible();
|
||||||
bibLB->setSelected(found, true);
|
|
||||||
slotBibHighlighted(found);
|
|
||||||
}
|
}
|
||||||
|
@ -20,22 +20,29 @@ class QCitation;
|
|||||||
|
|
||||||
class QCitationDialog : public QCitationDialogBase {
|
class QCitationDialog : public QCitationDialogBase {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
QCitationDialog(QCitation * form);
|
QCitationDialog(QCitation * form);
|
||||||
|
|
||||||
~QCitationDialog();
|
~QCitationDialog();
|
||||||
|
|
||||||
|
void setButtons();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
virtual void slotBibHighlighted(int sel);
|
|
||||||
virtual void slotBibSelected(int sel);
|
virtual void availableChanged();
|
||||||
virtual void slotCiteHighlighted(int sel);
|
virtual void selectedChanged();
|
||||||
virtual void slotAddClicked();
|
virtual void next();
|
||||||
virtual void slotDelClicked();
|
virtual void previous();
|
||||||
virtual void slotUpClicked();
|
virtual void up();
|
||||||
virtual void slotDownClicked();
|
virtual void down();
|
||||||
virtual void slotPreviousClicked();
|
virtual void del();
|
||||||
virtual void slotNextClicked();
|
virtual void add();
|
||||||
virtual void changed_adaptor();
|
virtual void changed_adaptor();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void doFind(biblio::Direction dir);
|
void doFind(biblio::Direction dir);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QCitation * form_;
|
QCitation * form_;
|
||||||
};
|
};
|
||||||
|
@ -13,10 +13,17 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>609</width>
|
<width>533</width>
|
||||||
<height>416</height>
|
<height>372</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>sizePolicy</name>
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>1</hsizetype>
|
||||||
|
<vsizetype>1</vsizetype>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>caption</name>
|
<name>caption</name>
|
||||||
<string>Citation</string>
|
<string>Citation</string>
|
||||||
@ -34,7 +41,7 @@
|
|||||||
<name>spacing</name>
|
<name>spacing</name>
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
</property>
|
</property>
|
||||||
<widget row="11" column="0" rowspan="1" colspan="6" >
|
<widget row="10" column="0" rowspan="1" colspan="6" >
|
||||||
<class>QLayoutWidget</class>
|
<class>QLayoutWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
@ -89,7 +96,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>OK</string>
|
<string>&OK</string>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>autoDefault</name>
|
<name>autoDefault</name>
|
||||||
@ -206,10 +213,14 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Search</string>
|
<string>Fin&d:</string>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>buddy</name>
|
||||||
|
<cstring>searchED</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="1" column="2" rowspan="5" colspan="1" >
|
<widget row="1" column="2" rowspan="4" colspan="1" >
|
||||||
<class>QListBox</class>
|
<class>QListBox</class>
|
||||||
<item>
|
<item>
|
||||||
<property>
|
<property>
|
||||||
@ -219,7 +230,15 @@
|
|||||||
</item>
|
</item>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>bibLB</cstring>
|
<cstring>availableLB</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>vScrollBarMode</name>
|
||||||
|
<enum>AlwaysOn</enum>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>hScrollBarMode</name>
|
||||||
|
<enum>AlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>toolTip</name>
|
<name>toolTip</name>
|
||||||
@ -355,10 +374,14 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Available</string>
|
<string>A&vailable</string>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>buddy</name>
|
||||||
|
<cstring>availableLB</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="1" column="0" rowspan="5" colspan="1" >
|
<widget row="1" column="0" rowspan="4" colspan="1" >
|
||||||
<class>QListBox</class>
|
<class>QListBox</class>
|
||||||
<item>
|
<item>
|
||||||
<property>
|
<property>
|
||||||
@ -368,7 +391,15 @@
|
|||||||
</item>
|
</item>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>citeLB</cstring>
|
<cstring>selectedLB</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>vScrollBarMode</name>
|
||||||
|
<enum>AlwaysOn</enum>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>hScrollBarMode</name>
|
||||||
|
<enum>AlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>selectionMode</name>
|
<name>selectionMode</name>
|
||||||
@ -387,42 +418,14 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Selected</string>
|
<string>&Selected</string>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<spacer row="5" column="1" >
|
|
||||||
<property>
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Spacer5</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>orientation</name>
|
|
||||||
<enum>Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizeType</name>
|
|
||||||
<enum>Expanding</enum>
|
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>sizeHint</name>
|
<name>buddy</name>
|
||||||
<size>
|
<cstring>selectedLB</cstring>
|
||||||
<width>20</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
<widget row="6" column="0" rowspan="1" colspan="3" >
|
|
||||||
<class>QLabel</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>infoLA</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>Info</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="7" column="0" rowspan="4" colspan="3" >
|
<widget row="7" column="0" rowspan="3" colspan="3" >
|
||||||
<class>QMultiLineEdit</class>
|
<class>QMultiLineEdit</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
@ -445,7 +448,7 @@
|
|||||||
<string>Citation entry</string>
|
<string>Citation entry</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="10" column="3" rowspan="1" colspan="3" >
|
<widget row="9" column="3" rowspan="1" colspan="3" >
|
||||||
<class>QLayoutWidget</class>
|
<class>QLayoutWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
@ -513,7 +516,7 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</hbox>
|
</hbox>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="9" column="4" rowspan="1" colspan="2" >
|
<widget row="8" column="4" rowspan="1" colspan="2" >
|
||||||
<class>QLineEdit</class>
|
<class>QLineEdit</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
@ -531,7 +534,7 @@
|
|||||||
<string>Text to place after citation</string>
|
<string>Text to place after citation</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="9" column="3" >
|
<widget row="8" column="3" >
|
||||||
<class>QLabel</class>
|
<class>QLabel</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
@ -539,48 +542,11 @@
|
|||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Text after:</string>
|
<string>&Text after:</string>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget row="8" column="4" rowspan="1" colspan="2" >
|
|
||||||
<class>QLineEdit</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>textBeforeED</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>enabled</name>
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>sizePolicy</name>
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>5</hsizetype>
|
|
||||||
<vsizetype>0</vsizetype>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>Not yet supported</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>toolTip</name>
|
<name>buddy</name>
|
||||||
<string>Text to place before citation</string>
|
<cstring>textAfterED</cstring>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget row="8" column="3" >
|
|
||||||
<class>QLabel</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>textBeforeLA</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>enabled</name>
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>Text before:</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="7" column="4" rowspan="1" colspan="2" >
|
<widget row="7" column="4" rowspan="1" colspan="2" >
|
||||||
@ -601,18 +567,7 @@
|
|||||||
<string>Natbib citation style to use</string>
|
<string>Natbib citation style to use</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget row="7" column="3" >
|
<spacer row="4" column="4" >
|
||||||
<class>QLabel</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>citationStyleLA</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>Citation style:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<spacer row="4" column="4" rowspan="2" colspan="1" >
|
|
||||||
<property>
|
<property>
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>Spacer5_2</cstring>
|
<cstring>Spacer5_2</cstring>
|
||||||
@ -633,6 +588,39 @@
|
|||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
|
<widget row="6" column="0" rowspan="1" colspan="3" >
|
||||||
|
<class>QLabel</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>infoLA</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>sizePolicy</name>
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>1</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>text</name>
|
||||||
|
<string>Info</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget row="7" column="3" >
|
||||||
|
<class>QLabel</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>citationStyleLA</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>text</name>
|
||||||
|
<string>C&itation style:</string>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>buddy</name>
|
||||||
|
<cstring>citationStyleCO</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</grid>
|
</grid>
|
||||||
</widget>
|
</widget>
|
||||||
<images>
|
<images>
|
||||||
@ -655,77 +643,29 @@
|
|||||||
</images>
|
</images>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>addPB</sender>
|
<sender>searchED</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>returnPressed()</signal>
|
||||||
<receiver>QCitationDialogBase</receiver>
|
<receiver>QCitationDialogBase</receiver>
|
||||||
<slot>slotAddClicked()</slot>
|
<slot>next()</slot>
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>delPB</sender>
|
|
||||||
<signal>clicked()</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotDelClicked()</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>downPB</sender>
|
|
||||||
<signal>clicked()</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotDownClicked()</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>previousPB</sender>
|
|
||||||
<signal>clicked()</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotPreviousClicked()</slot>
|
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>nextPB</sender>
|
<sender>nextPB</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>clicked()</signal>
|
||||||
<receiver>QCitationDialogBase</receiver>
|
<receiver>QCitationDialogBase</receiver>
|
||||||
<slot>slotNextClicked()</slot>
|
<slot>next()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>upPB</sender>
|
<sender>previousPB</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>clicked()</signal>
|
||||||
<receiver>QCitationDialogBase</receiver>
|
<receiver>QCitationDialogBase</receiver>
|
||||||
<slot>slotUpClicked()</slot>
|
<slot>previous()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>textBeforeED</sender>
|
<sender>citationStyleCO</sender>
|
||||||
<signal>textChanged(const QString&)</signal>
|
<signal>textChanged(const QString&)</signal>
|
||||||
<receiver>QCitationDialogBase</receiver>
|
<receiver>QCitationDialogBase</receiver>
|
||||||
<slot>changed_adaptor()</slot>
|
<slot>changed_adaptor()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
|
||||||
<sender>textAfterED</sender>
|
|
||||||
<signal>textChanged(const QString&)</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>changed_adaptor()</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>citeLB</sender>
|
|
||||||
<signal>highlighted(int)</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotCiteHighlighted(int)</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>citeLB</sender>
|
|
||||||
<signal>selected(int)</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotBibHighlighted(int)</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>bibLB</sender>
|
|
||||||
<signal>highlighted(int)</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotBibHighlighted(int)</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
|
||||||
<sender>bibLB</sender>
|
|
||||||
<signal>selected(int)</signal>
|
|
||||||
<receiver>QCitationDialogBase</receiver>
|
|
||||||
<slot>slotBibSelected(int)</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
<connection>
|
||||||
<sender>fulllistCB</sender>
|
<sender>fulllistCB</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>clicked()</signal>
|
||||||
@ -739,43 +679,76 @@
|
|||||||
<slot>changed_adaptor()</slot>
|
<slot>changed_adaptor()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>citationStyleCO</sender>
|
<sender>textAfterED</sender>
|
||||||
<signal>activated(int)</signal>
|
<signal>textChanged(const QString&)</signal>
|
||||||
<receiver>QCitationDialogBase</receiver>
|
<receiver>QCitationDialogBase</receiver>
|
||||||
<slot>changed_adaptor()</slot>
|
<slot>changed_adaptor()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
<connection>
|
||||||
<sender>searchED</sender>
|
<sender>addPB</sender>
|
||||||
<signal>returnPressed()</signal>
|
<signal>clicked()</signal>
|
||||||
<receiver>QCitationDialogBase</receiver>
|
<receiver>QCitationDialogBase</receiver>
|
||||||
<slot>slotNextClicked()</slot>
|
<slot>add()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>delPB</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>QCitationDialogBase</receiver>
|
||||||
|
<slot>del()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>upPB</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>QCitationDialogBase</receiver>
|
||||||
|
<slot>up()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>downPB</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>QCitationDialogBase</receiver>
|
||||||
|
<slot>down()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>selectedLB</sender>
|
||||||
|
<signal>currentChanged(QListBoxItem*)</signal>
|
||||||
|
<receiver>QCitationDialogBase</receiver>
|
||||||
|
<slot>selectedChanged()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>availableLB</sender>
|
||||||
|
<signal>currentChanged(QListBoxItem*)</signal>
|
||||||
|
<receiver>QCitationDialogBase</receiver>
|
||||||
|
<slot>availableChanged()</slot>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>availableLB</sender>
|
||||||
|
<signal>selected(int)</signal>
|
||||||
|
<receiver>QCitationDialogBase</receiver>
|
||||||
|
<slot>add()</slot>
|
||||||
|
</connection>
|
||||||
|
<slot access="protected">add()</slot>
|
||||||
|
<slot access="public">availableChanged()</slot>
|
||||||
<slot access="public">changed_adaptor()</slot>
|
<slot access="public">changed_adaptor()</slot>
|
||||||
<slot access="public">slotBibSelected(int)</slot>
|
<slot access="protected">del()</slot>
|
||||||
<slot access="protected">slotAddClicked()</slot>
|
<slot access="protected">down()</slot>
|
||||||
<slot access="public">slotBibHighlighted(int)</slot>
|
<slot access="public">previous()</slot>
|
||||||
<slot access="public">slotCiteHighlighted(int)</slot>
|
<slot access="public">next()</slot>
|
||||||
<slot access="protected">slotDelClicked()</slot>
|
<slot access="public">selectedChanged()</slot>
|
||||||
<slot access="protected">slotDownClicked()</slot>
|
<slot access="public">up()</slot>
|
||||||
<slot access="protected">slotNextClicked()</slot>
|
|
||||||
<slot access="protected">slotPreviousClicked()</slot>
|
|
||||||
<slot access="protected">slotSearchTypeSelected(bool)</slot>
|
|
||||||
<slot access="protected">slotUpClicked()</slot>
|
|
||||||
</connections>
|
</connections>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
<tabstop>addPB</tabstop>
|
<tabstop>addPB</tabstop>
|
||||||
<tabstop>delPB</tabstop>
|
<tabstop>delPB</tabstop>
|
||||||
<tabstop>upPB</tabstop>
|
<tabstop>upPB</tabstop>
|
||||||
<tabstop>downPB</tabstop>
|
<tabstop>downPB</tabstop>
|
||||||
<tabstop>citeLB</tabstop>
|
<tabstop>selectedLB</tabstop>
|
||||||
<tabstop>bibLB</tabstop>
|
<tabstop>availableLB</tabstop>
|
||||||
<tabstop>searchED</tabstop>
|
<tabstop>searchED</tabstop>
|
||||||
<tabstop>searchTypeCB</tabstop>
|
<tabstop>searchTypeCB</tabstop>
|
||||||
<tabstop>searchCaseCB</tabstop>
|
<tabstop>searchCaseCB</tabstop>
|
||||||
<tabstop>previousPB</tabstop>
|
<tabstop>previousPB</tabstop>
|
||||||
<tabstop>nextPB</tabstop>
|
<tabstop>nextPB</tabstop>
|
||||||
<tabstop>citationStyleCO</tabstop>
|
<tabstop>citationStyleCO</tabstop>
|
||||||
<tabstop>textBeforeED</tabstop>
|
|
||||||
<tabstop>textAfterED</tabstop>
|
<tabstop>textAfterED</tabstop>
|
||||||
<tabstop>restorePB</tabstop>
|
<tabstop>restorePB</tabstop>
|
||||||
<tabstop>okPB</tabstop>
|
<tabstop>okPB</tabstop>
|
||||||
|
Loading…
Reference in New Issue
Block a user