void GuiCitationDialog::showView()
{
+ init();
findLE->clear();
availableLV->setFocus();
QDialog::show();
void GuiCitationDialog::updateView()
{
+ init();
fillFields();
fillEntries();
updateDialog();
void GuiCitationDialog::setButtons()
{
- selectionManager->updateView();
+ selectionManager->update();
int const srows = selectedLV->model()->rowCount();
applyPB->setEnabled(srows > 0);
okPB->setEnabled(srows > 0);
}
-bool GuiCitationDialog::initialiseParams(std::string const & data)
-{
- if (!controller().initialiseParams(data))
- return false;
- init();
- return true;
-}
-
-
void GuiCitationDialog::init()
{
// Make the list of all available bibliography keys
/// Sets the state of the various push buttons, depending upon the
/// state of the widgets. (E.g., "delete" is enabled only if the
/// selection is non-empty.)
- virtual void updateView();
+ void update();
/// Not strictly a matter of focus, which may be elsewhere, but
/// whether selectedLV is `more focused' than availableLV. Intended