|
a/src/qtgui/preview_w.h |
|
b/src/qtgui/preview_w.h |
|
... |
|
... |
24 |
#define PREVIEW_TEXTBROWSER
|
24 |
#define PREVIEW_TEXTBROWSER
|
25 |
#endif
|
25 |
#endif
|
26 |
|
26 |
|
27 |
#include <stdio.h>
|
27 |
#include <stdio.h>
|
28 |
|
28 |
|
29 |
#include MEMORY_INCLUDE
|
29 |
#include <memory>
|
30 |
|
30 |
|
31 |
#include <QComboBox>
|
31 |
#include <QComboBox>
|
32 |
#include <qvariant.h>
|
32 |
#include <qvariant.h>
|
33 |
#include <qwidget.h>
|
33 |
#include <qwidget.h>
|
34 |
|
34 |
|
|
... |
|
... |
71 |
protected:
|
71 |
protected:
|
72 |
void mouseDoubleClickEvent(QMouseEvent *);
|
72 |
void mouseDoubleClickEvent(QMouseEvent *);
|
73 |
|
73 |
|
74 |
private:
|
74 |
private:
|
75 |
Preview *m_preview;
|
75 |
Preview *m_preview;
|
76 |
STD_SHARED_PTR<PlainToRichQtPreview> m_plaintorich;
|
76 |
std::shared_ptr<PlainToRichQtPreview> m_plaintorich;
|
77 |
|
77 |
|
78 |
bool m_dspflds;
|
78 |
bool m_dspflds;
|
79 |
string m_url; // filename for this tab
|
79 |
string m_url; // filename for this tab
|
80 |
string m_ipath; // Internal doc path inside file
|
80 |
string m_ipath; // Internal doc path inside file
|
81 |
int m_docnum; // Index of doc in db search results.
|
81 |
int m_docnum; // Index of doc in db search results.
|