|
a/src/qtgui/rclmain.cpp |
|
b/src/qtgui/rclmain.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.31 2006-09-13 08:13:36 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rclmain.cpp,v 1.32 2006-09-13 13:53:35 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
129 |
connect(preferencesQuery_PrefsAction, SIGNAL(activated()),
|
129 |
connect(preferencesQuery_PrefsAction, SIGNAL(activated()),
|
130 |
this, SLOT(showUIPrefs()));
|
130 |
this, SLOT(showUIPrefs()));
|
131 |
|
131 |
|
132 |
nextPageAction->setIconSet(createIconSet("nextpage.png"));
|
132 |
nextPageAction->setIconSet(createIconSet("nextpage.png"));
|
133 |
prevPageAction->setIconSet(createIconSet("prevpage.png"));
|
133 |
prevPageAction->setIconSet(createIconSet("prevpage.png"));
|
134 |
|
|
|
135 |
|
|
|
136 |
if (prefs.startWithAdvSearchOpen)
|
|
|
137 |
showAdvSearchDialog();
|
|
|
138 |
if (prefs.startWithSortToolOpen)
|
|
|
139 |
showSortDialog();
|
|
|
140 |
}
|
134 |
}
|
141 |
|
135 |
|
142 |
// We also want to get rid of the advanced search form and previews
|
136 |
// We also want to get rid of the advanced search form and previews
|
143 |
// when we exit (not our children so that it's not systematically
|
137 |
// when we exit (not our children so that it's not systematically
|
144 |
// created over the main form).
|
138 |
// created over the main form).
|
|
... |
|
... |
665 |
QString::fromUtf8((*it).c_str()) + QString::fromLatin1("\"");
|
659 |
QString::fromUtf8((*it).c_str()) + QString::fromLatin1("\"");
|
666 |
}
|
660 |
}
|
667 |
// We need to insert item here, its not auto-done like when the user types
|
661 |
// We need to insert item here, its not auto-done like when the user types
|
668 |
// CR
|
662 |
// CR
|
669 |
sSearch->queryText->setEditText(text);
|
663 |
sSearch->queryText->setEditText(text);
|
670 |
sSearch->queryText->insertItem(text, 0);
|
|
|
671 |
sSearch->setAnyTermMode();
|
664 |
sSearch->setAnyTermMode();
|
672 |
sSearch->startSimpleSearch();
|
665 |
sSearch->startSimpleSearch();
|
673 |
}
|
666 |
}
|
674 |
|
667 |
|
675 |
void RclMain::showDocHistory()
|
668 |
void RclMain::showDocHistory()
|