GUI preview window: use standard qt tools to simplify the code
This commit is contained in:
parent
254131baaa
commit
5bb0b9f4a5
104
src/qtgui/preview.ui
Normal file
104
src/qtgui/preview.ui
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Preview</class>
|
||||||
|
<widget class="QWidget" name="Preview">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>611</width>
|
||||||
|
<height>300</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Form</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QTabWidget" name="pvTab">
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property name="tabsClosable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="tab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Tab 1</string>
|
||||||
|
</attribute>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="searchLBL">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Search for:</string>
|
||||||
|
</property>
|
||||||
|
<property name="buddy">
|
||||||
|
<cstring>searchTextCMB</cstring>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QComboBox" name="searchTextCMB">
|
||||||
|
<property name="editable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="insertPolicy">
|
||||||
|
<enum>QComboBox::NoInsert</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="nextPB">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Next</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="prevPB">
|
||||||
|
<property name="text">
|
||||||
|
<string>&Previous</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="clearPB">
|
||||||
|
<property name="enabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Clear</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="casematchCB">
|
||||||
|
<property name="text">
|
||||||
|
<string>Match &Case</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<spacer name="horizontalSpacer">
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property name="sizeHint" stdset="0">
|
||||||
|
<size>
|
||||||
|
<width>40</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
||||||
@ -69,73 +69,27 @@ static const QKeySequence printTabKS(Qt::ControlModifier+Qt::Key_P);
|
|||||||
|
|
||||||
void Preview::init()
|
void Preview::init()
|
||||||
{
|
{
|
||||||
setObjectName("Preview");
|
LOGDEB("Preview::init\n");
|
||||||
QVBoxLayout* previewLayout = new QVBoxLayout(this);
|
// Create the first tab (the tab widget is created with one
|
||||||
|
// initial tab for ease of use in designer, we remove it).
|
||||||
|
addEditorTab();
|
||||||
|
pvTab->removeTab(0);
|
||||||
|
|
||||||
pvTab = new QTabWidget(this);
|
for (const auto& ugroup : m_hData.ugroups) {
|
||||||
|
|
||||||
// Create the first tab. Should be possible to use addEditorTab
|
|
||||||
// but this causes a pb with the sizeing
|
|
||||||
QWidget *unnamed = new QWidget(pvTab);
|
|
||||||
QVBoxLayout *unnamedLayout = new QVBoxLayout(unnamed);
|
|
||||||
PreviewTextEdit *pvEdit = new PreviewTextEdit(unnamed, "pvEdit", this);
|
|
||||||
pvEdit->setReadOnly(true);
|
|
||||||
pvEdit->setUndoRedoEnabled(false);
|
|
||||||
unnamedLayout->addWidget(pvEdit);
|
|
||||||
pvTab->addTab(unnamed, "");
|
|
||||||
|
|
||||||
previewLayout->addWidget(pvTab);
|
|
||||||
|
|
||||||
// Create the buttons and entry field
|
|
||||||
QHBoxLayout *layout3 = new QHBoxLayout(0);
|
|
||||||
searchLabel = new QLabel(this);
|
|
||||||
layout3->addWidget(searchLabel);
|
|
||||||
|
|
||||||
searchTextCMB = new QComboBox(this);
|
|
||||||
searchTextCMB->setEditable(true);
|
|
||||||
searchTextCMB->setInsertPolicy(QComboBox::NoInsert);
|
|
||||||
searchTextCMB->setDuplicatesEnabled(false);
|
|
||||||
for (unsigned int i = 0; i < m_hData.ugroups.size(); i++) {
|
|
||||||
QString s;
|
QString s;
|
||||||
for (unsigned int j = 0; j < m_hData.ugroups[i].size(); j++) {
|
for (const auto& elt : ugroup) {
|
||||||
s.append(QString::fromUtf8(m_hData.ugroups[i][j].c_str()));
|
s.append(u8s2qs(elt));
|
||||||
if (j != m_hData.ugroups[i].size()-1)
|
|
||||||
s.append(" ");
|
|
||||||
}
|
}
|
||||||
|
s = s.trimmed();
|
||||||
searchTextCMB->addItem(s);
|
searchTextCMB->addItem(s);
|
||||||
}
|
}
|
||||||
searchTextCMB->setEditText("");
|
|
||||||
searchTextCMB->setCompleter(0);
|
searchTextCMB->setCompleter(0);
|
||||||
|
|
||||||
layout3->addWidget(searchTextCMB);
|
if (prefs.pvwidth > 100) {
|
||||||
|
resize(prefs.pvwidth, prefs.pvheight);
|
||||||
nextButton = new QPushButton(this);
|
} else {
|
||||||
nextButton->setEnabled(true);
|
resize(QSize(640, 480).expandedTo(minimumSizeHint()));
|
||||||
layout3->addWidget(nextButton);
|
}
|
||||||
prevButton = new QPushButton(this);
|
|
||||||
prevButton->setEnabled(true);
|
|
||||||
layout3->addWidget(prevButton);
|
|
||||||
clearPB = new QPushButton(this);
|
|
||||||
clearPB->setEnabled(false);
|
|
||||||
layout3->addWidget(clearPB);
|
|
||||||
matchCheck = new QCheckBox(this);
|
|
||||||
layout3->addWidget(matchCheck);
|
|
||||||
|
|
||||||
previewLayout->addLayout(layout3);
|
|
||||||
|
|
||||||
resize(QSize(640, 480).expandedTo(minimumSizeHint()));
|
|
||||||
|
|
||||||
// buddies
|
|
||||||
searchLabel->setBuddy(searchTextCMB);
|
|
||||||
|
|
||||||
searchLabel->setText(tr("&Search for:"));
|
|
||||||
nextButton->setText(tr("&Next"));
|
|
||||||
prevButton->setText(tr("&Previous"));
|
|
||||||
clearPB->setText(tr("Clear"));
|
|
||||||
matchCheck->setText(tr("Match &Case"));
|
|
||||||
|
|
||||||
QPushButton * bt = new QPushButton(tr("Close Tab"), this);
|
|
||||||
pvTab->setCornerWidget(bt);
|
|
||||||
|
|
||||||
(void)new HelpClient(this);
|
(void)new HelpClient(this);
|
||||||
HelpClient::installMap((const char *)objectName().toUtf8(),
|
HelpClient::installMap((const char *)objectName().toUtf8(),
|
||||||
@ -146,12 +100,11 @@ void Preview::init()
|
|||||||
this, SLOT(searchTextFromIndex(int)));
|
this, SLOT(searchTextFromIndex(int)));
|
||||||
connect(searchTextCMB, SIGNAL(editTextChanged(const QString&)),
|
connect(searchTextCMB, SIGNAL(editTextChanged(const QString&)),
|
||||||
this, SLOT(searchTextChanged(const QString&)));
|
this, SLOT(searchTextChanged(const QString&)));
|
||||||
connect(nextButton, SIGNAL(clicked()), this, SLOT(nextPressed()));
|
connect(nextPB, SIGNAL(clicked()), this, SLOT(nextPressed()));
|
||||||
connect(prevButton, SIGNAL(clicked()), this, SLOT(prevPressed()));
|
connect(prevPB, SIGNAL(clicked()), this, SLOT(prevPressed()));
|
||||||
connect(clearPB, SIGNAL(clicked()), searchTextCMB, SLOT(clearEditText()));
|
connect(clearPB, SIGNAL(clicked()), searchTextCMB, SLOT(clearEditText()));
|
||||||
connect(pvTab, SIGNAL(currentChanged(int)),
|
connect(pvTab, SIGNAL(currentChanged(int)), this, SLOT(currentChanged(int)));
|
||||||
this, SLOT(currentChanged(int)));
|
connect(pvTab, SIGNAL(tabCloseRequested(int)), this, SLOT(closeTab(int)));
|
||||||
connect(bt, SIGNAL(clicked()), this, SLOT(closeCurrentTab()));
|
|
||||||
|
|
||||||
connect(new QShortcut(closeKS, this), SIGNAL (activated()),
|
connect(new QShortcut(closeKS, this), SIGNAL (activated()),
|
||||||
this, SLOT (close()));
|
this, SLOT (close()));
|
||||||
@ -164,9 +117,6 @@ void Preview::init()
|
|||||||
connect(new QShortcut(printTabKS, this), SIGNAL (activated()),
|
connect(new QShortcut(printTabKS, this), SIGNAL (activated()),
|
||||||
this, SIGNAL (printCurrentPreviewRequest()));
|
this, SIGNAL (printCurrentPreviewRequest()));
|
||||||
|
|
||||||
if (prefs.pvwidth > 100) {
|
|
||||||
resize(prefs.pvwidth, prefs.pvheight);
|
|
||||||
}
|
|
||||||
currentChanged(pvTab->currentIndex());
|
currentChanged(pvTab->currentIndex());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -203,13 +153,9 @@ void Preview::closeEvent(QCloseEvent *e)
|
|||||||
|
|
||||||
/* Release all temporary files (but maybe none is actually set) */
|
/* Release all temporary files (but maybe none is actually set) */
|
||||||
for (int i = 0; i < pvTab->count(); i++) {
|
for (int i = 0; i < pvTab->count(); i++) {
|
||||||
QWidget *tw = pvTab->widget(i);
|
PreviewTextEdit *edit = editor(i);
|
||||||
if (tw) {
|
if (edit) {
|
||||||
PreviewTextEdit *edit =
|
forgetTempFile(edit->m_tmpfilename);
|
||||||
tw->findChild<PreviewTextEdit*>("pvEdit");
|
|
||||||
if (edit) {
|
|
||||||
forgetTempFile(edit->m_tmpfilename);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
emit previewExposed(this, m_searchId, -1);
|
emit previewExposed(this, m_searchId, -1);
|
||||||
@ -295,17 +241,6 @@ void Preview::searchTextFromIndex(int idx)
|
|||||||
m_searchTextFromIndex = idx;
|
m_searchTextFromIndex = idx;
|
||||||
}
|
}
|
||||||
|
|
||||||
PreviewTextEdit *Preview::currentEditor()
|
|
||||||
{
|
|
||||||
LOGDEB2("Preview::currentEditor()\n");
|
|
||||||
QWidget *tw = pvTab->currentWidget();
|
|
||||||
PreviewTextEdit *edit = 0;
|
|
||||||
if (tw) {
|
|
||||||
edit = tw->findChild<PreviewTextEdit*>("pvEdit");
|
|
||||||
}
|
|
||||||
return edit;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Save current document to file
|
// Save current document to file
|
||||||
void Preview::emitSaveDocToFile()
|
void Preview::emitSaveDocToFile()
|
||||||
{
|
{
|
||||||
@ -327,7 +262,7 @@ void Preview::doSearch(const QString &_text, bool next, bool reverse,
|
|||||||
" word " << wordOnly << "\n");
|
" word " << wordOnly << "\n");
|
||||||
QString text = _text;
|
QString text = _text;
|
||||||
|
|
||||||
bool matchCase = matchCheck->isChecked();
|
bool matchCase = casematchCB->isChecked();
|
||||||
PreviewTextEdit *edit = currentEditor();
|
PreviewTextEdit *edit = currentEditor();
|
||||||
if (edit == 0) {
|
if (edit == 0) {
|
||||||
// ??
|
// ??
|
||||||
@ -419,9 +354,7 @@ void Preview::prevPressed()
|
|||||||
void Preview::currentChanged(int index)
|
void Preview::currentChanged(int index)
|
||||||
{
|
{
|
||||||
LOGDEB2("PreviewTextEdit::currentChanged\n");
|
LOGDEB2("PreviewTextEdit::currentChanged\n");
|
||||||
QWidget *tw = pvTab->widget(index);
|
PreviewTextEdit *edit = editor(index);
|
||||||
PreviewTextEdit *edit =
|
|
||||||
tw->findChild<PreviewTextEdit*>("pvEdit");
|
|
||||||
LOGDEB1("Preview::currentChanged(). Editor: " << edit << "\n");
|
LOGDEB1("Preview::currentChanged(). Editor: " << edit << "\n");
|
||||||
|
|
||||||
if (edit == 0) {
|
if (edit == 0) {
|
||||||
@ -430,7 +363,7 @@ void Preview::currentChanged(int index)
|
|||||||
}
|
}
|
||||||
edit->setFocus();
|
edit->setFocus();
|
||||||
// Disconnect the print signal and reconnect it to the current editor
|
// Disconnect the print signal and reconnect it to the current editor
|
||||||
LOGDEB("Disconnecting reconnecting print signal\n");
|
LOGDEB1("Disconnecting reconnecting print signal\n");
|
||||||
disconnect(this, SIGNAL(printCurrentPreviewRequest()), 0, 0);
|
disconnect(this, SIGNAL(printCurrentPreviewRequest()), 0, 0);
|
||||||
connect(this, SIGNAL(printCurrentPreviewRequest()), edit, SLOT(print()));
|
connect(this, SIGNAL(printCurrentPreviewRequest()), edit, SLOT(print()));
|
||||||
edit->installEventFilter(this);
|
edit->installEventFilter(this);
|
||||||
@ -446,27 +379,45 @@ void Preview::closeCurrentTab()
|
|||||||
CancelCheck::instance().setCancel();
|
CancelCheck::instance().setCancel();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
PreviewTextEdit *e = currentEditor();
|
closeTab(pvTab->currentIndex());
|
||||||
if (e)
|
}
|
||||||
forgetTempFile(e->m_tmpfilename);
|
|
||||||
|
void Preview::closeTab(int index)
|
||||||
|
{
|
||||||
|
LOGDEB1("Preview::closeTab: m_loading " << m_loading << "\n");
|
||||||
|
if (m_loading) {
|
||||||
|
CancelCheck::instance().setCancel();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
PreviewTextEdit *edit = editor(index);
|
||||||
|
if (edit)
|
||||||
|
forgetTempFile(edit->m_tmpfilename);
|
||||||
if (pvTab->count() > 1) {
|
if (pvTab->count() > 1) {
|
||||||
pvTab->removeTab(pvTab->currentIndex());
|
pvTab->removeTab(index);
|
||||||
} else {
|
} else {
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PreviewTextEdit *Preview::editor(int index)
|
||||||
|
{
|
||||||
|
return dynamic_cast<PreviewTextEdit*>(pvTab->widget(index));
|
||||||
|
}
|
||||||
|
|
||||||
|
PreviewTextEdit *Preview::currentEditor()
|
||||||
|
{
|
||||||
|
LOGDEB2("Preview::currentEditor()\n");
|
||||||
|
return editor(pvTab->currentIndex());
|
||||||
|
}
|
||||||
|
|
||||||
PreviewTextEdit *Preview::addEditorTab()
|
PreviewTextEdit *Preview::addEditorTab()
|
||||||
{
|
{
|
||||||
LOGDEB1("PreviewTextEdit::addEditorTab()\n");
|
LOGDEB1("PreviewTextEdit::addEditorTab()\n");
|
||||||
QWidget *anon = new QWidget((QWidget *)pvTab);
|
PreviewTextEdit *editor = new PreviewTextEdit(pvTab, "pvEdit", this);
|
||||||
QVBoxLayout *anonLayout = new QVBoxLayout(anon);
|
|
||||||
PreviewTextEdit *editor = new PreviewTextEdit(anon, "pvEdit", this);
|
|
||||||
editor->setReadOnly(true);
|
editor->setReadOnly(true);
|
||||||
editor->setUndoRedoEnabled(false );
|
editor->setUndoRedoEnabled(false );
|
||||||
anonLayout->addWidget(editor);
|
pvTab->addTab(editor, "Tab");
|
||||||
pvTab->addTab(anon, "Tab");
|
pvTab->setCurrentIndex(pvTab->count() - 1);
|
||||||
pvTab->setCurrentIndex(pvTab->count() -1);
|
|
||||||
return editor;
|
return editor;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -523,15 +474,11 @@ bool Preview::makeDocCurrent(const Rcl::Doc& doc, int docnum, bool sametab)
|
|||||||
|
|
||||||
/* Check if we already have this page */
|
/* Check if we already have this page */
|
||||||
for (int i = 0; i < pvTab->count(); i++) {
|
for (int i = 0; i < pvTab->count(); i++) {
|
||||||
QWidget *tw = pvTab->widget(i);
|
PreviewTextEdit *edit = editor(i);
|
||||||
if (tw) {
|
if (edit && !edit->m_url.compare(doc.url) &&
|
||||||
PreviewTextEdit *edit =
|
!edit->m_ipath.compare(doc.ipath)) {
|
||||||
tw->findChild<PreviewTextEdit*>("pvEdit");
|
pvTab->setCurrentIndex(i);
|
||||||
if (edit && !edit->m_url.compare(doc.url) &&
|
return true;
|
||||||
!edit->m_ipath.compare(doc.ipath)) {
|
|
||||||
pvTab->setCurrentIndex(i);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -547,6 +494,7 @@ bool Preview::makeDocCurrent(const Rcl::Doc& doc, int docnum, bool sametab)
|
|||||||
raise();
|
raise();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Preview::togglePlainPre()
|
void Preview::togglePlainPre()
|
||||||
{
|
{
|
||||||
switch (prefs.previewPlainPre) {
|
switch (prefs.previewPlainPre) {
|
||||||
|
|||||||
@ -45,6 +45,8 @@
|
|||||||
#include "plaintorich.h"
|
#include "plaintorich.h"
|
||||||
#include "rclmain_w.h"
|
#include "rclmain_w.h"
|
||||||
|
|
||||||
|
#include "ui_preview.h"
|
||||||
|
|
||||||
class QTabWidget;
|
class QTabWidget;
|
||||||
class QLabel;
|
class QLabel;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
@ -106,13 +108,15 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class Preview : public QWidget {
|
class Preview : public QWidget, public Ui::Preview {
|
||||||
Q_OBJECT;
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
Preview(RclMain *m, int sid, // Search Id
|
Preview(RclMain *m, int sid, // Search Id
|
||||||
const HighlightData& hdata) // Search terms etc. for highlighting
|
const HighlightData& hdata) // Search terms etc. for highlighting
|
||||||
: QWidget(0), m_rclmain(m), m_searchId(sid), m_hData(hdata) {
|
: m_rclmain(m), m_searchId(sid), m_hData(hdata) {
|
||||||
|
setupUi(this);
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -142,6 +146,7 @@ public slots:
|
|||||||
// Tabs management
|
// Tabs management
|
||||||
virtual void currentChanged(int);
|
virtual void currentChanged(int);
|
||||||
virtual void closeCurrentTab();
|
virtual void closeCurrentTab();
|
||||||
|
virtual void closeTab(int index);
|
||||||
virtual void emitShowNext();
|
virtual void emitShowNext();
|
||||||
virtual void emitShowPrev();
|
virtual void emitShowPrev();
|
||||||
|
|
||||||
@ -158,7 +163,7 @@ signals:
|
|||||||
void saveDocToFile(Rcl::Doc);
|
void saveDocToFile(Rcl::Doc);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RclMain *m_rclmain{0};
|
RclMain *m_rclmain;
|
||||||
// Identifier of search in main window. This is used to check that
|
// Identifier of search in main window. This is used to check that
|
||||||
// we make sense when requesting the next document when browsing
|
// we make sense when requesting the next document when browsing
|
||||||
// successive search results in a tab.
|
// successive search results in a tab.
|
||||||
@ -173,16 +178,9 @@ private:
|
|||||||
HighlightData m_hData;
|
HighlightData m_hData;
|
||||||
bool m_justCreated{true}; // First tab create is different
|
bool m_justCreated{true}; // First tab create is different
|
||||||
|
|
||||||
QTabWidget* pvTab{0};
|
|
||||||
QLabel* searchLabel{0};
|
|
||||||
QComboBox *searchTextCMB{0};
|
|
||||||
QPushButton* nextButton{0};
|
|
||||||
QPushButton* prevButton{0};
|
|
||||||
QPushButton* clearPB{0};
|
|
||||||
QCheckBox* matchCheck{0};
|
|
||||||
|
|
||||||
void init();
|
void init();
|
||||||
virtual void setCurTabProps(const Rcl::Doc& doc, int docnum);
|
virtual void setCurTabProps(const Rcl::Doc& doc, int docnum);
|
||||||
|
virtual PreviewTextEdit *editor(int);
|
||||||
virtual PreviewTextEdit *currentEditor();
|
virtual PreviewTextEdit *currentEditor();
|
||||||
virtual PreviewTextEdit *addEditorTab();
|
virtual PreviewTextEdit *addEditorTab();
|
||||||
virtual bool loadDocInCurrentTab(const Rcl::Doc& idoc, int dnm);
|
virtual bool loadDocInCurrentTab(const Rcl::Doc& idoc, int dnm);
|
||||||
|
|||||||
@ -91,21 +91,22 @@ SOURCES += \
|
|||||||
FORMS = \
|
FORMS = \
|
||||||
advsearch.ui \
|
advsearch.ui \
|
||||||
crontool.ui \
|
crontool.ui \
|
||||||
widgets/editdialog.ui \
|
|
||||||
firstidx.ui \
|
firstidx.ui \
|
||||||
idxsched.ui \
|
idxsched.ui \
|
||||||
widgets/listdialog.ui \
|
preview.ui \
|
||||||
ptrans.ui \
|
ptrans.ui \
|
||||||
rclmain.ui \
|
rclmain.ui \
|
||||||
restable.ui \
|
restable.ui \
|
||||||
rtitool.ui \
|
rtitool.ui \
|
||||||
|
snippets.ui \
|
||||||
specialindex.ui \
|
specialindex.ui \
|
||||||
spell.ui \
|
spell.ui \
|
||||||
snippets.ui \
|
|
||||||
ssearchb.ui \
|
ssearchb.ui \
|
||||||
uiprefs.ui \
|
uiprefs.ui \
|
||||||
viewaction.ui \
|
viewaction.ui \
|
||||||
webcache.ui
|
webcache.ui \
|
||||||
|
widgets/editdialog.ui \
|
||||||
|
widgets/listdialog.ui
|
||||||
|
|
||||||
RESOURCES = recoll.qrc
|
RESOURCES = recoll.qrc
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user