* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Edwin Leuven
+ * \author Edwin Leuven
*
* Full author contact details are available in file CREDITS
*/
#pragma implementation
#endif
-#include <vector>
-
#include "LString.h"
#include "ControlTexinfo.h"
#include <qpushbutton.h>
#include <qcombobox.h>
+#include <vector>
+
+
QTexinfoDialog::QTexinfoDialog(QTexinfo * form)
: QTexinfoDialogBase(0, 0, false, 0),
form_(form)
e->accept();
}
+
void QTexinfoDialog::rescanClicked()
{
// build new *Files.lst
enableViewPB();
}
+
void QTexinfoDialog::viewClicked()
{
int const fitem = fileList->currentItem();
default:
break;
}
-
+
// a valid entry?
if (!sel.empty()) {
form_->controller().viewFile(sel.c_str());
}
}
+
void QTexinfoDialog::update()
{
switch (whatStyle->currentItem()) {
default:
break;
}
-
+
enableViewPB();
}
+
void QTexinfoDialog::enableViewPB()
{
- viewPB->setEnabled(fileList->currentItem()>-1);
+ viewPB->setEnabled(fileList->currentItem() > -1);
}
-
-
-