|
a/src/qtgui/rclmain_w.h |
|
b/src/qtgui/rclmain_w.h |
|
... |
|
... |
29 |
#include "searchdata.h"
|
29 |
#include "searchdata.h"
|
30 |
#include "spell_w.h"
|
30 |
#include "spell_w.h"
|
31 |
#include "refcntr.h"
|
31 |
#include "refcntr.h"
|
32 |
#include "pathut.h"
|
32 |
#include "pathut.h"
|
33 |
|
33 |
|
|
|
34 |
class IdxSchedW;
|
34 |
class ExecCmd;
|
35 |
class ExecCmd;
|
35 |
class Preview;
|
36 |
class Preview;
|
36 |
class ResTable;
|
37 |
class ResTable;
|
|
|
38 |
class CronToolW;
|
37 |
|
39 |
|
38 |
#include "ui_rclmain.h"
|
40 |
#include "ui_rclmain.h"
|
39 |
|
41 |
|
40 |
namespace confgui {
|
42 |
namespace confgui {
|
41 |
class ConfIndexW;
|
43 |
class ConfIndexW;
|
|
... |
|
... |
47 |
{
|
49 |
{
|
48 |
Q_OBJECT
|
50 |
Q_OBJECT
|
49 |
|
51 |
|
50 |
public:
|
52 |
public:
|
51 |
RclMain(QWidget * parent = 0)
|
53 |
RclMain(QWidget * parent = 0)
|
52 |
: QMainWindow(parent), m_sortspecnochange(false)
|
54 |
: QMainWindow(parent),
|
|
|
55 |
curPreview(0),
|
|
|
56 |
asearchform(0),
|
|
|
57 |
uiprefs(0),
|
|
|
58 |
indexConfig(0),
|
|
|
59 |
indexSched(0),
|
|
|
60 |
cronTool(0),
|
|
|
61 |
spellform(0),
|
|
|
62 |
periodictimer(0),
|
|
|
63 |
restable(0),
|
|
|
64 |
displayingTable(0),
|
|
|
65 |
m_idNoStem(0),
|
|
|
66 |
m_idAllStem(0),
|
|
|
67 |
m_idxStatusAck(false),
|
|
|
68 |
m_sortspecnochange(false),
|
|
|
69 |
m_periodicToggle(0)
|
53 |
{
|
70 |
{
|
54 |
setupUi(this);
|
71 |
setupUi(this);
|
55 |
init();
|
72 |
init();
|
56 |
}
|
73 |
}
|
57 |
~RclMain() {}
|
74 |
~RclMain() {}
|
|
... |
|
... |
74 |
virtual void startManual(const string&);
|
91 |
virtual void startManual(const string&);
|
75 |
virtual void showDocHistory();
|
92 |
virtual void showDocHistory();
|
76 |
virtual void showExtIdxDialog();
|
93 |
virtual void showExtIdxDialog();
|
77 |
virtual void showUIPrefs();
|
94 |
virtual void showUIPrefs();
|
78 |
virtual void showIndexConfig();
|
95 |
virtual void showIndexConfig();
|
|
|
96 |
virtual void execIndexConfig();
|
|
|
97 |
virtual void showCronTool();
|
|
|
98 |
virtual void execCronTool();
|
|
|
99 |
virtual void showIndexSched();
|
|
|
100 |
virtual void execIndexSched();
|
79 |
virtual void setUIPrefs();
|
101 |
virtual void setUIPrefs();
|
80 |
virtual void enableNextPage(bool);
|
102 |
virtual void enableNextPage(bool);
|
81 |
virtual void enablePrevPage(bool);
|
103 |
virtual void enablePrevPage(bool);
|
82 |
virtual void docExpand(Rcl::Doc);
|
104 |
virtual void docExpand(Rcl::Doc);
|
83 |
virtual void startPreview(int docnum, Rcl::Doc doc, int keymods);
|
105 |
virtual void startPreview(int docnum, Rcl::Doc doc, int keymods);
|
|
... |
|
... |
118 |
private:
|
140 |
private:
|
119 |
Preview *curPreview;
|
141 |
Preview *curPreview;
|
120 |
AdvSearch *asearchform;
|
142 |
AdvSearch *asearchform;
|
121 |
UIPrefsDialog *uiprefs;
|
143 |
UIPrefsDialog *uiprefs;
|
122 |
ConfIndexW *indexConfig;
|
144 |
ConfIndexW *indexConfig;
|
|
|
145 |
IdxSchedW *indexSched;
|
|
|
146 |
CronToolW *cronTool;
|
123 |
SpellW *spellform;
|
147 |
SpellW *spellform;
|
124 |
QTimer *periodictimer;
|
148 |
QTimer *periodictimer;
|
125 |
ResTable *restable;
|
149 |
ResTable *restable;
|
126 |
bool displayingTable;
|
150 |
bool displayingTable;
|
|
|
151 |
QAction *m_idNoStem;
|
|
|
152 |
QAction *m_idAllStem;
|
127 |
|
153 |
|
128 |
vector<ExecCmd*> m_viewers;
|
154 |
vector<ExecCmd*> m_viewers;
|
129 |
map<QString, QAction*> m_stemLangToId;
|
155 |
map<QString, QAction*> m_stemLangToId;
|
130 |
vector<string> m_catgbutvec;
|
156 |
vector<string> m_catgbutvec;
|
131 |
QAction * m_idNoStem;
|
|
|
132 |
QAction * m_idAllStem;
|
|
|
133 |
bool m_idxStatusAck; // Did we act on last status?
|
157 |
bool m_idxStatusAck; // Did we act on last status?
|
134 |
DocSeqFiltSpec m_filtspec;
|
158 |
DocSeqFiltSpec m_filtspec;
|
135 |
bool m_sortspecnochange;
|
159 |
bool m_sortspecnochange;
|
136 |
DocSeqSortSpec m_sortspec;
|
160 |
DocSeqSortSpec m_sortspec;
|
137 |
RefCntr<DocSequence> m_source;
|
161 |
RefCntr<DocSequence> m_source;
|
|
... |
|
... |
140 |
virtual void init();
|
164 |
virtual void init();
|
141 |
virtual void previewPrevOrNextInTab(Preview *, int sid, int docnum,
|
165 |
virtual void previewPrevOrNextInTab(Preview *, int sid, int docnum,
|
142 |
bool next);
|
166 |
bool next);
|
143 |
virtual void setStemLang(const QString& lang);
|
167 |
virtual void setStemLang(const QString& lang);
|
144 |
virtual void onSortCtlChanged();
|
168 |
virtual void onSortCtlChanged();
|
|
|
169 |
virtual void showIndexConfig(bool modal);
|
|
|
170 |
virtual void showIndexSched(bool modal);
|
|
|
171 |
virtual void showCronTool(bool modal);
|
145 |
};
|
172 |
};
|
146 |
|
173 |
|
147 |
#endif // RCLMAIN_W_H
|
174 |
#endif // RCLMAIN_W_H
|