From: Jakub Jaszczynski Date: Thu, 19 Aug 2010 07:06:10 +0000 (+0200) Subject: Merge branch 'master' into cache X-Git-Tag: 0.4~20^2~8 X-Git-Url: http://git.maemo.org/git/?p=mdictionary;a=commitdiff_plain;h=5f2fb6f8cd77967e394fa75ef10b61e79debaf5f;hp=e697da7bee45ffb1c0e5def0d5b4560c3081a6bb Merge branch 'master' into cache Conflicts: trunk/src/base/base.pro trunk/src/plugins/xdxf/src/xdxfplugin.cpp --- diff --git a/data/mdictionary.defaults b/data/mdictionary.defaults index 83f046e..ca7c907 100644 --- a/data/mdictionary.defaults +++ b/data/mdictionary.defaults @@ -1,6 +1,6 @@ [%General] plugin_path=/usr/lib/mdictionary -history_length=10 +history_size=10 search_limit=15 [dictionary_0] diff --git a/doc/html/AboutWidget_8h_source.html b/doc/html/AboutWidget_8h_source.html new file mode 100644 index 0000000..9f12de6 --- /dev/null +++ b/doc/html/AboutWidget_8h_source.html @@ -0,0 +1,83 @@ + + + + + +mDictionary: AboutWidget.h Source File + + + + + + + + + + +
+ All Classes Files Functions
+ + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/BookmarkTranslations_8h_source.html b/doc/html/BookmarkTranslations_8h_source.html new file mode 100644 index 0000000..4d6d3ce --- /dev/null +++ b/doc/html/BookmarkTranslations_8h_source.html @@ -0,0 +1,142 @@ + + + + + +mDictionary: BookmarkTranslations.h Source File + + + + + + + + + + +
+ All Classes Files Functions
+ + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/BookmarksWidget_8h_source.html b/doc/html/BookmarksWidget_8h_source.html new file mode 100644 index 0000000..4fa0f3f --- /dev/null +++ b/doc/html/BookmarksWidget_8h_source.html @@ -0,0 +1,110 @@ + + + + + +mDictionary: BookmarksWidget.h Source File + + + + + + + + + + +
+ All Classes Files Functions
+ + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/Bookmarks_8h_source.html b/doc/html/Bookmarks_8h_source.html new file mode 100644 index 0000000..3939720 --- /dev/null +++ b/doc/html/Bookmarks_8h_source.html @@ -0,0 +1,132 @@ + + + + + +mDictionary: Bookmarks.h Source File + + + + + + + + + + +
+ All Classes Files Functions
+ + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/CommonDictInterface_8h_source.html b/doc/html/CommonDictInterface_8h_source.html index 5e421f6..ac26a41 100644 --- a/doc/html/CommonDictInterface_8h_source.html +++ b/doc/html/CommonDictInterface_8h_source.html @@ -61,68 +61,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00019 00020 *******************************************************************************/ 00021 -00022 // Created by Bartosz Szatkowski -00023 -00024 #ifndef COMMONDICTINTERFACE_H -00025 #define COMMONDICTINTERFACE_H -00026 -00027 #include <QString> -00028 #include <QDialog> -00029 #include <QObject> -00030 #include <QList> -00031 #include "translation.h" -00032 -00033 class DictDialog; -00034 class Settings; -00035 +00028 #ifndef COMMONDICTINTERFACE_H +00029 #define COMMONDICTINTERFACE_H +00030 +00031 #include <QString> +00032 #include <QDialog> +00033 #include <QObject> +00034 #include <QList> +00035 #include "translation.h" 00036 -00038 class CommonDictInterface : public QObject { -00039 Q_OBJECT -00040 public: -00041 CommonDictInterface(QObject *parent = 0):QObject(parent) {} -00042 -00044 virtual QString langFrom() const = 0; -00045 -00047 virtual QString langTo() const = 0; -00048 -00050 virtual QString name() const = 0; -00051 -00053 virtual QString type() const = 0; -00054 -00056 virtual QString infoNote() const = 0; -00057 -00060 virtual DictDialog* dictDialog() = 0; +00037 class DictDialog; +00038 class Settings; +00039 +00040 +00042 class CommonDictInterface : public QObject { +00043 Q_OBJECT +00044 public: +00045 CommonDictInterface(QObject *parent = 0):QObject(parent) {} +00046 +00048 virtual QString langFrom() const = 0; +00049 +00051 virtual QString langTo() const = 0; +00052 +00054 virtual QString name() const = 0; +00055 +00057 virtual QString type() const = 0; +00058 +00060 virtual QString infoNote() const = 0; 00061 -00062 -00064 virtual CommonDictInterface* getNew(const Settings*) const = 0; +00064 virtual DictDialog* dictDialog() = 0; 00065 -00067 virtual bool isAvailable() const = 0; -00068 -00070 virtual QString search(QString key) = 0; -00071 -00073 virtual uint hash() const = 0; -00074 -00076 virtual void setHash(uint) = 0; -00077 -00079 virtual Settings* settings() = 0; -00080 -00082 virtual QIcon icon() = 0; -00083 -00084 public Q_SLOTS: -00093 virtual QList<Translation*> searchWordList(QString word, int limit=0) = 0; -00094 -00096 virtual void stop() = 0; -00097 -00098 Q_SIGNALS: -00099 -00101 void loaded(CommonDictInterface*); -00102 -00104 void settingsChanged(); -00105 }; +00066 +00068 virtual CommonDictInterface* getNew(const Settings*) const = 0; +00069 +00071 virtual bool isAvailable() const = 0; +00072 +00074 virtual QString search(QString key) = 0; +00075 +00077 virtual uint hash() const = 0; +00078 +00080 virtual void setHash(uint) = 0; +00081 +00083 virtual Settings* settings() = 0; +00084 +00086 virtual QIcon* icon() = 0; +00087 +00088 public Q_SLOTS: +00097 virtual QList<Translation*> searchWordList(QString word, int limit=0) = 0; +00098 +00100 virtual void stop() = 0; +00101 +00102 Q_SIGNALS: +00103 +00105 void loaded(CommonDictInterface*); 00106 -00107 Q_DECLARE_INTERFACE(CommonDictInterface, "CommonDictInterface/0.1"); -00108 -00109 #endif +00108 void settingsChanged(); +00109 }; +00110 +00111 Q_DECLARE_INTERFACE(CommonDictInterface, "CommonDictInterface/0.1"); +00112 +00113 #endif
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/DictDialog_8h_source.html b/doc/html/DictDialog_8h_source.html index 498c4a4..808ddcb 100644 --- a/doc/html/DictDialog_8h_source.html +++ b/doc/html/DictDialog_8h_source.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00026 00027 #include <QObject> 00028 -00029 class Settings; +00029 class Settings; 00030 00032 class DictDialog : public QObject { 00033 Q_OBJECT @@ -76,7 +76,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00035 public: 00036 DictDialog(QObject*parent=0) : QObject(parent) {} 00037 -00042 virtual Settings* addNewDictionary(QWidget*parent=0)=0; +00042 virtual Settings* addNewDictionary(QWidget*parent=0)=0; 00043 00048 virtual void changeSettings(QWidget*parent=0)=0; 00049 }; @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/DictManagerWidget_8h.html b/doc/html/DictManagerWidget_8h.html index 6a9b382..188cef0 100644 --- a/doc/html/DictManagerWidget_8h.html +++ b/doc/html/DictManagerWidget_8h.html @@ -73,7 +73,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/DictManagerWidget_8h_source.html b/doc/html/DictManagerWidget_8h_source.html index 56f4006..bad3d9c 100644 --- a/doc/html/DictManagerWidget_8h_source.html +++ b/doc/html/DictManagerWidget_8h_source.html @@ -71,7 +71,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00032 00033 00035 -00041 class DictManagerWidget : public QWidget { +00041 class DictManagerWidget : public QDialog { 00042 Q_OBJECT 00043 public: 00045 @@ -133,7 +133,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/DictTypeSelectDialog_8h.html b/doc/html/DictTypeSelectDialog_8h.html index d7990cd..41786df 100644 --- a/doc/html/DictTypeSelectDialog_8h.html +++ b/doc/html/DictTypeSelectDialog_8h.html @@ -76,7 +76,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/DictTypeSelectDialog_8h_source.html b/doc/html/DictTypeSelectDialog_8h_source.html index 78fa568..5643101 100644 --- a/doc/html/DictTypeSelectDialog_8h_source.html +++ b/doc/html/DictTypeSelectDialog_8h_source.html @@ -111,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/GUIInterface_8h.html b/doc/html/GUIInterface_8h.html index 412c924..09380e5 100644 --- a/doc/html/GUIInterface_8h.html +++ b/doc/html/GUIInterface_8h.html @@ -74,7 +74,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/GUIInterface_8h_source.html b/doc/html/GUIInterface_8h_source.html index 766398b..a0d8cd1 100644 --- a/doc/html/GUIInterface_8h_source.html +++ b/doc/html/GUIInterface_8h_source.html @@ -71,81 +71,89 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00032 #include "translation.h" 00033 #include "CommonDictInterface.h" 00034 +00035 class Settings; 00036 -00039 class GUIInterface : public QMainWindow { -00040 Q_OBJECT -00041 -00042 public: -00043 GUIInterface(QWidget *parent = 0) :QMainWindow(parent) {} -00044 -00045 virtual ~GUIInterface() {} +00038 +00041 class GUIInterface : public QMainWindow { +00042 Q_OBJECT +00043 +00044 public: +00045 GUIInterface(QWidget *parent = 0) :QMainWindow(parent) {} 00046 -00049 -00053 virtual QHash<CommonDictInterface*, bool> getDictionaries() = 0; -00054 -00055 +00047 virtual ~GUIInterface() {} +00048 +00051 +00055 virtual QHash<CommonDictInterface*, bool> getDictionaries() = 0; +00056 00057 -00060 virtual QList<CommonDictInterface*> getPlugins() = 0; -00061 +00059 +00062 virtual QList<CommonDictInterface*> getPlugins() = 0; 00063 -00070 bool exactSearch(); -00071 +00065 +00072 bool exactSearch(); 00073 -00074 void setExactSearch(bool exactSearch); 00075 -00076 -00077 public Q_SLOTS: +00076 void setExactSearch(bool exactSearch); +00077 +00078 virtual Settings* settings() = 0; 00079 -00084 virtual void searchExact(QString word) = 0; +00080 virtual void setSettings(Settings*) = 0; +00081 +00082 +00083 public Q_SLOTS: 00085 -00087 -00094 virtual void addToHistory(QList<Translation*>) = 0; -00095 -00097 virtual void showHistory() = 0; -00098 -00100 -00105 virtual void historyNext() = 0; +00090 virtual void searchExact(QString word) = 0; +00091 +00093 +00100 virtual void addToHistory(QList<Translation*>) = 0; +00101 +00103 virtual void showHistory() = 0; +00104 00106 -00108 -00113 virtual void historyPrev() = 0; +00111 virtual void historyNext() = 0; +00112 00114 -00116 -00125 virtual void wordListReady() = 0; -00126 -00128 virtual void translationsReady() = 0; -00129 -00130 Q_SIGNALS: -00133 void quit(); -00134 -00136 -00138 void searchWordList(QString word); -00139 -00141 -00145 void searchTranslations(QList<Translation*>); -00146 -00149 void setBusy(); -00150 -00152 void setIdle(); -00153 -00155 void stopSearching(); +00119 virtual void historyPrev() = 0; +00120 +00122 +00131 virtual void wordListReady() = 0; +00132 +00134 virtual void translationsReady() = 0; +00135 +00136 Q_SIGNALS: +00139 void quit(); +00140 +00142 +00144 void searchWordList(QString word); +00145 +00147 +00151 void searchTranslations(QList<Translation*>); +00152 +00155 void setBusy(); 00156 +00158 void setIdle(); 00159 -00162 void showWordList(QHash<QString, QList<Translation*> >); -00163 -00166 -00169 void showTranslation(QStringList); -00170 +00161 void stopSearching(); +00162 +00165 +00168 void showWordList(QHash<QString, QList<Translation*> >); +00169 00172 -00174 void addNewDictionary(CommonDictInterface*); -00175 -00177 -00179 void removeDictionary(CommonDictInterface*); -00180 -00182 -00184 void selectedDictionaries(QList<CommonDictInterface* >); -00185 }; +00175 void showTranslation(QStringList); +00176 +00178 +00180 void addNewDictionary(CommonDictInterface*); +00181 +00183 +00185 void removeDictionary(CommonDictInterface*); 00186 -00187 #endif // GUIINTERFACE_H +00188 +00190 void selectedDictionaries(QList<CommonDictInterface* >); +00191 +00192 void addToBookmarks(QList<Translation*>); +00193 }; +00194 +00195 #endif // GUIINTERFACE_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/HistoryListDialog_8h.html b/doc/html/HistoryListDialog_8h.html index 14c9bc1..19d006b 100644 --- a/doc/html/HistoryListDialog_8h.html +++ b/doc/html/HistoryListDialog_8h.html @@ -74,7 +74,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/HistoryListDialog_8h_source.html b/doc/html/HistoryListDialog_8h_source.html index dd1fe0a..dee9c7e 100644 --- a/doc/html/HistoryListDialog_8h_source.html +++ b/doc/html/HistoryListDialog_8h_source.html @@ -110,7 +110,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/History_8h_source.html b/doc/html/History_8h_source.html index 3b09e81..6f27afd 100644 --- a/doc/html/History_8h_source.html +++ b/doc/html/History_8h_source.html @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/MainWindow_8h.html b/doc/html/MainWindow_8h.html index d9289a1..ecf1406 100644 --- a/doc/html/MainWindow_8h.html +++ b/doc/html/MainWindow_8h.html @@ -47,13 +47,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); More...

#include <QMainWindow>
#include "../../includes/GUIInterface.h"
+#include "../../includes/settings.h"
#include "../backbone/backbone.h"
#include "TranslationWidget.h"
#include "WordListWidget.h"
#include "SearchBarWidget.h"
#include "MenuWidget.h"
#include "DictManagerWidget.h"
+#include "SettingsWidget.h"
#include "HistoryListDialog.h"
+#include "BookmarksWidget.h"
+#include "WelcomeScreenWidget.h"
+#include "AboutWidget.h"

Go to the source code of this file.

@@ -79,7 +84,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/MainWindow_8h_source.html b/doc/html/MainWindow_8h_source.html index 3c65443..6be736c 100644 --- a/doc/html/MainWindow_8h_source.html +++ b/doc/html/MainWindow_8h_source.html @@ -66,98 +66,128 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00027 00028 #include <QMainWindow> 00029 #include "../../includes/GUIInterface.h" -00030 #include "../backbone/backbone.h" -00031 #include "TranslationWidget.h" -00032 #include "WordListWidget.h" -00033 #include "SearchBarWidget.h" -00034 #include "MenuWidget.h" -00035 #include "DictManagerWidget.h" -00036 #include "HistoryListDialog.h" -00037 -00038 namespace Ui { -00039 class MainWindow; -00040 } -00041 -00043 -00050 class MainWindow : public GUIInterface -00051 { -00052 Q_OBJECT -00053 -00054 public: -00056 -00061 explicit MainWindow(Backbone* backbone, QWidget *parent = 0); -00062 ~MainWindow(); -00063 -00066 -00070 QHash<CommonDictInterface*, bool> getDictionaries(); +00030 #include "../../includes/settings.h" +00031 #include "../backbone/backbone.h" +00032 #include "TranslationWidget.h" +00033 #include "WordListWidget.h" +00034 #include "SearchBarWidget.h" +00035 #include "MenuWidget.h" +00036 #include "DictManagerWidget.h" +00037 #include "SettingsWidget.h" +00038 #include "HistoryListDialog.h" +00039 #include "BookmarksWidget.h" +00040 #include "WelcomeScreenWidget.h" +00041 #include "AboutWidget.h" +00042 +00043 namespace Ui { +00044 class MainWindow; +00045 } +00046 +00048 +00055 class MainWindow : public GUIInterface +00056 { +00057 Q_OBJECT +00058 +00059 public: +00061 +00066 explicit MainWindow(Backbone* backbone, QWidget *parent = 0); +00067 ~MainWindow(); +00068 00071 -00073 -00076 QList<CommonDictInterface*> getPlugins(); -00077 -00079 -00085 bool exactSearch(); -00086 -00088 -00095 void setExactSearch(bool); -00096 -00097 -00098 public Q_SLOTS: -00100 -00105 void searchExact(QString); +00075 QHash<CommonDictInterface*, bool> getDictionaries(); +00076 +00078 +00081 QList<CommonDictInterface*> getPlugins(); +00082 +00084 +00090 bool exactSearch(); +00091 +00093 +00100 void setExactSearch(bool); +00101 +00102 Settings* settings(); +00103 +00104 void setSettings(Settings*); +00105 00106 -00108 -00117 void wordListReady(); +00107 public Q_SLOTS: +00109 +00114 void searchExact(QString); +00115 +00116 00118 -00120 void translationsReady(); -00121 -00123 -00130 void addToHistory(QList<Translation*>); +00127 void wordListReady(); +00128 +00130 void translationsReady(); 00131 -00133 void showHistory(); -00134 -00136 -00141 void historyNext(); -00142 +00133 +00140 void addToHistory(QList<Translation*>); +00141 +00143 void showHistory(); 00144 -00149 void historyPrev(); -00150 -00151 private Q_SLOTS: -00154 void setSearchString(QString); -00155 -00157 void disableMenu(); -00158 -00160 void enableMenu(); -00161 -00164 void breakSearching(); +00146 +00151 void historyNext(); +00152 +00154 +00159 void historyPrev(); +00160 +00161 private Q_SLOTS: +00164 void setSearchString(QString); 00165 -00166 -00167 protected: -00171 void closeEvent(QCloseEvent *); -00172 -00173 -00174 private: -00175 Backbone* backbone; -00176 Ui::MainWindow *ui; -00177 +00167 void disableMenu(); +00168 +00170 void enableMenu(); +00171 +00174 void breakSearching(); +00175 +00176 +00177 void showAllBookmarks(); 00178 -00179 SearchBarWidget* searchBarWidget; -00180 TranslationWidget* translationWidget; -00181 WordListWidget* wordListWidget; -00182 MenuWidget* menuWidget; -00183 DictManagerWidget* dictManagerWidget; -00184 -00185 bool _exactSearch; -00186 QString searchString; -00187 -00188 void connectBackbone(); -00189 void connectSearchBar(); -00190 void connectWordList(); -00191 void connectTranslationWidget(); -00192 void connectDictManager(); -00193 void connectMenu(); -00194 }; -00195 -00196 #endif // MAINWINDOW_H +00179 +00180 protected: +00184 void closeEvent(QCloseEvent *); +00185 +00186 +00187 private: +00188 Backbone* backbone; +00189 Ui::MainWindow *ui; +00190 +00191 void initializeUI(); +00192 +00193 +00194 SearchBarWidget* searchBarWidget; +00195 QWidget* translationWidget; +00196 QWidget* wordListWidget; +00197 MenuWidget* menuWidget; +00198 DictManagerWidget* dictManagerWidget; +00199 SettingsWidget* settingsWidget; +00200 BookmarksWidget* bookmarksWidget; +00201 QWidget* welcomeScreenWidget; +00202 AboutWidget* aboutWidget; +00203 +00204 #ifndef Q_WS_MAEMO_5 +00205 QSplitter* splitter; +00206 QAction* dictionariesAction; +00207 QAction* bookmarksShowAllAction; +00208 QAction* bookmarksRemoveAllAction; +00209 QAction* settingsAction; +00210 QAction* aboutAction; +00211 #endif +00212 +00213 bool _exactSearch; +00214 QString searchString; +00215 +00216 +00217 void connectBackbone(); +00218 void connectSearchBar(); +00219 void connectWordList(); +00220 void connectTranslationWidget(); +00221 void connectDictManager(); +00222 void connectMenu(); +00223 void connectBookmarksWidget(); +00224 }; +00225 +00226 #endif // MAINWINDOW_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/MenuTabWidget_8h.html b/doc/html/MenuTabWidget_8h.html index c3b4d4d..443c37b 100644 --- a/doc/html/MenuTabWidget_8h.html +++ b/doc/html/MenuTabWidget_8h.html @@ -71,7 +71,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/MenuTabWidget_8h_source.html b/doc/html/MenuTabWidget_8h_source.html index 5a0cd15..d6ea9d9 100644 --- a/doc/html/MenuTabWidget_8h_source.html +++ b/doc/html/MenuTabWidget_8h_source.html @@ -90,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/MenuWidget_8h.html b/doc/html/MenuWidget_8h.html index 39a7ce1..c5f1b2c 100644 --- a/doc/html/MenuWidget_8h.html +++ b/doc/html/MenuWidget_8h.html @@ -72,7 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/MenuWidget_8h_source.html b/doc/html/MenuWidget_8h_source.html index 0e1dafa..a354641 100644 --- a/doc/html/MenuWidget_8h_source.html +++ b/doc/html/MenuWidget_8h_source.html @@ -77,12 +77,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00047 00052 void removeSubMenu(QString title); 00053 -00054 protected: -00055 MenuTabWidget* tabWidget; -00056 QWidget* createWidget(QWidget *parent); -00057 }; -00058 -00059 #endif // MENUWIDGET_H +00054 public Q_SLOTS: +00055 void hideMenu(); +00056 +00057 protected: +00058 MenuTabWidget* tabWidget; +00059 QWidget* createWidget(QWidget *parent); +00060 }; +00061 +00062 #endif // MENUWIDGET_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/SearchBarWidget_8h.html b/doc/html/SearchBarWidget_8h.html index 1903718..e80f092 100644 --- a/doc/html/SearchBarWidget_8h.html +++ b/doc/html/SearchBarWidget_8h.html @@ -74,7 +74,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/SearchBarWidget_8h_source.html b/doc/html/SearchBarWidget_8h_source.html index 9a61291..af463b6 100644 --- a/doc/html/SearchBarWidget_8h_source.html +++ b/doc/html/SearchBarWidget_8h_source.html @@ -104,33 +104,41 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00091 00094 void search(QString word); 00095 -00097 void updateHistoryButtons(bool prev, bool next, bool list); -00098 -00099 private Q_SLOTS: -00100 void clearSearchWordToolButtonClicked(); -00101 void searchPushButtonClicked(); -00102 +00097 +00102 void searchDelay(QString word); 00103 -00104 private: -00105 QLineEdit* searchWordLineEdit; -00106 QToolButton* clearSearchWordToolButton; -00107 QPushButton* searchPushButton; -00108 QToolButton* historyPrevToolButton; -00109 QToolButton* historyNextToolButton; -00110 QToolButton* historyShowToolButton; -00111 QHBoxLayout* horizontalLayout; -00112 QProgressBar* searchingProgressBar; -00113 -00114 QIcon generateIcon(QIcon oryginal, qreal rotation=0); -00115 -00116 QVBoxLayout* verticalLayout; -00117 -00118 bool _isSearching; -00119 -00120 void initializeUI(); -00121 }; -00122 -00123 #endif // SEARCHBARWIDGET_H +00105 void updateHistoryButtons(bool prev, bool next, bool list); +00106 +00107 private Q_SLOTS: +00108 void clearSearchWordToolButtonClicked(); +00109 void searchPushButtonClicked(); +00110 void delaySearchTimeout(); +00111 +00112 +00113 private: +00114 QLineEdit* searchWordLineEdit; +00115 QToolButton* clearSearchWordToolButton; +00116 QPushButton* searchPushButton; +00117 QToolButton* historyPrevToolButton; +00118 QToolButton* historyNextToolButton; +00119 QToolButton* historyShowToolButton; +00120 QToolButton* fullScreenToolButton; +00121 QHBoxLayout* horizontalLayout; +00122 QProgressBar* searchingProgressBar; +00123 +00124 QIcon generateIcon(QIcon oryginal, qreal rotation=0); +00125 +00126 QVBoxLayout* verticalLayout; +00127 +00128 bool _isSearching; +00129 +00130 QTimer delayTimer; +00131 QString delayString; +00132 +00133 void initializeUI(); +00134 }; +00135 +00136 #endif // SEARCHBARWIDGET_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/SettingsWidget_8h_source.html b/doc/html/SettingsWidget_8h_source.html new file mode 100644 index 0000000..0a943ae --- /dev/null +++ b/doc/html/SettingsWidget_8h_source.html @@ -0,0 +1,118 @@ + + + + + +mDictionary: SettingsWidget.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/TranslationWidgetAutoResizer_8h.html b/doc/html/TranslationWidgetAutoResizer_8h.html index 4d9ea01..e9e21d5 100644 --- a/doc/html/TranslationWidgetAutoResizer_8h.html +++ b/doc/html/TranslationWidgetAutoResizer_8h.html @@ -70,7 +70,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/TranslationWidgetAutoResizer_8h_source.html b/doc/html/TranslationWidgetAutoResizer_8h_source.html index 4281c5c..0ffc481 100644 --- a/doc/html/TranslationWidgetAutoResizer_8h_source.html +++ b/doc/html/TranslationWidgetAutoResizer_8h_source.html @@ -119,7 +119,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/TranslationWidget_8h.html b/doc/html/TranslationWidget_8h.html index 35b55ac..f254beb 100644 --- a/doc/html/TranslationWidget_8h.html +++ b/doc/html/TranslationWidget_8h.html @@ -75,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/TranslationWidget_8h_source.html b/doc/html/TranslationWidget_8h_source.html index 28a7698..f699283 100644 --- a/doc/html/TranslationWidget_8h_source.html +++ b/doc/html/TranslationWidget_8h_source.html @@ -89,15 +89,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00055 QTextEdit *textEdit; 00056 QToolButton* zoomInToolButton; 00057 QToolButton* zoomOutToolButton; -00058 QVBoxLayout *verticalLayout; -00059 QHBoxLayout* horizontalLayout; -00060 TranslationWidgetAutoResizer* resizer; -00061 -00062 void initializeUI(); -00063 -00064 }; +00058 #ifdef Q_WS_MAEMO_5 +00059 QToolButton* fullScreenButton; +00060 QToolButton* backButton; +00061 #endif +00062 QVBoxLayout *verticalLayout; +00063 QHBoxLayout* horizontalLayout; +00064 TranslationWidgetAutoResizer* resizer; 00065 -00066 #endif // TRANSLATIONWIDGET_H +00066 void initializeUI(); +00067 +00068 }; +00069 +00070 #endif // TRANSLATIONWIDGET_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/TranslationXdxf_8h_source.html b/doc/html/TranslationXdxf_8h_source.html index 7fed943..8d1ae4d 100644 --- a/doc/html/TranslationXdxf_8h_source.html +++ b/doc/html/TranslationXdxf_8h_source.html @@ -68,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00026 #include "../../../includes/translation.h" 00027 #include "xdxfplugin.h" 00028 -00029 class TranslationXdxf : public Translation +00029 class TranslationXdxf : public Translation 00030 { 00031 public: 00032 TranslationXdxf(); @@ -109,7 +109,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/WelcomeScreenWidget_8h_source.html b/doc/html/WelcomeScreenWidget_8h_source.html new file mode 100644 index 0000000..70f180c --- /dev/null +++ b/doc/html/WelcomeScreenWidget_8h_source.html @@ -0,0 +1,104 @@ + + + + + +mDictionary: WelcomeScreenWidget.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/WordListProxyStyle_8h_source.html b/doc/html/WordListProxyStyle_8h_source.html new file mode 100644 index 0000000..f7a59d0 --- /dev/null +++ b/doc/html/WordListProxyStyle_8h_source.html @@ -0,0 +1,106 @@ + + + + + +mDictionary: WordListProxyStyle.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/WordListWidget_8h_source.html b/doc/html/WordListWidget_8h_source.html index 0c98448..65ef87d 100644 --- a/doc/html/WordListWidget_8h_source.html +++ b/doc/html/WordListWidget_8h_source.html @@ -71,39 +71,47 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00032 #include "SearchBarWidget.h" 00033 00035 -00038 class WordListWidget : public QListView { +00038 class WordListWidget : public QTreeView { 00039 Q_OBJECT 00040 public: 00041 explicit WordListWidget(QWidget *parent = 0); 00042 -00043 Q_SIGNALS: -00046 void showTranslation(QList<Translation*>); -00047 +00043 +00044 Q_SIGNALS: +00047 void showTranslation(QList<Translation*>); 00048 -00049 public Q_SLOTS: -00051 -00054 void showSearchResults(QHash<QString, QList<Translation*> >); +00049 +00051 void addBookmark(QList<Translation*>); +00052 +00054 void removeBookmark(QList<Translation*>); 00055 -00057 void lockList(); -00058 -00060 void unlockList(); -00061 -00062 -00063 private Q_SLOTS: -00064 void itemClicked(QModelIndex index); -00065 -00066 private: -00067 //Backbone *backbone; -00068 //words are keeping as QStringListModel which allow to sort them -00069 QStringListModel *wordListModel; -00070 void addWord(QString word); -00071 //clears all list of words -00072 void clear(); -00073 QHash<QString, QList<Translation*> > searchResult; -00074 //QString _exactMatchString; -00075 }; -00076 -00077 #endif // WORDLISTWIDGET_H +00056 +00057 public Q_SLOTS: +00059 +00062 void showSearchResults(QHash<QString, QList<Translation*> >); +00063 +00065 void lockList(); +00066 +00068 void unlockList(); +00069 +00070 protected: +00071 void mouseReleaseEvent(QMouseEvent *event); +00072 void resizeEvent(QResizeEvent *event); +00073 +00074 private Q_SLOTS: +00075 void wordClicked(QModelIndex index); +00076 void wordChecked(QModelIndex index); +00077 +00078 private: +00079 void addWord(QString word, int row); +00080 QStandardItemModel* model; +00081 int checkBoxWidth; +00082 void resizeColumns(); +00083 +00084 QHash<QString, QList<Translation*> > searchResult; +00085 }; +00086 +00087 #endif // WORDLISTWIDGET_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/XdxfCachingDialog_8h_source.html b/doc/html/XdxfCachingDialog_8h_source.html new file mode 100644 index 0000000..09bbe10 --- /dev/null +++ b/doc/html/XdxfCachingDialog_8h_source.html @@ -0,0 +1,120 @@ + + + + + +mDictionary: XdxfCachingDialog.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/XdxfDictDialog_8h_source.html b/doc/html/XdxfDictDialog_8h_source.html index 115f83e..115c8f8 100644 --- a/doc/html/XdxfDictDialog_8h_source.html +++ b/doc/html/XdxfDictDialog_8h_source.html @@ -77,7 +77,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00036 public: 00037 explicit XdxfDictDialog(XdxfPlugin* plugin, QObject *parent = 0); 00038 -00043 Settings* addNewDictionary(QWidget *parent); +00043 Settings* addNewDictionary(QWidget *parent); 00044 00049 void changeSettings(QWidget *parent); 00050 @@ -101,7 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/XdxfLoadDialog_8h_source.html b/doc/html/XdxfLoadDialog_8h_source.html index c2c182f..f631d04 100644 --- a/doc/html/XdxfLoadDialog_8h_source.html +++ b/doc/html/XdxfLoadDialog_8h_source.html @@ -75,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00034 public: 00035 explicit XdxfLoadDialog(QWidget *parent = 0); 00036 -00041 static Settings* getSettings(QWidget *parent); +00041 static Settings* getSettings(QWidget *parent); 00042 00044 QString dicitonaryFilePath(); 00045 @@ -118,7 +118,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/XdxfSettingsDialog_8h_source.html b/doc/html/XdxfSettingsDialog_8h_source.html index e92b0eb..d6655c4 100644 --- a/doc/html/XdxfSettingsDialog_8h_source.html +++ b/doc/html/XdxfSettingsDialog_8h_source.html @@ -77,30 +77,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00035 public: 00036 explicit XdxfSettingsDialog(XdxfPlugin* plugin, QWidget *parent = 0); 00037 -00038 static Settings* getSettings(XdxfPlugin* plugin, QWidget *parent); +00038 static Settings* getSettings(XdxfPlugin* plugin, QWidget *parent); 00039 00041 QString dicitonaryFilePath(); 00042 -00044 // bool generateCache(); +00044 bool generateCache(); 00045 00046 private Q_SLOTS: 00047 void selectFile(); -00048 -00049 private: -00050 QLabel* infoLabel; -00051 QPushButton* saveButton; -00052 QPushButton* browseButton; -00053 QLabel* browseLabel; -00054 QPushButton* cacheButton; -00055 QVBoxLayout* verticalLayout; -00056 QHBoxLayout* browseLayout; -00057 QHBoxLayout* cacheLayout; -00058 QString _dicitonaryFilePath; -00059 bool _generateCache; -00060 XdxfPlugin* plugin; -00061 }; -00062 -00063 #endif // XDXFSETTINGSDIALOG_H +00048 void setGenerateCache(bool); +00049 +00050 private: +00051 QLabel* infoLabel; +00052 QPushButton* saveButton; +00053 QPushButton* browseButton; +00054 QLabel* browseLabel; +00055 QCheckBox* cacheCheckBox; +00056 QVBoxLayout* verticalLayout; +00057 QHBoxLayout* browseLayout; +00058 QHBoxLayout* cacheLayout; +00059 QString _dicitonaryFilePath; +00060 bool _generateCache; +00061 XdxfPlugin* plugin; +00062 }; +00063 +00064 #endif // XDXFSETTINGSDIALOG_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 65d8435..9053c20 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -45,7 +45,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Class List

Here are the classes, structs, unions and interfaces with brief descriptions:
- + + + + + @@ -54,15 +58,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + - - + + + + + + + + @@ -84,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/backbone_8h_source.html b/doc/html/backbone_8h_source.html index e465a44..c7f9974 100644 --- a/doc/html/backbone_8h_source.html +++ b/doc/html/backbone_8h_source.html @@ -61,123 +61,192 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); 00019 00020 *******************************************************************************/ 00021 -00022 // Created by Bartosz Szatkowski -00023 -00024 #ifndef BACKBONE_H -00025 #define BACKBONE_H -00026 -00027 #include <QObject> -00028 #include <QList> -00029 #include <QHash> -00030 #include <QPluginLoader> -00031 #include <QFuture> -00032 #include <QtConcurrentRun> -00033 #include <QTimer> -00034 #include <QTime> -00035 #include <QDir> -00036 #include <QSettings> -00037 #include "../../includes/CommonDictInterface.h" -00038 #include "../../includes/settings.h" -00039 #include "../../includes/translation.h" -00040 #include "../../includes/History.h" -00041 -00042 -00053 class Backbone : public QObject -00054 { -00055 Q_OBJECT -00056 -00057 public: -00060 Backbone(QString pluginPath="", QString configPath="", -00061 bool dry = 0, QObject *parent = 0); -00062 ~Backbone(); -00063 Backbone(const Backbone& b); -00064 -00066 QHash<CommonDictInterface*, bool> getDictionaries(); -00067 -00069 QList<CommonDictInterface*> getPlugins(); -00070 -00072 History* history(); -00073 -00075 QMultiHash<QString, Translation*> result(); -00076 -00078 int searchLimit() const; -00079 -00081 int activeSearches() const; +00029 #ifndef BACKBONE_H +00030 #define BACKBONE_H +00031 +00032 #include <QObject> +00033 #include <QList> +00034 #include <QHash> +00035 #include <QPluginLoader> +00036 #include <QFuture> +00037 #include <QtConcurrentRun> +00038 #include <QtConcurrentMap> +00039 #include <QFutureIterator> +00040 #include <QTimer> +00041 #include <QTime> +00042 #include <QDir> +00043 #include <QThread> +00044 #include <QSettings> +00045 #include <QFutureWatcher> +00046 #include "../../includes/CommonDictInterface.h" +00047 #include "../../includes/settings.h" +00048 #include "../../includes/translation.h" +00049 #include "../../includes/History.h" +00050 #include "Bookmarks.h" +00051 +00052 +00079 class Backbone : public QObject +00080 { +00081 Q_OBJECT 00082 -00083 -00084 -00086 QStringList htmls(); -00087 -00088 -00089 public Q_SLOTS: -00091 void stopSearching(); -00092 -00096 void search(QString word); -00097 -00101 void selectedDictionaries(QList<CommonDictInterface* >); +00083 public: +00086 Backbone(QString pluginPath="", QString configPath="", +00087 bool dry = 0, QObject *parent = 0); +00088 ~Backbone(); +00089 Backbone(const Backbone& b); +00090 +00092 QHash<CommonDictInterface*, bool> getDictionaries(); +00093 +00095 QList<CommonDictInterface*> getPlugins(); +00096 +00098 History* history(); +00099 +00101 QMultiHash<QString, Translation*> result(); 00102 -00107 void addDictionary(CommonDictInterface* dict, bool active = 1); +00104 int searchLimit() const; +00105 +00107 QStringList htmls(); 00108 00109 -00111 void quit(); -00112 +00110 public Q_SLOTS: +00112 void stopSearching(); 00113 -00117 void translationReady(); +00117 void search(QString word); 00118 -00122 void htmlTranslationReady(); +00122 void selectedDictionaries(QList<CommonDictInterface* >); 00123 -00127 void removeDictionary(CommonDictInterface* dict); -00128 -00130 void dictUpdated(); -00131 -00135 void searchHtml(QList<Translation*>); -00136 -00137 // TODO addToBookmark(Translation*); -00138 // TODO removeFromBookmark(Translation*); +00128 void addDictionary(CommonDictInterface* dict, bool active = 1); +00129 +00130 +00132 void quit(); +00133 +00134 +00138 void translationReady(); 00139 -00140 Q_SIGNALS: -00143 void closeOk(); +00143 void htmlTranslationReady(); 00144 -00146 void ready(); -00147 -00149 void htmlReady(); -00150 -00151 +00148 void removeDictionary(CommonDictInterface* dict); +00149 +00151 void dictUpdated(); 00152 -00153 private: -00154 QHash<CommonDictInterface*, bool> _dicts; -00155 QList<CommonDictInterface*> _plugins; -00156 QList<QFuture<QList<Translation*> > > _innerResult; -00157 QList<QFuture<QString> > _innerHtmlResult; -00158 QMultiHash<QString, Translation*> _result; -00159 QStringList _htmlResult; -00160 QTimer _timerSearch, _timerHtmlSearch; -00161 QTime _time; -00162 QString _pluginPath, _defaultPluginPath; -00163 QString _configPath; -00164 QString _defaultConfigPath; -00165 int _searchLimit, _defaultSearchLimit; -00166 int _activeSearchNum; -00167 int _interval; //Search fetching timer.timeout interval in msec -00168 int _historyLen, _defaultHistoryLen; -00169 bool dryRun; -00170 -00171 void init(); -00172 QStringList getFilesFromDir(QString dir, QStringList nameFilter); -00173 void loadPlugins(); //< locate and load plugins -00174 void loadPrefs(QString fileName); -00175 void loadDicts(QString fileName, bool _default=false); -00176 void saveState(QSettings*, Settings*, bool, uint); -00177 void addInternalDictionary(CommonDictInterface*, bool); -00178 void savePrefs(QSettings*); -00179 void saveDefaultPrefs(QSettings*); -00180 CommonDictInterface* plugin(QString type); //< search for given type plugin -00181 -00182 History* _history; -00183 -00184 }; +00156 void searchHtml(QList<Translation*>); +00157 +00158 +00163 void addBookmark(QList<Translation*> translations) { +00164 foreach(Translation* translation, translations) +00165 //_bookmarks.add(translation); +00166 QtConcurrent::run(_bookmarks, &Bookmarks::add, translation); +00167 } +00168 +00169 +00173 void removeBookmark(QList<Translation*> translations) { +00174 foreach(Translation* translation, translations) +00175 _bookmarks.remove(translation); +00176 } +00177 +00178 +00179 +00182 void removeAllBookmark(){ +00183 _bookmarks.clear(); +00184 } 00185 -00186 #endif // BACKBONE_H +00186 +00191 void fetchBookmarks() { +00192 _result.clear(); +00193 +00194 stopped = false; +00195 dictFin = 1; +00196 bookmarkFin = 0; +00197 +00198 if(_searchBookmarks) { +00199 _innerBookmarks = QtConcurrent::run(_bookmarks, +00200 &Bookmarks::searchWordList, QString("*")); +00201 _bookmarkSearchWatcher.setFuture(_innerBookmarks); +00202 } +00203 } +00204 +00205 +00206 +00211 void setSettings(Settings* settings); +00212 +00213 +00217 Settings* settings(); +00218 +00219 +00220 +00221 +00222 Q_SIGNALS: +00225 void closeOk(); +00226 +00228 void ready(); +00229 +00231 void htmlReady(); +00232 +00234 void searchCanceled(); +00235 +00237 void bookmarksReady(); +00238 +00239 private Q_SLOTS: +00240 void bookmarksListReady(); +00241 +00242 +00243 private: +00244 QHash<CommonDictInterface*, bool> _dicts; // List of dictionaries +00245 QList<CommonDictInterface*> _plugins; // List of plugins +00246 +00247 +00248 QFuture<QList<Translation*> > _innerResult; //Res of concurent word search +00249 QFuture<QString> _innerHtmlResult; // Result of html search +00250 QFuture<QList<Translation*> > _innerBookmarks; //Res of search in bookmarks +00251 QFuture<QList<Translation*> > _innerListBookmarks; //Res of search in bookmarks +00252 QFuture<QStringList> _innerHtmlBookmarks; //Html result of bookmarks search +00253 +00254 QMultiHash<QString, Translation*> _result; //Final result of word search +00255 QStringList _htmlResult; // Final result of html search +00256 QList<Translation*> _bookmarksResult; // Final result of search in bookmarks +00257 +00258 +00259 // Keeps track of concurent computations +00260 QFutureWatcher<QList<Translation*> > _resultWatcher; +00261 QFutureWatcher<QList<Translation*> > _bookmarkWatcher; +00262 QFutureWatcher<QList<Translation*> > _bookmarkSearchWatcher; +00263 QFutureWatcher<QString> _htmlResultWatcher; +00264 +00265 +00266 QString _pluginPath, _defaultPluginPath; +00267 QString _configPath; +00268 QString _defaultConfigPath; +00269 int _searchLimit, _defaultSearchLimit; +00270 int _historyLen, _defaultHistoryLen; +00271 +00272 bool dryRun; // mainly for testing - when true then dosent bother configs etc +00273 bool stopped; // true when user stops searching/fetching +00274 bool bookmarkFin, dictFin; // inform whether givent search type is ready +00275 bool _searchDicts, _searchBookmarks; // whether perform search in given source +00276 +00277 Bookmarks _bookmarks; +00278 +00279 +00280 void init(); +00281 +00282 QStringList getFilesFromDir(QString dir, QStringList nameFilter); +00283 void loadPlugins(); //< locate and load plugins +00284 void loadPrefs(QString fileName); +00285 void loadDicts(QString fileName, bool _default=false); +00286 +00287 void saveState(QSettings*, Settings*, bool, uint); +00288 void addInternalDictionary(CommonDictInterface*, bool); +00289 void savePrefs(QSettings*); +00290 void saveDefaultPrefs(QSettings*); +00291 +00292 CommonDictInterface* plugin(QString type); // search for given type plugin +00293 QList<CommonDictInterface*> activeDicts(); +00294 +00295 History* _history; +00296 +00297 }; +00298 +00299 #endif // BACKBONE_H
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/build-desktop_2ui__MainWindow_8h_source.html b/doc/html/build-desktop_2ui__MainWindow_8h_source.html new file mode 100644 index 0000000..b95e99e --- /dev/null +++ b/doc/html/build-desktop_2ui__MainWindow_8h_source.html @@ -0,0 +1,147 @@ + + + + + +mDictionary: ui_MainWindow.h Source File + + + + + + + + + + + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classAboutWidget-members.html b/doc/html/classAboutWidget-members.html new file mode 100644 index 0000000..e354bc9 --- /dev/null +++ b/doc/html/classAboutWidget-members.html @@ -0,0 +1,68 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
+

AboutWidget Member List

This is the complete list of members for AboutWidget, including all inherited members.
BackboneInner part of dictionary - glues together GUI and plugins
AboutWidget
Backbone/file backbone.cpp
BookmarksBookmarks are way to store words that You think You will need to search for often
BookmarksWidget
BookmarkTranslation/file BookmarkTranslation.h
CommonDictInterfaceInterface for dict engines plugins
DictDialogInterface for plugin dialog provider
DictManagerWidgetImplements dictionaries management widget
History
HistoryListDialogImplements history list dialog
MainWindowImplements interface for GUI
Ui::MainWindow
MenuTabWidgetMenu's main widget, which will hold all submenu's widgets
MenuWidgetDisplays custom menu with tab widget containing all submenus
SearchBarWidgetDisplays search bar
SettingsPlugin specific configuration
TranslationKeeping raw form of translation to be parsed only when needed
SettingsPlugins or dictionaries may need to keep some of configuration between sessions, moreover Backbone or GUI may want store some additional info in plugin Settings
SettingsWidget
Translation/file translation.h
TranslationPtr
TranslationWidgetDisplays translation of word found in dictionaries
TranslationWidgetAutoResizer
TranslationXdxf
Ui_MainWindow
WelcomeScreenWidget
WordListProxyStyle
WordListWidgetDisplays list of words found in dictionaries
XdxfCachingDialog
XdxfDictDialogImplementation of DictDialog interface for xdxf plugin
XdxfLoadDialogDisplays dialog which allow user to add new xdxf dictionary
XdxfPlugin
+ +
AboutWidget(GUIInterface *parent=0) (defined in AboutWidget)AboutWidget
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classAboutWidget.html b/doc/html/classAboutWidget.html new file mode 100644 index 0000000..54cec09 --- /dev/null +++ b/doc/html/classAboutWidget.html @@ -0,0 +1,77 @@ + + + + + +mDictionary: AboutWidget Class Reference + + + + + + + + + +
+

AboutWidget Class Reference

+

List of all members.

+ + + +

Public Member Functions

AboutWidget (GUIInterface *parent=0)
+
The documentation for this class was generated from the following files: +
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classBackbone-members.html b/doc/html/classBackbone-members.html index 698e5b4..565cf8a 100644 --- a/doc/html/classBackbone-members.html +++ b/doc/html/classBackbone-members.html @@ -45,12 +45,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Backbone Member List

This is the complete list of members for Backbone, including all inherited members. - + + + @@ -59,12 +61,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + @@ -83,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classBackbone.html b/doc/html/classBackbone.html index 2abc23f..fc85f9a 100644 --- a/doc/html/classBackbone.html +++ b/doc/html/classBackbone.html @@ -45,7 +45,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

Backbone Class Reference

-

Inner part of dictionary - glues together GUI and plugins. +

/file backbone.cpp More...

#include <backbone.h>

@@ -55,7 +55,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
- + @@ -77,6 +77,18 @@ void  + + + + + + + + + + + @@ -87,6 +99,12 @@ void  + + + + -
activeSearches() const Backbone
addBookmark(QList< Translation * > translations)Backbone [inline, slot]
addDictionary(CommonDictInterface *dict, bool active=1)Backbone [slot]
Backbone(QString pluginPath="", QString configPath="", bool dry=0, QObject *parent=0)Backbone
Backbone(const Backbone &b) (defined in Backbone)Backbone
bookmarksReady()Backbone [signal]
closeOk()Backbone [signal]
dictUpdated()Backbone [slot]
fetchBookmarks()Backbone [inline, slot]
getDictionaries()Backbone
getPlugins()Backbone
history()Backbone
htmlTranslationReady()Backbone [slot]
quit()Backbone [slot]
ready()Backbone [signal]
removeAllBookmark()Backbone [inline, slot]
removeBookmark(QList< Translation * > translations)Backbone [inline, slot]
removeDictionary(CommonDictInterface *dict)Backbone [slot]
result()Backbone
search(QString word)Backbone [slot]
searchCanceled()Backbone [signal]
searchHtml(QList< Translation * >)Backbone [slot]
searchLimit() const Backbone
selectedDictionaries(QList< CommonDictInterface * >)Backbone [slot]
setSettings(Settings *settings)Backbone [slot]
settings()Backbone [slot]
stopSearching()Backbone [slot]
translationReady()Backbone [slot]
~Backbone() (defined in Backbone)Backbone

Public Slots

void stopSearching ()
 stops all current searches
 stops all current searches and emiting searchCanceled signal
void search (QString word)
 search for a word translation
void selectedDictionaries (QList< CommonDictInterface * >)
 saves plugins new state/configuration after each change
void searchHtml (QList< Translation * >)
 Performs search for final translation (html/xml) form.
void addBookmark (QList< Translation * > translations)
 add bookmarks to given translations (translation object is fetched and added to bookmarks data base (key and translation stored in db)
void removeBookmark (QList< Translation * > translations)
 Remove bookmarks to given translatios.
+void removeAllBookmark ()
 Remove all bookmarks.
void fetchBookmarks ()
 Searching for list of bookmarks may take some time, so i moved it to new thread (to avoid gui blocking), futher its consistent with ordinary searching for list of word (.
void setSettings (Settings *settings)
 Sets settings for backbone: history_size, search_limit, searching backends (search_bookmarks, search_dictionaries).
Settingssettings ()

Signals

void closeOk ()
void htmlReady ()
 emitted when html result is ready to fetch
+void searchCanceled ()
 throwed when searches are stopped
+void bookmarksReady ()
 emmited when bookmark list is ready to fetch

Public Member Functions

 Backbone (QString pluginPath="", QString configPath="", bool dry=0, QObject *parent=0)
@@ -98,13 +116,23 @@ void QMultiHash< QString,
Translation * > 
result ()
int searchLimit () const
int activeSearches () const
QStringList htmls ()

Detailed Description

-

Inner part of dictionary - glues together GUI and plugins.

-

Backbone is responsible for managing plugins and dictionaries, starting new searches and threads, merging search results from multiple dictionaries.

-

Each plugin may live in multiple instances - each with its own dictionary, backbone must provide way to create them at start (with specific Settings) and distinguich each ditionary.

+

/file backbone.cpp

+

Backbone/core main header

+
See also:
Backbone
+
Author:
Bartosz Szatkowski <bulislaw@linux.com>
+

Inner part of dictionary - glues together GUI and plugins, also kind of GoF facade (for GUI) cover few classes

+
See also:
Bookmarks
+
+History
+

Backbone is responsible for managing plugins and dictionaries, starting new searches and threads, merging search results from multiple dictionaries.

+

Each plugin may live in multiple instances - each with its own dictionary, backbone must provide way to create them at start (with specific Settings) and distinguich each ditionary.

+

Backbone also manage bookmarks and history: providing interface to gui

+

Backbone is also responsible for saving and spawning session via configs file (stored in ~/.mdictionary) -> configs are kind of tricky because mDictionary is delivered with two simple dicts -> its necessary to separate default configs from user configs (updating/reinstaling app results in overwriten default config file), moreover config file there is general mdictionary configuration (aparto from dictionaries and plugin ones).

+

Other modules may set some internal backbone behaviour via

+
See also:
setSettings(): Settings object with option given: history_size - int, size of stored searches search_limit - int, how many different word may each dictionary returns search_dictionaries - true/false, whether search in dictionaries search_bookmarks - true/false, whether search in bookmarks

Constructor & Destructor Documentation

@@ -153,21 +181,29 @@ void  +
- + - + + - +
int Backbone::activeSearches void Backbone::addBookmark (QList< Translation * >  translations  )  const [inline, slot]
-
Returns:
number of active searches
+ +

add bookmarks to given translations (translation object is fetched and added to bookmarks data base (key and translation stored in db)

+
Parameters:
+ + +
translation translation object to be stored in db
+
+
@@ -207,6 +243,26 @@ void  +
+
+ + + + + + + + +
void Backbone::fetchBookmarks ( )  [inline, slot]
+
+
+ +

Searching for list of bookmarks may take some time, so i moved it to new thread (to avoid gui blocking), futher its consistent with ordinary searching for list of word (.

+
See also:
search)
+ +
+
@@ -299,6 +355,32 @@ void  +
+
+ + + + + + + + + +
void Backbone::removeBookmark (QList< Translation * >  translations )  [inline, slot]
+
+
+ +

Remove bookmarks to given translatios.

+
Parameters:
+ + +
translation remove bookmark to this translation
+
+
+ +
+
@@ -439,9 +521,55 @@ void  +
+
+ + + + + + + + + +
void Backbone::setSettings (Settings settings )  [slot]
+
+
+ +

Sets settings for backbone: history_size, search_limit, searching backends (search_bookmarks, search_dictionaries).

+
Parameters:
+ + +
settings settings object with opitons set
+
+
+ +
+
+ +
+
+ + + + + + + + +
Settings * Backbone::settings ( )  [slot]
+
+
+
Returns:
coresponding settings object with history_size, search_limit, searching backends (search_bookmarks, search_dictionaries)
+ +
+

The documentation for this class was generated from the following files:
  • backbone.h
  • backbone.cpp
  • +
  • moc_backbone.cpp
  • +
  • build-desktop/moc_backbone.cpp
@@ -458,7 +586,7 @@ void 
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classBookmarkTranslation-members.html b/doc/html/classBookmarkTranslation-members.html new file mode 100644 index 0000000..d002b16 --- /dev/null +++ b/doc/html/classBookmarkTranslation-members.html @@ -0,0 +1,78 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
+

BookmarkTranslation Member List

This is the complete list of members for BookmarkTranslation, including all inherited members. + + + + + + + + + + + +
_bookmark (defined in Translation)Translation [protected]
BookmarkTranslation(QString key, Bookmarks *bookmarks, QString dbName) (defined in BookmarkTranslation)BookmarkTranslation [inline]
dictionaryInfo() const BookmarkTranslation [inline, virtual]
isBookmark() const Translation [inline]
key() const BookmarkTranslation [inline, virtual]
operator==(Translation *translation) (defined in Translation)Translation [inline]
setBookmark(bool b)Translation [inline]
setDictionaryInfo(QString dictionaryInfo)BookmarkTranslation [inline]
setKey(QString key)BookmarkTranslation [inline]
toHtml() const BookmarkTranslation [inline, virtual]
Translation() (defined in Translation)Translation [inline]
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classBookmarkTranslation.html b/doc/html/classBookmarkTranslation.html new file mode 100644 index 0000000..9b2bbae --- /dev/null +++ b/doc/html/classBookmarkTranslation.html @@ -0,0 +1,190 @@ + + + + + +mDictionary: BookmarkTranslation Class Reference + + + + + + + + + +
+

BookmarkTranslation Class Reference

+

/file BookmarkTranslation.h +More...

+ +

#include <BookmarkTranslations.h>

+
+Inheritance diagram for BookmarkTranslation:
+
+
+ + +Translation + +
+
+ +

List of all members.

+ + + + + + + + + + +

Public Member Functions

BookmarkTranslation (QString key, Bookmarks *bookmarks, QString dbName)
QString key () const
QString dictionaryInfo () const
QString toHtml () const
void setKey (QString key)
 sets the word for which we want to find a translation
+void setDictionaryInfo (QString dictionaryInfo)
 sets information about dictionary
+

Detailed Description

+

/file BookmarkTranslation.h

+

Bookmarks functionality needs its own translation object - becouse Translation object should use slighty different api of Bookmarks objects

+
Author:
Bartosz Szatkowski <bulislaw@linux.com>
+

Member Function Documentation

+ +
+
+ + + + + + + + +
QString BookmarkTranslation::dictionaryInfo ( )  const [inline, virtual]
+
+
+
Returns:
dictionary information (plugin name, languages, <logo> etc)\ to be displayed in translation table header
+ +

Implements Translation.

+ +
+
+ +
+
+ + + + + + + + +
QString BookmarkTranslation::key ( )  const [inline, virtual]
+
+
+
Returns:
word to be translated
+ +

Implements Translation.

+ +
+
+ +
+
+ + + + + + + + + +
void BookmarkTranslation::setKey (QString  key )  [inline]
+
+
+ +

sets the word for which we want to find a translation

+
Parameters:
+ + +
word for which we want to find a translation
+
+
+ +
+
+ +
+
+ + + + + + + + +
QString BookmarkTranslation::toHtml ( )  const [inline, virtual]
+
+
+
Returns:
parsed raw format into html
+ +

Implements Translation.

+ +
+
+
The documentation for this class was generated from the following file: +
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classBookmarkTranslation.png b/doc/html/classBookmarkTranslation.png new file mode 100644 index 0000000..0bb0bf5 Binary files /dev/null and b/doc/html/classBookmarkTranslation.png differ diff --git a/doc/html/classBookmarks-members.html b/doc/html/classBookmarks-members.html new file mode 100644 index 0000000..6584e06 --- /dev/null +++ b/doc/html/classBookmarks-members.html @@ -0,0 +1,75 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
+

Bookmarks Member List

This is the complete list of members for Bookmarks, including all inherited members. + + + + + + + + +
add(Translation *translation)Bookmarks
Bookmarks() (defined in Bookmarks)Bookmarks
clear()Bookmarks
inBookmarks(QString word)Bookmarks
list()Bookmarks
remove(Translation *translation)Bookmarks
search(QString word, QString dbname)Bookmarks
searchWordList(QString word)Bookmarks
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classBookmarks.html b/doc/html/classBookmarks.html new file mode 100644 index 0000000..e91d36c --- /dev/null +++ b/doc/html/classBookmarks.html @@ -0,0 +1,255 @@ + + + + + +mDictionary: Bookmarks Class Reference + + + + + + + + + +
+

Bookmarks Class Reference

+

Bookmarks are way to store words that You think You will need to search for often. +More...

+ +

#include <Bookmarks.h>

+ +

List of all members.

+ + + + + + + + + + + + + + +

Public Member Functions

void add (Translation *translation)
 Adds new word and translation to bookmarks.
void remove (Translation *translation)
 Removes word and coresponding translation cache from bookmark list.
QList< Translation * > list ()
QList< Translation * > searchWordList (QString word)
 search in bookmarks for given word (wildcards may apply '*' and '?')
QStringList search (QString word, QString dbname)
 Search for final translation of given word.
+void clear ()
 clars bookmarks database
bool inBookmarks (QString word)
+

Detailed Description

+

Bookmarks are way to store words that You think You will need to search for often.

+

When You add bookmark (by clickin on "star" in words list) You adds it to special list with cached translations from all available dictionaries so You can search for them quickly even when You delete coresponding dict.

+

Member Function Documentation

+ +
+
+ + + + + + + + + +
void Bookmarks::add (Translation translation ) 
+
+
+ +

Adds new word and translation to bookmarks.

+
Parameters:
+ + +
translation new translation to be saved and cached as a bookmark
+
+
+ +
+
+ +
+
+ + + + + + + + + +
bool Bookmarks::inBookmarks (QString  word ) 
+
+
+
Returns:
true if given word is already in bookmarks
+
Parameters:
+ + +
word to check
+
+
+ +
+
+ +
+
+ + + + + + + + +
QList< Translation * > Bookmarks::list ( ) 
+
+
+
Returns:
all bookmarks (word and translation as a translation object as a list
+ +
+
+ +
+
+ + + + + + + + + +
void Bookmarks::remove (Translation translation ) 
+
+
+ +

Removes word and coresponding translation cache from bookmark list.

+
Parameters:
+ + +
translation translation to be removed
+
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
QStringList Bookmarks::search (QString  word,
QString  dbname 
)
+
+
+ +

Search for final translation of given word.

+
Returns:
word translation list in text format xml or html to be formated and displayed
+
Parameters:
+ + +
word word to search for
+
+
+ +
+
+ +
+
+ + + + + + + + + +
QList< Translation * > Bookmarks::searchWordList (QString  word ) 
+
+
+ +

search in bookmarks for given word (wildcards may apply '*' and '?')

+
Parameters:
+ + +
word to search for
+
+
+
Returns:
list of matching Translation objects
+ +
+
+
The documentation for this class was generated from the following files: +
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classBookmarksWidget-members.html b/doc/html/classBookmarksWidget-members.html new file mode 100644 index 0000000..32afef1 --- /dev/null +++ b/doc/html/classBookmarksWidget-members.html @@ -0,0 +1,70 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
+

BookmarksWidget Member List

This is the complete list of members for BookmarksWidget, including all inherited members. + + + +
BookmarksWidget(GUIInterface *parent=0) (defined in BookmarksWidget)BookmarksWidget [explicit]
removeAllBookmarks() (defined in BookmarksWidget)BookmarksWidget [signal]
showAllBookmarks() (defined in BookmarksWidget)BookmarksWidget [signal]
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classBookmarksWidget.html b/doc/html/classBookmarksWidget.html new file mode 100644 index 0000000..dfd3d07 --- /dev/null +++ b/doc/html/classBookmarksWidget.html @@ -0,0 +1,83 @@ + + + + + +mDictionary: BookmarksWidget Class Reference + + + + + + + + + +
+

BookmarksWidget Class Reference

+

List of all members.

+ + + + + + +

Signals

+void showAllBookmarks ()
+void removeAllBookmarks ()

Public Member Functions

BookmarksWidget (GUIInterface *parent=0)
+
The documentation for this class was generated from the following files: +
+ + + + +
+ +
+ +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
+ + diff --git a/doc/html/classCommonDictInterface-members.html b/doc/html/classCommonDictInterface-members.html index 024fdf3..ada353a 100644 --- a/doc/html/classCommonDictInterface-members.html +++ b/doc/html/classCommonDictInterface-members.html @@ -49,7 +49,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); dictDialog()=0CommonDictInterface [pure virtual] getNew(const Settings *) const =0CommonDictInterface [pure virtual] hash() const =0CommonDictInterface [pure virtual] - icon()=0CommonDictInterface [pure virtual] + icon()=0CommonDictInterface [pure virtual] infoNote() const =0CommonDictInterface [pure virtual] isAvailable() const =0CommonDictInterface [pure virtual] langFrom() const =0CommonDictInterface [pure virtual] @@ -78,7 +78,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classCommonDictInterface.html b/doc/html/classCommonDictInterface.html index 22c8d4d..f147776 100644 --- a/doc/html/classCommonDictInterface.html +++ b/doc/html/classCommonDictInterface.html @@ -112,8 +112,8 @@ virtual void  virtual Settingssettings ()=0  returns current plugin settings
- -virtual QIcon icon ()=0 + +virtual QIcon * icon ()=0  returns plugin icon

Detailed Description

@@ -181,7 +181,10 @@ virtual QIcon 
The documentation for this class was generated from the following files:
  • CommonDictInterface.h
  • -
  • moc_CommonDictInterface.cpp
  • +
  • base/moc_CommonDictInterface.cpp
  • +
  • base-build-desktop/moc_CommonDictInterface.cpp
  • +
  • plugins/xdxf/src/moc_CommonDictInterface.cpp
  • +
  • plugins/xdxf/tests/moc_CommonDictInterface.cpp
@@ -198,7 +201,7 @@ virtual QIcon 
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classDictDialog-members.html b/doc/html/classDictDialog-members.html index 80a320e..3d1b13d 100644 --- a/doc/html/classDictDialog-members.html +++ b/doc/html/classDictDialog-members.html @@ -63,7 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classDictDialog.html b/doc/html/classDictDialog.html index c95ff99..0d77c3f 100644 --- a/doc/html/classDictDialog.html +++ b/doc/html/classDictDialog.html @@ -147,7 +147,7 @@ Inheritance diagram for DictDialog:
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classDictManagerWidget-members.html b/doc/html/classDictManagerWidget-members.html index 6b9e3df..104c45f 100644 --- a/doc/html/classDictManagerWidget-members.html +++ b/doc/html/classDictManagerWidget-members.html @@ -66,7 +66,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classDictManagerWidget.html b/doc/html/classDictManagerWidget.html index 36c2419..a60e6c7 100644 --- a/doc/html/classDictManagerWidget.html +++ b/doc/html/classDictManagerWidget.html @@ -107,7 +107,7 @@ void hideEvent (QHideE void DictManagerWidget::addDictionary ( CommonDictInterface *  - + _t1  )  [signal] @@ -133,7 +133,7 @@ void hideEvent (QHideE void DictManagerWidget::removeDictionary ( CommonDictInterface *  - + _t1  )  [signal] @@ -159,7 +159,7 @@ void hideEvent (QHideE void DictManagerWidget::selectedDictionaries ( QList< CommonDictInterface * >  - + _t1  )  [signal] @@ -180,6 +180,7 @@ void hideEvent (QHideE
The documentation for this class was generated from the following files: @@ -196,7 +197,7 @@ void hideEvent (QHideE -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classDictTypeSelectDialog-members.html b/doc/html/classDictTypeSelectDialog-members.html index 0a3b794..c85be39 100644 --- a/doc/html/classDictTypeSelectDialog-members.html +++ b/doc/html/classDictTypeSelectDialog-members.html @@ -63,7 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classDictTypeSelectDialog.html b/doc/html/classDictTypeSelectDialog.html index ba9a7e8..e68d52f 100644 --- a/doc/html/classDictTypeSelectDialog.html +++ b/doc/html/classDictTypeSelectDialog.html @@ -123,7 +123,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classGUIInterface-members.html b/doc/html/classGUIInterface-members.html index 6c8b890..9a021a2 100644 --- a/doc/html/classGUIInterface-members.html +++ b/doc/html/classGUIInterface-members.html @@ -46,6 +46,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

GUIInterface Member List

This is the complete list of members for GUIInterface, including all inherited members. + @@ -62,6 +63,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + @@ -84,7 +87,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classGUIInterface.html b/doc/html/classGUIInterface.html index a0a2b8e..1edf7b8 100644 --- a/doc/html/classGUIInterface.html +++ b/doc/html/classGUIInterface.html @@ -100,6 +100,8 @@ void 
+ @@ -112,6 +114,10 @@ void  + +
addNewDictionary(CommonDictInterface *)GUIInterface [signal]
addToBookmarks(QList< Translation * >) (defined in GUIInterface)GUIInterface [signal]
addToHistory(QList< Translation * >)=0GUIInterface [pure virtual, slot]
exactSearch()GUIInterface
getDictionaries()=0GUIInterface [pure virtual]
setBusy()GUIInterface [signal]
setExactSearch(bool exactSearch)GUIInterface
setIdle()GUIInterface [signal]
setSettings(Settings *)=0 (defined in GUIInterface)GUIInterface [pure virtual]
settings()=0 (defined in GUIInterface)GUIInterface [pure virtual]
showHistory()=0GUIInterface [pure virtual, slot]
showTranslation(QStringList)GUIInterface [signal]
showWordList(QHash< QString, QList< Translation * > >)GUIInterface [signal]
 Emited when user wants to remove dictionary.
void selectedDictionaries (QList< CommonDictInterface * >)
 Emited when user changes dictionaries active/inactive states.
+void addToBookmarks (QList< Translation * >)

Public Member Functions

 GUIInterface (QWidget *parent=0)
 Indicates if GUI is in exact search mode.
void setExactSearch (bool exactSearch)
 Sets GUI exact search mode.
+virtual Settingssettings ()=0
+virtual void setSettings (Settings *)=0

Detailed Description

Interface for different GUIs.

@@ -255,7 +261,7 @@ void 

Shows translation of next word in history.

-

It will work only if there is available next word in history. Translation of word is searched with searchExact() function

+

It will work only if there is available next word in history. Translation of word is searched with searchExact() function

See also:
searchExact()

Implemented in MainWindow.

@@ -278,7 +284,7 @@ void 

Shows translation of previous word in history.

-

It will work only if there is available previous word in history. Translation of word is searched with searchExact() function

+

It will work only if there is available previous word in history. Translation of word is searched with searchExact() function

See also:
searchExact()

Implemented in MainWindow.

@@ -572,7 +578,7 @@ void 
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classHistory-members.html b/doc/html/classHistory-members.html index c25b27b..e1c4e71 100644 --- a/doc/html/classHistory-members.html +++ b/doc/html/classHistory-members.html @@ -73,7 +73,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classHistory.html b/doc/html/classHistory.html index 584dab8..1cf90db 100644 --- a/doc/html/classHistory.html +++ b/doc/html/classHistory.html @@ -80,6 +80,7 @@ void setMaxSize (int s
The documentation for this class was generated from the following files: @@ -96,7 +97,7 @@ void setMaxSize (int s -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classHistoryListDialog-members.html b/doc/html/classHistoryListDialog-members.html index 05973c5..83c920f 100644 --- a/doc/html/classHistoryListDialog-members.html +++ b/doc/html/classHistoryListDialog-members.html @@ -63,7 +63,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classHistoryListDialog.html b/doc/html/classHistoryListDialog.html index 3a68041..05126f8 100644 --- a/doc/html/classHistoryListDialog.html +++ b/doc/html/classHistoryListDialog.html @@ -121,7 +121,7 @@ int 
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classMainWindow-members.html b/doc/html/classMainWindow-members.html index 9f5d0eb..c55c42e 100644 --- a/doc/html/classMainWindow-members.html +++ b/doc/html/classMainWindow-members.html @@ -46,6 +46,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

MainWindow Member List

This is the complete list of members for MainWindow, including all inherited members. + @@ -64,6 +65,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + @@ -87,7 +90,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classMainWindow.html b/doc/html/classMainWindow.html index 4cd933a..91ac918 100644 --- a/doc/html/classMainWindow.html +++ b/doc/html/classMainWindow.html @@ -90,6 +90,10 @@ void 
+ + @@ -248,7 +252,7 @@ void  + + + + +
addNewDictionary(CommonDictInterface *)GUIInterface [signal]
addToBookmarks(QList< Translation * >) (defined in GUIInterface)GUIInterface [signal]
addToHistory(QList< Translation * >)MainWindow [virtual, slot]
closeEvent(QCloseEvent *)MainWindow [protected]
exactSearch()MainWindow
setBusy()GUIInterface [signal]
setExactSearch(bool)MainWindow
setIdle()GUIInterface [signal]
setSettings(Settings *) (defined in MainWindow)MainWindow [virtual]
settings() (defined in MainWindow)MainWindow [virtual]
showHistory()MainWindow [virtual, slot]
showTranslation(QStringList)GUIInterface [signal]
showWordList(QHash< QString, QList< Translation * > >)GUIInterface [signal]
 Indicates if GUI is in exact search mode.
void setExactSearch (bool)
 Sets GUI exact search mode.
+Settingssettings ()
+void setSettings (Settings *)

Protected Member Functions

void closeEvent (QCloseEvent *)

Shows translation of next word in history.

-

It will work only if there is available next word in history. Translation of word is searched with searchExact() function

+

It will work only if there is available next word in history. Translation of word is searched with searchExact() function

See also:
searchExact()

Implements GUIInterface.

@@ -271,7 +275,7 @@ void 

Shows translation of previous word in history.

-

It will work only if there is available previous word in history. Translation of word is searched with searchExact() function

+

It will work only if there is available previous word in history. Translation of word is searched with searchExact() function

See also:
searchExact()

Implements GUIInterface.

@@ -381,7 +385,7 @@ void 
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classMenuTabWidget-members.html b/doc/html/classMenuTabWidget-members.html index 01e2ef9..476593b 100644 --- a/doc/html/classMenuTabWidget-members.html +++ b/doc/html/classMenuTabWidget-members.html @@ -62,7 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classMenuTabWidget.html b/doc/html/classMenuTabWidget.html index 4ec7e6b..5213352 100644 --- a/doc/html/classMenuTabWidget.html +++ b/doc/html/classMenuTabWidget.html @@ -103,7 +103,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classMenuWidget-members.html b/doc/html/classMenuWidget-members.html index 12d632a..635f8a8 100644 --- a/doc/html/classMenuWidget-members.html +++ b/doc/html/classMenuWidget-members.html @@ -47,6 +47,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

MenuWidget Member List

This is the complete list of members for MenuWidget, including all inherited members. + @@ -66,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classMenuWidget.html b/doc/html/classMenuWidget.html index a976984..a988b87 100644 --- a/doc/html/classMenuWidget.html +++ b/doc/html/classMenuWidget.html @@ -52,6 +52,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

List of all members.

addSubMenu(QString title, QWidget *widget)MenuWidget
createWidget(QWidget *parent) (defined in MenuWidget)MenuWidget [protected]
hideMenu() (defined in MenuWidget)MenuWidget [slot]
MenuWidget(QWidget *parent=0) (defined in MenuWidget)MenuWidget [explicit]
removeSubMenu(QString title)MenuWidget
tabWidget (defined in MenuWidget)MenuWidget [protected]
+ + @@ -147,7 +150,7 @@ QWidget *  + @@ -73,7 +74,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classSearchBarWidget.html b/doc/html/classSearchBarWidget.html index 4288a0a..4ca46e8 100644 --- a/doc/html/classSearchBarWidget.html +++ b/doc/html/classSearchBarWidget.html @@ -61,6 +61,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+ + @@ -110,6 +112,27 @@ void  - + @@ -193,6 +216,8 @@ void 

Public Slots

+void hideMenu ()

Public Member Functions

 MenuWidget (QWidget *parent=0)
createWidget -
Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
diff --git a/doc/html/classSearchBarWidget-members.html b/doc/html/classSearchBarWidget-members.html index f0f3039..9f2aa19 100644 --- a/doc/html/classSearchBarWidget-members.html +++ b/doc/html/classSearchBarWidget-members.html @@ -51,6 +51,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
refreshHistoryButtons()SearchBarWidget [signal]
search(QString word)SearchBarWidget [slot]
SearchBarWidget(QWidget *parent=0) (defined in SearchBarWidget)SearchBarWidget [explicit]
searchDelay(QString word)SearchBarWidget [slot]
searchForTranslations(QString)SearchBarWidget [signal]
setBusy()SearchBarWidget [slot]
setEnabled(bool)SearchBarWidget [slot]
 Sets search bar in idle state.
void search (QString word)
 Search for given word.
void searchDelay (QString word)
 Start to search for given word after 500 ms.
void updateHistoryButtons (bool prev, bool next, bool list)
 Updates state of history buttons.
+
+
+ + + + + + + + + +
void SearchBarWidget::searchDelay (QString  word )  [slot]
+
+
+ +

Start to search for given word after 500 ms.

+

Sets word as text in search word line edit, and wait 500 ms to start search. If in meanwhile this slot is called again it will stop previous timers.

+ +
+
@@ -118,7 +141,7 @@ void 
void SearchBarWidget::searchForTranslations ( QString  _t1  )  [signal]
SearchBarWidget.h
  • SearchBarWidget.cpp
  • +
  • moc_SearchBarWidget.cpp
  • +
  • build-desktop/moc_SearchBarWidget.cpp
  • @@ -209,7 +234,7 @@ void 
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classSettings-members.html b/doc/html/classSettings-members.html index 0be4a1c..6226e5f 100644 --- a/doc/html/classSettings-members.html +++ b/doc/html/classSettings-members.html @@ -65,7 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classSettings.html b/doc/html/classSettings.html index 012ba00..8b4d73c 100644 --- a/doc/html/classSettings.html +++ b/doc/html/classSettings.html @@ -45,7 +45,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    Settings Class Reference

    -

    Plugin specific configuration. +

    Plugins or dictionaries may need to keep some of configuration between sessions, moreover Backbone or GUI may want store some additional info in plugin Settings. More...

    #include <settings.h>

    @@ -63,7 +63,8 @@ void 
    keys () const

    Detailed Description

    -

    Plugin specific configuration.

    +

    Plugins or dictionaries may need to keep some of configuration between sessions, moreover Backbone or GUI may want store some additional info in plugin Settings.

    +

    Its important for plugin to store all information given it in Settings.


    Member Function Documentation

    @@ -108,7 +109,7 @@ QList< QString > 
    key -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classSettingsWidget-members.html b/doc/html/classSettingsWidget-members.html new file mode 100644 index 0000000..ba51be1 --- /dev/null +++ b/doc/html/classSettingsWidget-members.html @@ -0,0 +1,70 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
    +

    SettingsWidget Member List

    This is the complete list of members for SettingsWidget, including all inherited members. + + + +
    hideEvent(QHideEvent *) (defined in SettingsWidget)SettingsWidget [protected]
    SettingsWidget(GUIInterface *parent=0) (defined in SettingsWidget)SettingsWidget [explicit]
    showEvent(QShowEvent *) (defined in SettingsWidget)SettingsWidget [protected]
    + + + + +
    + +
    + +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
    + + diff --git a/doc/html/classSettingsWidget.html b/doc/html/classSettingsWidget.html new file mode 100644 index 0000000..2a22757 --- /dev/null +++ b/doc/html/classSettingsWidget.html @@ -0,0 +1,82 @@ + + + + + +mDictionary: SettingsWidget Class Reference + + + + + + + + + +
    +

    SettingsWidget Class Reference

    +

    List of all members.

    + + + + + + +

    Public Member Functions

    SettingsWidget (GUIInterface *parent=0)

    Protected Member Functions

    +void showEvent (QShowEvent *)
    +void hideEvent (QHideEvent *)
    +
    The documentation for this class was generated from the following files: +
    + + + + +
    + +
    + +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
    + + diff --git a/doc/html/classTranslation-members.html b/doc/html/classTranslation-members.html index 63415a5..25f89fc 100644 --- a/doc/html/classTranslation-members.html +++ b/doc/html/classTranslation-members.html @@ -45,10 +45,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    Translation Member List

    This is the complete list of members for Translation, including all inherited members. + + + +
    _bookmark (defined in Translation)Translation [protected]
    dictionaryInfo() const =0Translation [pure virtual]
    isBookmark() const Translation [inline]
    key() const =0Translation [pure virtual]
    operator==(Translation *translation) (defined in Translation)Translation [inline]
    setBookmark(bool b)Translation [inline]
    toHtml() const =0Translation [pure virtual]
    Translation() (defined in Translation)Translation [inline]
    -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslation.html b/doc/html/classTranslation.html index 166255d..13c0f6c 100644 --- a/doc/html/classTranslation.html +++ b/doc/html/classTranslation.html @@ -45,7 +45,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    Translation Class Reference

    -

    Keeping raw form of translation to be parsed only when needed. +

    /file translation.h More...

    #include <translation.h>

    @@ -55,7 +55,8 @@ Inheritance diagram for Translation:
    -TranslationXdxf +BookmarkTranslation +TranslationXdxf
    @@ -68,9 +69,20 @@ Inheritance diagram for Translation: bool 
    operator== (Translation *translation)
    virtual QString dictionaryInfo () const =0
    virtual QString toHtml () const =0
    +bool isBookmark () const
     whether given translation is taken from bookmarks
    void setBookmark (bool b)

    Protected Attributes

    +bool _bookmark

    Detailed Description

    -

    Keeping raw form of translation to be parsed only when needed.

    +

    /file translation.h

    +

    Interface for translation instances

    +
    See also:
    Translation
    +
    Author:
    Bartosz Szatkowski <bulislaw@linux.com>
    +

    Translation is kind of GoF proxy, it stores key:translation pair and provide it in lazy way -> key is available always, but translation is fetched as late as possible


    Member Function Documentation

    @@ -108,7 +120,31 @@ bool operator== (
    Returns:
    word to be translated
    -

    Implemented in TranslationXdxf.

    +

    Implemented in BookmarkTranslation, and TranslationXdxf.

    + + + + +
    +
    + + + + + + + + + +
    void Translation::setBookmark (bool  b )  [inline]
    +
    +
    +
    Parameters:
    + + +
    b if true then translation is from bookmarks
    +
    +
    @@ -128,7 +164,7 @@ bool operator== (
    Returns:
    parsed raw format into html
    -

    Implemented in TranslationXdxf.

    +

    Implemented in BookmarkTranslation, and TranslationXdxf.

    @@ -150,7 +186,7 @@ bool operator== ( -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslation.png b/doc/html/classTranslation.png index 0f0c186..0e4a28a 100644 Binary files a/doc/html/classTranslation.png and b/doc/html/classTranslation.png differ diff --git a/doc/html/classTranslationPtr-members.html b/doc/html/classTranslationPtr-members.html new file mode 100644 index 0000000..cc38623 --- /dev/null +++ b/doc/html/classTranslationPtr-members.html @@ -0,0 +1,69 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
    +

    TranslationPtr Member List

    This is the complete list of members for TranslationPtr, including all inherited members. + + +
    toHtml() const (defined in TranslationPtr)TranslationPtr [inline]
    TranslationPtr(Translation *tr) (defined in TranslationPtr)TranslationPtr [inline]
    + + + + +
    + +
    + +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
    + + diff --git a/doc/html/classTranslationPtr.html b/doc/html/classTranslationPtr.html new file mode 100644 index 0000000..6982a45 --- /dev/null +++ b/doc/html/classTranslationPtr.html @@ -0,0 +1,78 @@ + + + + + +mDictionary: TranslationPtr Class Reference + + + + + + + + + +
    +

    TranslationPtr Class Reference

    +

    List of all members.

    + + + + +

    Public Member Functions

    TranslationPtr (Translation *tr)
    +QString toHtml () const
    +
    The documentation for this class was generated from the following file:
      +
    • backbone.cpp
    • +
    +
    + + + + +
    + +
    + +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
    + + diff --git a/doc/html/classTranslationWidget-members.html b/doc/html/classTranslationWidget-members.html index 235cacd..6d06a07 100644 --- a/doc/html/classTranslationWidget-members.html +++ b/doc/html/classTranslationWidget-members.html @@ -64,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslationWidget.html b/doc/html/classTranslationWidget.html index d9bb880..3790030 100644 --- a/doc/html/classTranslationWidget.html +++ b/doc/html/classTranslationWidget.html @@ -72,6 +72,7 @@ void updateSize ()The documentation for this class was generated from the following files: @@ -88,7 +89,7 @@ void updateSize () -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslationWidgetAutoResizer-members.html b/doc/html/classTranslationWidgetAutoResizer-members.html index c55b468..cd8f31b 100644 --- a/doc/html/classTranslationWidgetAutoResizer-members.html +++ b/doc/html/classTranslationWidgetAutoResizer-members.html @@ -62,7 +62,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslationWidgetAutoResizer.html b/doc/html/classTranslationWidgetAutoResizer.html index 139f3ba..330c210 100644 --- a/doc/html/classTranslationWidgetAutoResizer.html +++ b/doc/html/classTranslationWidgetAutoResizer.html @@ -72,7 +72,7 @@ void textEditChanged ( -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslationXdxf-members.html b/doc/html/classTranslationXdxf-members.html index fa6088b..33283ce 100644 --- a/doc/html/classTranslationXdxf-members.html +++ b/doc/html/classTranslationXdxf-members.html @@ -45,12 +45,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    TranslationXdxf Member List

    This is the complete list of members for TranslationXdxf, including all inherited members. + + + +
    _bookmark (defined in Translation)Translation [protected]
    dictionaryInfo() const TranslationXdxf [virtual]
    isBookmark() const Translation [inline]
    key() const TranslationXdxf [virtual]
    operator==(Translation *translation) (defined in Translation)Translation [inline]
    setBookmark(bool b)Translation [inline]
    setDictionaryInfo(QString)TranslationXdxf
    setKey(QString)TranslationXdxf
    toHtml() const TranslationXdxf [virtual]
    Translation() (defined in Translation)Translation [inline]
    TranslationXdxf() (defined in TranslationXdxf)TranslationXdxf
    TranslationXdxf(QString _key, QString _dictionaryInfo, XdxfPlugin *xdxfPlugin) (defined in TranslationXdxf)TranslationXdxf
    @@ -68,7 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classTranslationXdxf.html b/doc/html/classTranslationXdxf.html index 0a694df..3ff0cfb 100644 --- a/doc/html/classTranslationXdxf.html +++ b/doc/html/classTranslationXdxf.html @@ -175,7 +175,7 @@ void 
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classUi_1_1MainWindow-members.html b/doc/html/classUi_1_1MainWindow-members.html index b0cb047..1339097 100644 --- a/doc/html/classUi_1_1MainWindow-members.html +++ b/doc/html/classUi_1_1MainWindow-members.html @@ -49,6 +49,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); mainToolBar (defined in Ui_MainWindow)Ui_MainWindow menuBar (defined in Ui_MainWindow)Ui_MainWindow retranslateUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] + retranslateUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] + setupUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] setupUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] verticalLayout (defined in Ui_MainWindow)Ui_MainWindow @@ -66,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 12:38:45 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classUi_1_1MainWindow.html b/doc/html/classUi_1_1MainWindow.html index 6ab8640..6fae088 100644 --- a/doc/html/classUi_1_1MainWindow.html +++ b/doc/html/classUi_1_1MainWindow.html @@ -46,13 +46,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    Ui::MainWindow Class Reference

    +

    Ui::MainWindow Class Reference

    Inheritance diagram for Ui::MainWindow:
    Ui_MainWindow +Ui_MainWindow
    @@ -78,7 +79,7 @@ Inheritance diagram for Ui::MainWindow:
    -
    Generated on Thu Aug 12 12:38:45 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classUi_1_1MainWindow.png b/doc/html/classUi_1_1MainWindow.png index ffef08b..d43b8f5 100644 Binary files a/doc/html/classUi_1_1MainWindow.png and b/doc/html/classUi_1_1MainWindow.png differ diff --git a/doc/html/classUi__MainWindow-members.html b/doc/html/classUi__MainWindow-members.html index b51bbda..e60bbd4 100644 --- a/doc/html/classUi__MainWindow-members.html +++ b/doc/html/classUi__MainWindow-members.html @@ -49,6 +49,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); mainToolBar (defined in Ui_MainWindow)Ui_MainWindow menuBar (defined in Ui_MainWindow)Ui_MainWindow retranslateUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] + retranslateUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] + setupUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] setupUi(QMainWindow *MainWindow) (defined in Ui_MainWindow)Ui_MainWindow [inline] verticalLayout (defined in Ui_MainWindow)Ui_MainWindow @@ -66,7 +68,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 12:38:45 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classUi__MainWindow.html b/doc/html/classUi__MainWindow.html index 8b11fc3..e60a675 100644 --- a/doc/html/classUi__MainWindow.html +++ b/doc/html/classUi__MainWindow.html @@ -51,6 +51,7 @@ Inheritance diagram for Ui_MainWindow: Ui::MainWindow +Ui::MainWindow @@ -62,18 +63,23 @@ Inheritance diagram for Ui_MainWindow: void setupUi (QMainWindow *MainWindow) void retranslateUi (QMainWindow *MainWindow) + +void setupUi (QMainWindow *MainWindow) + +void retranslateUi (QMainWindow *MainWindow)

    Public Attributes

    - + QWidget * centralWidget - + QVBoxLayout * verticalLayout - + QMenuBar * menuBar QToolBar * mainToolBar -
    The documentation for this class was generated from the following file:
      +
      The documentation for this class was generated from the following files: @@ -90,7 +96,7 @@ QToolBar * mainToolBar -
      Generated on Thu Aug 12 12:38:45 2010 for mDictionary by  +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
      diff --git a/doc/html/classUi__MainWindow.png b/doc/html/classUi__MainWindow.png index 1c2c450..847defb 100644 Binary files a/doc/html/classUi__MainWindow.png and b/doc/html/classUi__MainWindow.png differ diff --git a/doc/html/classWelcomeScreenWidget-members.html b/doc/html/classWelcomeScreenWidget-members.html new file mode 100644 index 0000000..fe60cf4 --- /dev/null +++ b/doc/html/classWelcomeScreenWidget-members.html @@ -0,0 +1,68 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
      +

      WelcomeScreenWidget Member List

      This is the complete list of members for WelcomeScreenWidget, including all inherited members. + +
      WelcomeScreenWidget(QWidget *parent=0) (defined in WelcomeScreenWidget)WelcomeScreenWidget [explicit]
      + + + + +
      + +
      + +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
      + + diff --git a/doc/html/classWelcomeScreenWidget.html b/doc/html/classWelcomeScreenWidget.html new file mode 100644 index 0000000..70dcb73 --- /dev/null +++ b/doc/html/classWelcomeScreenWidget.html @@ -0,0 +1,77 @@ + + + + + +mDictionary: WelcomeScreenWidget Class Reference + + + + + + + + + +
      +

      WelcomeScreenWidget Class Reference

      +

      List of all members.

      + + + +

      Public Member Functions

      WelcomeScreenWidget (QWidget *parent=0)
      +
      The documentation for this class was generated from the following files: +
      + + + + +
      + +
      + +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
      + + diff --git a/doc/html/classWordListProxyStyle-members.html b/doc/html/classWordListProxyStyle-members.html new file mode 100644 index 0000000..3c66e12 --- /dev/null +++ b/doc/html/classWordListProxyStyle-members.html @@ -0,0 +1,69 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
      +

      WordListProxyStyle Member List

      This is the complete list of members for WordListProxyStyle, including all inherited members. + + +
      drawPrimitive(PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const (defined in WordListProxyStyle)WordListProxyStyle
      WordListProxyStyle() (defined in WordListProxyStyle)WordListProxyStyle
      + + + + +
      + +
      + +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
      + + diff --git a/doc/html/classWordListProxyStyle.html b/doc/html/classWordListProxyStyle.html new file mode 100644 index 0000000..4c9cb7e --- /dev/null +++ b/doc/html/classWordListProxyStyle.html @@ -0,0 +1,77 @@ + + + + + +mDictionary: WordListProxyStyle Class Reference + + + + + + + + + +
      +

      WordListProxyStyle Class Reference

      +

      List of all members.

      + + + +

      Public Member Functions

      +void drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const
      +
      The documentation for this class was generated from the following files: +
      + + + + +
      + +
      + +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
      + + diff --git a/doc/html/classWordListWidget-members.html b/doc/html/classWordListWidget-members.html index 97c1e77..e3584b5 100644 --- a/doc/html/classWordListWidget-members.html +++ b/doc/html/classWordListWidget-members.html @@ -45,7 +45,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

      WordListWidget Member List

      This is the complete list of members for WordListWidget, including all inherited members. + + + + @@ -65,7 +69,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
      Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
      diff --git a/doc/html/classWordListWidget.html b/doc/html/classWordListWidget.html index 9270eb6..9412fa4 100644 --- a/doc/html/classWordListWidget.html +++ b/doc/html/classWordListWidget.html @@ -63,9 +63,20 @@ void 
      + + + + + + +
      addBookmark(QList< Translation * >)WordListWidget [signal]
      lockList()WordListWidget [slot]
      mouseReleaseEvent(QMouseEvent *event) (defined in WordListWidget)WordListWidget [protected]
      removeBookmark(QList< Translation * >)WordListWidget [signal]
      resizeEvent(QResizeEvent *event) (defined in WordListWidget)WordListWidget [protected]
      showSearchResults(QHash< QString, QList< Translation * > >)WordListWidget [slot]
      showTranslation(QList< Translation * >)WordListWidget [signal]
      unlockList()WordListWidget [slot]
       Unlocks words list.

      Signals

      void showTranslation (QList< Translation * >)
      +void addBookmark (QList< Translation * >)
       Request to add selected word to bookmarks.
      +void removeBookmark (QList< Translation * >)
       Request to remove selected word from bookmarks.

      Public Member Functions

       WordListWidget (QWidget *parent=0)

      Protected Member Functions

      +void mouseReleaseEvent (QMouseEvent *event)
      +void resizeEvent (QResizeEvent *event)

      Detailed Description

      Displays list of words found in dictionaries.

      @@ -105,7 +116,7 @@ void void WordListWidget::showTranslation ( QList< Translation * >  - + _t1  )  [signal] @@ -119,6 +130,7 @@ void WordListWidget.h
    • WordListWidget.cpp
    • +
    • moc_WordListWidget.cpp
    @@ -135,7 +147,7 @@ void 
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfCachingDialog-members.html b/doc/html/classXdxfCachingDialog-members.html new file mode 100644 index 0000000..ab4c53c --- /dev/null +++ b/doc/html/classXdxfCachingDialog-members.html @@ -0,0 +1,70 @@ + + + + + +mDictionary: Member List + + + + + + + + + +
    +

    XdxfCachingDialog Member List

    This is the complete list of members for XdxfCachingDialog, including all inherited members. + + + +
    cancelCaching() (defined in XdxfCachingDialog)XdxfCachingDialog [signal]
    reject() (defined in XdxfCachingDialog)XdxfCachingDialog [slot]
    XdxfCachingDialog(XdxfPlugin *parent=0) (defined in XdxfCachingDialog)XdxfCachingDialog [explicit]
    + + + + +
    + +
    + +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
    + + diff --git a/doc/html/classXdxfCachingDialog.html b/doc/html/classXdxfCachingDialog.html new file mode 100644 index 0000000..3ea1c91 --- /dev/null +++ b/doc/html/classXdxfCachingDialog.html @@ -0,0 +1,85 @@ + + + + + +mDictionary: XdxfCachingDialog Class Reference + + + + + + + + + +
    +

    XdxfCachingDialog Class Reference

    +

    List of all members.

    + + + + + + + +

    Public Slots

    +void reject ()

    Signals

    +void cancelCaching ()

    Public Member Functions

    XdxfCachingDialog (XdxfPlugin *parent=0)
    +
    The documentation for this class was generated from the following files:
      +
    • XdxfCachingDialog.h
    • +
    • src/moc_XdxfCachingDialog.cpp
    • +
    • XdxfCachingDialog.cpp
    • +
    • tests/moc_XdxfCachingDialog.cpp
    • +
    +
    + + + + +
    + +
    + +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  + +doxygen 1.6.3
    + + diff --git a/doc/html/classXdxfDictDialog-members.html b/doc/html/classXdxfDictDialog-members.html index 875f23c..9c2956e 100644 --- a/doc/html/classXdxfDictDialog-members.html +++ b/doc/html/classXdxfDictDialog-members.html @@ -64,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfDictDialog.html b/doc/html/classXdxfDictDialog.html index 7d4e67a..e2d2562 100644 --- a/doc/html/classXdxfDictDialog.html +++ b/doc/html/classXdxfDictDialog.html @@ -148,7 +148,7 @@ Inheritance diagram for XdxfDictDialog: -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfLoadDialog-members.html b/doc/html/classXdxfLoadDialog-members.html index 67b5750..c7c6318 100644 --- a/doc/html/classXdxfLoadDialog-members.html +++ b/doc/html/classXdxfLoadDialog-members.html @@ -64,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfLoadDialog.html b/doc/html/classXdxfLoadDialog.html index 43774f6..45092c0 100644 --- a/doc/html/classXdxfLoadDialog.html +++ b/doc/html/classXdxfLoadDialog.html @@ -108,7 +108,7 @@ bool 
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfPlugin-members.html b/doc/html/classXdxfPlugin-members.html index 22e719e..b93e4b7 100644 --- a/doc/html/classXdxfPlugin-members.html +++ b/doc/html/classXdxfPlugin-members.html @@ -49,7 +49,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); dictDialog()XdxfPlugin [virtual] getNew(const Settings *) const XdxfPlugin [virtual] hash() const XdxfPlugin [virtual] - icon()XdxfPlugin [virtual] + icon()XdxfPlugin [virtual] infoNote() const XdxfPlugin [virtual] isAvailable() const XdxfPlugin [virtual] langFrom() const XdxfPlugin [virtual] @@ -65,6 +65,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); settingsChanged()CommonDictInterface [signal] stop()XdxfPlugin [virtual, slot] type() const XdxfPlugin [virtual] + updateCachingProgress(int, int)XdxfPlugin [signal] wordsCount()XdxfPlugin XdxfPlugin(QObject *parent=0) (defined in XdxfPlugin)XdxfPlugin @@ -82,7 +83,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfPlugin.html b/doc/html/classXdxfPlugin.html index b726ffc..ce9cb0f 100644 --- a/doc/html/classXdxfPlugin.html +++ b/doc/html/classXdxfPlugin.html @@ -63,6 +63,8 @@ Inheritance diagram for XdxfPlugin: void stop ()  stop current operation
    +

    Signals

    +void updateCachingProgress (int, int)

    Public Member Functions

     XdxfPlugin (QObject *parent=0) @@ -108,8 +110,8 @@ long  void setSettings (Settings *)  Sets new settings.
    - -virtual QIcon icon () + +virtual QIcon * icon ()  returns plugin icon

    Protected Member Functions

    @@ -156,9 +158,39 @@ QString removeAccents + +
    +
    + + + + + + + + + + + + + + + + + + +
    void XdxfPlugin::updateCachingProgress (int  _t1,
    int  _t2 
    ) [signal]
    +
    +
    +

    emited with percent count of caching progress, and time elapsed from last signal emit

    + +
    +

    The documentation for this class was generated from the following files:
    • xdxfplugin.h
    • +
    • src/moc_xdxfplugin.cpp
    • xdxfplugin.cpp
    • +
    • tests/moc_xdxfplugin.cpp
    @@ -175,7 +207,7 @@ QString removeAccents -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfSettingsDialog-members.html b/doc/html/classXdxfSettingsDialog-members.html index 197988c..9b4567c 100644 --- a/doc/html/classXdxfSettingsDialog-members.html +++ b/doc/html/classXdxfSettingsDialog-members.html @@ -46,6 +46,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    XdxfSettingsDialog Member List

    This is the complete list of members for XdxfSettingsDialog, including all inherited members. +
    dicitonaryFilePath()XdxfSettingsDialog
    generateCache()XdxfSettingsDialog
    getSettings(XdxfPlugin *plugin, QWidget *parent) (defined in XdxfSettingsDialog)XdxfSettingsDialog [static]
    XdxfSettingsDialog(XdxfPlugin *plugin, QWidget *parent=0) (defined in XdxfSettingsDialog)XdxfSettingsDialog [explicit]
    @@ -63,7 +64,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfSettingsDialog.html b/doc/html/classXdxfSettingsDialog.html index 343d03d..40270e2 100644 --- a/doc/html/classXdxfSettingsDialog.html +++ b/doc/html/classXdxfSettingsDialog.html @@ -53,6 +53,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); QString dicitonaryFilePath ()  Returns choosen by user dictionary file path.
    + +bool generateCache () + Returns if user want to cache dictionary.

    Static Public Member Functions

    static SettingsgetSettings (XdxfPlugin *plugin, QWidget *parent) @@ -76,7 +79,7 @@ static Settings *  -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfTest-members.html b/doc/html/classXdxfTest-members.html index aff2e81..e08bb12 100644 --- a/doc/html/classXdxfTest-members.html +++ b/doc/html/classXdxfTest-members.html @@ -60,7 +60,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classXdxfTest.html b/doc/html/classXdxfTest.html index 798ac2a..0310ec3 100644 --- a/doc/html/classXdxfTest.html +++ b/doc/html/classXdxfTest.html @@ -67,7 +67,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/classes.html b/doc/html/classes.html index d0a4224..f7fe97b 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -44,19 +44,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    Class Index

    B | C | D | G | H | M | S | T | W | X
    +

    Class Index

    A | B | C | D | G | H | M | S | T | U | W | X
    -
      B  
    -
    DictTypeSelectDialog   MainWindow   Translation   
      X  
    +
      A  
    +
    DictDialog   MainWindow (Ui)   Translation   WordListProxyStyle   
    AboutWidget   DictManagerWidget   MainWindow   TranslationPtr   WordListWidget   
      B  
    +
    DictTypeSelectDialog   MenuTabWidget   TranslationWidget   
      X  
    Backbone   
      G  
    -
    MenuTabWidget   TranslationWidget   XdxfDictDialog   
      C  
    -
    GUIInterface   MenuWidget   TranslationWidgetAutoResizer   XdxfLoadDialog   
    CommonDictInterface   
      H  
    -
      S  
    -
    TranslationXdxf   XdxfPlugin   
      D  
    -
    History   SearchBarWidget   
      W  
    -
    XdxfSettingsDialog   
    DictDialog   HistoryListDialog   Settings   WordListWidget   XdxfTest   
    DictManagerWidget   
      M  
    +
    MenuWidget   TranslationWidgetAutoResizer   XdxfCachingDialog   
    Bookmarks   GUIInterface   
      S  
    +
    TranslationXdxf   XdxfDictDialog   
    BookmarksWidget   
      H  
    +
    SearchBarWidget   
      U  
    +
    XdxfLoadDialog   
    BookmarkTranslation   History   Settings   Ui_MainWindow   XdxfPlugin   
      C  
    +
    HistoryListDialog   SettingsWidget   
      W  
    +
    XdxfSettingsDialog   
    CommonDictInterface   
      M  
      T  
    -
    B | C | D | G | H | M | S | T | W | X
    +WelcomeScreenWidget   XdxfTest   
      D  
    +
    A | B | C | D | G | H | M | S | T | U | W | X
    -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/files.html b/doc/html/files.html index fea97b3..222f761 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -43,7 +43,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    File List

    Here is a list of all documented files with brief descriptions: + + + + @@ -56,12 +60,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + @@ -82,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
    Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
    Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
    diff --git a/doc/html/functions.html b/doc/html/functions.html index 5d39c1e..9afcd4d 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -55,6 +55,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • c
  • d
  • e
  • +
  • f
  • g
  • h
  • i
  • @@ -76,8 +77,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Here is a list of all documented class members with links to the class documentation for each member:

    - a -

    @@ -105,6 +110,9 @@ Here is a list of all documented class members with links to the class documenta
  • Backbone() : Backbone
  • +
  • bookmarksReady() +: Backbone +
  • @@ -113,6 +121,9 @@ Here is a list of all documented class members with links to the class documenta : DictDialog , XdxfDictDialog +
  • clear() +: Bookmarks +
  • closeEvent() : MainWindow
  • @@ -133,6 +144,7 @@ Here is a list of all documented class members with links to the class documenta
  • dictionaryInfo() : Translation +, BookmarkTranslation , TranslationXdxf
  • DictManagerWidget() @@ -152,23 +164,31 @@ Here is a list of all documented class members with links to the class documenta +

    - f -

    + +

    - g -

    @@ -113,6 +121,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : DictDialog , XdxfDictDialog
  • +
  • clear() +: Bookmarks +
  • closeEvent() : MainWindow
  • @@ -133,6 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • dictionaryInfo() : Translation +, BookmarkTranslation , TranslationXdxf
  • DictManagerWidget() @@ -152,23 +164,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); +

    - f -

    + +

    - g -

    • generateCache() : XdxfLoadDialog +, XdxfSettingsDialog
    • getDictionaries() -: Backbone +: MainWindow , GUIInterface -, MainWindow +, Backbone
    • getNew() -: CommonDictInterface -, XdxfPlugin +: XdxfPlugin +, CommonDictInterface
    • getPlugins() : GUIInterface -, MainWindow , Backbone +, MainWindow
    • getSettings() : XdxfLoadDialog @@ -217,24 +237,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

      - i -

      - k -

      @@ -248,6 +275,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : XdxfPlugin , CommonDictInterface
    • +
    • list() +: Bookmarks +
    • loaded() : CommonDictInterface
    • @@ -287,6 +317,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • refreshHistoryButtons() : SearchBarWidget
    • +
    • remove() +: Bookmarks +
    • +
    • removeAllBookmark() +: Backbone +
    • +
    • removeBookmark() +: Backbone +, WordListWidget +
    • removeDictionary() : DictManagerWidget , GUIInterface @@ -304,9 +344,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

      - s -

      - t -

      @@ -433,6 +489,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    • unlockList() : WordListWidget
    • +
    • updateCachingProgress() +: XdxfPlugin +
    • updateHistoryButtons() : SearchBarWidget
    • @@ -470,7 +529,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
      Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
      diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index d2068dd..e822d4a 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -45,7 +45,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

      Class Hierarchy

      This inheritance list is sorted roughly, but not completely, alphabetically:
      -
      Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
      diff --git a/doc/html/index.html b/doc/html/index.html index 2dae162..4c9b23c 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -52,7 +52,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -
      Generated on Thu Aug 12 14:34:59 2010 for mDictionary by  +
      Generated on Wed Aug 18 16:45:34 2010 for mDictionary by  doxygen 1.6.3
      diff --git a/doc/html/search/all_61.html b/doc/html/search/all_61.html index 6fb7808..8f1a8f3 100644 --- a/doc/html/search/all_61.html +++ b/doc/html/search/all_61.html @@ -7,49 +7,63 @@ +
      +
      + Bookmarks +
      +
      +
      +
      + bookmarksReady + Backbone +
      +
      + +
      Searching...
      No Matches
      + + + diff --git a/doc/html/search/classes_62.html b/doc/html/search/classes_62.html index 3c9a592..5194936 100644 --- a/doc/html/search/classes_62.html +++ b/doc/html/search/classes_62.html @@ -12,6 +12,21 @@ Backbone +
      +
      + Bookmarks +
      +
      + +
      Searching...
      No Matches
  • AboutWidget.h [code]
    backbone.h [code]
    Bookmarks.h [code]
    BookmarksWidget.h [code]
    BookmarkTranslations.h [code]
    CommonDictInterface.h [code]
    DictDialog.h [code]
    DictManagerWidget.h [code]Dictionary management widget
    MenuWidget.h [code]Implements custom menu
    SearchBarWidget.h [code]Implements search bar
    settings.h [code]
    SettingsWidget.h [code]
    test.h [code]
    translation.h [code]
    TranslationWidget.h [code]Implements translation widget
    TranslationWidgetAutoResizer.h [code]Implements translation widget auto resizer
    TranslationXdxf.h [code]
    ui_MainWindow.h [code]
    build-desktop/ui_MainWindow.h [code]
    WelcomeScreenWidget.h [code]
    WordListProxyStyle.h [code]
    WordListWidget.h [code]
    XdxfCachingDialog.h [code]
    XdxfDictDialog.h [code]
    XdxfLoadDialog.h [code]
    xdxfplugin.h [code]