Commit graph

527 commits

Author SHA1 Message Date
Abs62 b6a5beb2c2 Adjust back/forward buttons icon for right-to-left window layout 2014-03-20 17:44:46 +04:00
Abs62 269ea601f5 Win-specific: ScanPopup: Fix GD main window scanning under Win7+ 2014-03-17 18:53:47 +04:00
Abs62 fed58b512a Win-specific: ScanPopup: Fix RTL strings scanning 2014-03-17 17:46:50 +04:00
Abs62 4bbe1aaee5 Merge branch 'Original' into Qt4x5
Conflicts:
	scanpopup.cc
2014-03-14 17:34:33 +04:00
Abs62 b20f4d016b Fix set of symbols [...] handling in the input line 2014-03-14 16:39:54 +04:00
Abs62 da161164b9 Allow wildcards in the input line (issue #24) 2014-03-12 17:43:52 +04:00
Abs62 902c5f605b Add Ctrl+D shortcut to switch to dictionary headwords dialog 2014-03-04 20:58:51 +04:00
Abs62 55e9dc6a38 Make headwords dialog modeless 2014-03-03 17:46:41 +04:00
Abs62 a7145abdd0 Call dictionary headwords dialog via context menu of dictionaries bar and dictionaries list 2014-03-01 17:11:14 +04:00
Abs62 4a4bfade1d Show all headwords for selected dictionary 2014-02-28 16:36:28 +04:00
Abs62 0fa4087b38 Merge branch 'Original' into Qt4x5
Conflicts:
	goldendict.pro
	mainwindow.cc
	zim.cc
	zipsounds.cc
2014-02-11 23:39:31 +04:00
Abs62 dabceff223 Don't jump to dictionary when new page opens in background 2014-02-09 19:15:41 +04:00
Abs62 97c4697a80 Handle some touch screen gestures in article view window 2014-02-04 22:38:50 +04:00
Abs62 dbedf431fa Merge branch 'Original' into Qt4x5 2014-01-22 00:03:39 +04:00
Abs62 32a2cf55b9 Add config file option for track clipboard changes 2014-01-09 18:17:50 +04:00
Abs62 2f8c0d3d80 Don't check key modifiers for new tab when word received from scan popup window 2014-01-09 18:15:51 +04:00
Abs62 ff44dcebf2 Mac-specific: Adjust code for MacOS 10.9 2013-12-26 18:13:10 +04:00
Abs62 d133ae7369 Merge branch 'Temp' into Qt4x5
Conflicts:
	mainwindow.cc
2013-12-20 18:51:17 +04:00
Abs62 696fdbb994 Win-specific: Refactor of main window geometry saving 2013-12-20 18:25:33 +04:00
Abs62 34271ecc1d Merge branch 'Temp' into Qt4x5
Conflicts:
	article_maker.cc
	article_netmgr.cc
	articleview.cc
	forvo.cc
	goldendict.pro
	hotkeywrapper.cc
	hunspell.cc
	mainwindow.cc
2013-12-18 19:09:48 +04:00
Abs62 444938a330 Fix logging to file UTF-8 encoded messages 2013-11-16 22:34:09 +04:00
Abs62 a1d539ff1f Qt5-specific: Fix pictures loading for Bgl and some Stardict dictionaries 2013-09-27 17:04:25 +04:00
Abs62 1f87d8a911 Merge branch 'master' into Qt4x5
Conflicts:
	btreeidx.cc
	goldendict.pro
	lsa.cc
	mouseover.cc
	sounddir.cc
	xdxf2html.cc
2013-09-27 17:03:27 +04:00
Abs62 5a6c88ea09 Update suggestion list after group content editing (issue #406) 2013-09-24 17:55:12 +04:00
Abs62 c7b04526d2 Possibility to log GD console messages into file "gd_log.txt" in GD config directory. Activated by "--log-to-file" key in command line. 2013-09-20 18:25:44 +04:00
Tvangeste e2dde82580 Fixed #182: Provide a better Sound icon
The icon is by Evan Brooks, used with permission.
2013-08-21 10:02:46 +02:00
Timon Wong ee0fc80001 Merge branch 'master' into qt4x5
Conflicts:
	articleview.cc
	btreeidx.cc
	goldendict.pro
	mediawiki.cc
2013-08-02 17:00:16 +08:00
Tvangeste 039caf07f1 Fixed #183: Provide a higher resolution main GoldenDict icon
Finally! :)
2013-07-19 19:07:32 +02:00
Abs62 7e7adaf7c0 Refactor show dictionary info in "Groups" tab 2013-07-07 12:09:46 +04:00
Abs62 5ca8279045 RTL languages support for tab and main window header and article context menu 2013-07-07 01:45:13 +04:00
Timon Wong 01ef08a709 Merge branch 'master' into qt4x5 2013-07-05 17:03:57 +08:00
Tvangeste 3c5ce36231 Simplify MainWindow::getCurrentArticleView() 2013-07-04 18:05:49 +02:00
Tvangeste 23f94c584f Jump to article when double-clicking on dictinary in "Found in Dictionaries"
This forces the jump even when the dictionary is already a current/active dictionary.
This is convenient for the following use-cases:

1. User manually scrolls far away from the current dictionary and would like to return.
2. User jumps far away from the current dictionary when doing search (Ctrl+F).
3. User scrolls a huge article and would like to get back to the beginning of it.
2013-06-28 18:00:13 +02:00
Timon Wong 6ed3f5bec5 Merge branch 'master' into qt4x5 2013-06-16 15:54:05 +08:00
Tvangeste dcc62050e3 Refactoring the edit dictionary functionality a bit 2013-06-11 21:31:58 +02:00
Tvangeste de2bf73e66 New interface preference: Context menu dictionaries limit
Controls both context menus, in the dictionary bar and in the article view.
Can be adjusted in Preferences -> Interface -> Context menu dictionaries limit.
By default, it is set to 20.
2013-06-11 20:31:01 +02:00
Tvangeste 7599b8e33e Add "Edit dictionary" and "Open folder" buttons to the Dictionary Info dialog
Note: The "Edit dictionary" is optional an enabled only if the command line
for editor is specified in the config file (manually).
2013-06-11 17:42:24 +02:00
Abs62 9cd0ae5030 Fix open dictionary folder action 2013-06-11 16:52:10 +04:00
Tvangeste ebff287219 Win-specific: Select in Explorer the main dictionary file when opening the dictionary folder 2013-06-11 12:12:47 +02:00
Abs62 fa4c0821eb Zeroing latestReleaseReply after deleteLater() 2013-06-11 08:08:25 +04:00
Timon Wong b4fc5bf084 Merge branch 'master' into qt4x5 2013-06-11 09:24:23 +08:00
Tvangeste 57575fb4eb Reload the open tabs when groups and dictionary order is changed 2013-06-10 23:40:35 +02:00
Timon Wong f0885d4c78 Merge branch 'master' into qt4x5
Conflicts:
	hotkeywrapper.cc
	xdxf2html.cc
2013-06-10 23:49:09 +08:00
Abs62 3bd82ef752 "Open dictionary folder" action in context menu (issue #344) 2013-06-09 17:31:57 +04:00
Timon Wong a08102dd42 Win-Specific: Fix hotkey handling in Qt5 2013-06-08 22:36:05 +08:00
Timon Wong 6f2ab430ec Merge branch 'master' into qt4x5
Conflicts:
	article_maker.cc
	dsl.cc
	mainwindow.cc
2013-06-08 12:27:18 +08:00
Tvangeste 43f2b67095 Properly update the results pane when closing tabs 2013-06-07 16:37:40 +02:00
Abs62 9bb6768bd9 Initialize ssl libraries at program start (may affect on issue #303) 2013-06-07 17:00:30 +04:00
Abs62 cce47a77c3 Don't delete latest release reply directly in slot 2013-06-07 16:59:18 +04:00
Abs62 d721e627b1 Allow to collapse/expand articles; auto collapse for big articles (issue #331) 2013-06-02 15:20:33 +04:00
Timon Wong 8015841a1a Replace Q_WS_X11 -> HAVE_X11 2013-05-31 13:28:36 +08:00
Timon Wong d057752c74 Change Q_WS_MAC to Q_OS_MAC, Change Q_WS_WIN* to Q_OS_WIN* 2013-05-31 12:28:29 +08:00
Timon Wong 4b412f360c Merge branch 'master' into qt4x5 2013-05-31 12:20:33 +08:00
Timon Wong f30c41dbf6 Remove Url::Class, add Qt4x5::Url::ensureLeadingSlash() and fix all related 2013-05-31 12:20:25 +08:00
Timon Wong 43427e3958 Fix regression from d5c236f183: should take first audio link from each article 2013-05-31 11:46:51 +08:00
Timon Wong d5c236f183 Fix pronunciation for active article (if not avaialbe, fallback to the first one) 2013-05-31 11:29:04 +08:00
Timon Wong a33e52a321 Fix crash when right clicking dicts list if scan pop is disabled 2013-05-30 23:45:20 +08:00
Timon Wong ad4394d02b #212: Workaround for Qt5 changed behavior in QUrl::setPath() 2013-05-30 23:05:41 +08:00
Abs62 10cdaccb4e Reload tabs content and suggestion list after dictionaries rescan (issue #330) 2013-05-30 17:54:47 +04:00
Timon Wong 1d85f1b359 #212: Scratch, currently works under windows, for both Qt4 and Qt5 2013-05-30 21:24:21 +08:00
Timon Wong d6b832dc6a Merge pull request #327 from timonwong/article_inspector
Add "Inspect" action to context menu
2013-05-29 19:22:42 -07:00
Timon Wong 329aa02f93 Add "Inspect" action to context menu
* The "Inspect" action will bring up web inspector from WebKit.
* Restorable inspector window geometry.
2013-05-30 10:18:28 +08:00
Timon Wong a510facf18 Fix potential crash on exit with multiple tabs opened 2013-05-29 15:20:57 +08:00
Timon Wong 1ba03a326d Add an option to enable saving resource files with articles (#321) 2013-05-27 19:18:13 +08:00
Tvangeste 2b9dd55804 Disable the Scan Pop-up when a Preferences dialog is open 2013-05-17 14:34:46 +02:00
Tvangeste 82e6648efc Added an option to hide GoldenDict identification in the HTTP User-Agent headers (Issue #259).
A new preference in the "Network" tab is added:
* Do not identify GoldenDict in HTTP headers.
2013-05-15 17:59:30 +02:00
Timon Wong c4752eb14c Add internal audio player(ffmpeg/libav + libao).
* phonon, bass, playsound are removed.
2013-05-05 18:22:12 +08:00
Abs62 0389d23def A little more informative messages about Bass library errors (and couple of other changes) 2013-04-26 23:24:55 +04:00
Abs62 ace29d367f Mac-specific: Check Accessibility API at start with auto scan popup (issue #129) 2013-04-12 18:30:24 +04:00
Tvangeste ce4a212155 Use the native OS dialog to save articles, store the save location in a config 2013-04-12 09:31:09 +02:00
Abs62 68df177056 Mac-specific: Implement scanning under Mac OS X (issue #129) 2013-04-10 17:31:44 +04:00
Tvangeste 88fc0c3110 Fixed #254: Mac OS X: TranslateBox alignment issues 2013-04-01 18:37:44 +02:00
Tvangeste c45bf96701 Set the minimum zoom level from 0.7 to 0.1 2013-03-13 21:19:38 +01:00
Abs62 d1a4db20e8 Window activation under Linux again (issue #235) 2013-03-11 16:56:26 +04:00
Julian Depetris Chauvin b13b808edf Fixed #225: Tiny print preview window in Windows 7 2013-02-27 20:43:48 -03:00
Abs62 13eb3fa503 Synchronize dicionary icons size in popup and main windows (issue #168) 2013-02-27 17:12:46 +04:00
Abs62 0ac060576d Save images and sounds via context menu (issue #223) 2013-02-22 16:44:23 +04:00
Abs62 4e799b9ed2 Win-specific: activate main window after geometry adjusting at program start 2013-02-21 16:56:28 +04:00
Abs62 a2c8ceffd1 Clear dictionaries lists before dictionaries rescan 2013-02-19 22:56:05 +04:00
Tvangeste af82c12e59 Fixed #215: Enter doesn't work in the suggestions list when switching from the Old UI. 2013-02-08 18:09:37 +01:00
Abs62 d992c81e93 Windows switching under Ubuntu Unity (issue #204) 2013-02-08 15:49:14 +04:00
Tvangeste a46b17924d Additional fix for #205. 2013-02-07 19:16:19 +01:00
Tvangeste 404a16442b Fixed #205: Visual glitches in the new UI on KDE/Linux. 2013-02-07 16:24:24 +01:00
Abs62 2553ddf2b8 Periodical save of history (issue #209) 2013-02-05 16:51:23 +04:00
Abs62 f4f27de3cd Make changes from commit d8decdae83 Win-specific (issue #213) 2013-02-04 18:10:37 +04:00
Abs62 940de07908 Don't translate program name 2013-02-01 16:36:01 +04:00
Abs62 4e06a3612d Call tr() function for some strings (issue #195 again) 2013-02-01 00:18:40 +04:00
Abs62 9e3dd433a8 Don't show welcome page header in window title (issue #195) 2013-01-31 17:01:08 +04:00
Abs62 d8decdae83 Properly save/restore main window configuration when it maximized 2013-01-29 23:20:53 +04:00
Tvangeste ffa9f5778b Fixed #192: Dynamically adjust the suggestion list in the new UI. 2013-01-27 23:12:00 +01:00
Abs62 82d9cdaa06 Win-specific: Properly scan right-to-left words in GD window 2013-01-26 18:49:02 +04:00
Tvangeste 3258ad89f5 Fixed #191: New UI in the scan popup, replace 3 separate widgets with the translate box. 2013-01-25 16:42:44 +01:00
Abs62 c23e09b57b Properly restore main window maximized state when it activated through tray icon 2013-01-24 00:36:53 +04:00
Tvangeste 08ca79c272 Fixed #188: Switching the UI mode should focus the translate line and update it. 2013-01-23 20:11:39 +01:00
Tvangeste 48801fc7a8 Fixed #186: F3 and Shift+F3 shortcuts are no longer global in the main window. 2013-01-23 19:36:45 +01:00
Tvangeste ea51feb810 Tweaks for the Menu Button size (closes #176). 2013-01-23 14:40:49 +01:00
Tvangeste bb3a35e7ff Fixed Issue #184: F3 and Shift-F3 shortcuts don't work in a scan popup window when Search is activated
Also fixed  #185: Dictionaries menu uses hardcoded shortcut value in its text.
2013-01-22 22:16:54 +01:00
Tvangeste 7232859184 Additional shortcut for ZoomIn/WordsZoomIn actions (Ctrl+= and Alt+=).
Browsers do the same for the ZoomIn action, so that it is easier
to press with just two button presses instead of three.
2013-01-22 00:05:50 +01:00
Tvangeste 6c032b5185 Fixed #178: Word Zoom Level is not preserved when switching UI modes (Ctrl+S). 2013-01-21 22:49:58 +01:00
Tvangeste 77a992a296 Fixed #176: Menu button is not centered when toolbar is vertically positioned.
We just disable the Left and Right areas for the main toolbar in the new UI mode. :)
2013-01-21 21:53:53 +01:00
Tvangeste d5dd8eb940 Do not store the welcome page in the user history. 2013-01-20 19:26:17 +01:00
Tvangeste 4d5665d816 Make the default history item length to be the same as the limit for the headwords.
So, it is 256 now.

And configurable via the same parameter in the config file: maxHeadwordSize.
2013-01-17 15:24:13 +01:00
Tvangeste 3ed7772996 History Pane rewrite.
The new History Pane features proper mouse and keyboard navigation,
multiple selection and ability to remove the selected entries,
plus a dynamic context menu. Additionaly, the History's size is now
configurable in Preferences.

Use Ctrl+H to show/hide the History Pane.

History Pane's titlebar can be styled via #historyPaneTitleBar, e.g.:

/* Colored header for the History Pane */
  background: lightsteelblue;
  margin: 2px;
}

Closes #162: Make History sidebar independent from the Search Pane
Closes #159: "Send to main window" button from Pop-Up window does nothing when History is shown
Closes #158: Preserve History mode after restart
Closes #157: History with new UI: New words are not added when History is shown
Closes #156: History with new UI: Extra Groups widget in History is shown
Closes #155: History with new UI: Arrow keys navigation in History doesn't work
Closes #154: History with new UI: DEL key does not delete the current history entry
2013-01-17 10:08:53 +01:00
Abs62 c40de2dbf6 Fix send word to main window for new UI when history view mode is on 2013-01-10 23:10:48 +04:00
Tvangeste bba95a2f3f Make sure that UI mode and Always On Top flag are preserved on config changes. 2013-01-09 13:17:15 +01:00
Tvangeste 9e29b43922 Restored the code to add actions from the hidden menu back to the main window.
So that if Menu Button is hidden (or the whole toolbar is hidden) all
the actions would still work, including the one to show the main menu back.

One of the possibilities when the Menu Button is hidden is when not all
toolbar buttons fit into winow and are being automatically hidden.
2013-01-06 13:46:34 +01:00
Tvangeste ed6d23d27d Fixed #152: Magic wand is located before the translation input, should be after. 2013-01-06 12:22:20 +01:00
Tvangeste 9ad4da4cb5 Fixed #143: Make the new UI mode the default one. 2013-01-05 12:35:18 +01:00
Tvangeste 43e9417663 Fixed Issue #148: Menubar toggle state is not remembered on program restart. 2013-01-04 22:42:25 +01:00
Tvangeste fb33faabbc Fixed Issue #149: ESC does not work in the input dropdown field of the new UI 2013-01-02 10:55:23 +01:00
Julian Depetris Chauvin 0638f1b8dc Zoom in/out with Ctrl + Scroll wheel
This is standard behavior in pretty much any modern application (Notepad, Explorer, PDF reader and all browsers).
2013-01-01 20:05:29 -03:00
Tvangeste 915384d9d0 MenuButton should not have focus. 2012-12-31 19:23:47 +01:00
Tvangeste 0a355bf6d0 Added shortcuts for the both sidepanels (Ctrl+S for search, Ctrl+R for results navigation). 2012-12-30 11:06:58 +01:00
Tvangeste 321df3c224 Added menu accelerators. 2012-12-30 10:29:19 +01:00
Tvangeste 747b227653 Proper checkmark for the Menubar action. 2012-12-29 21:24:48 +01:00
Tvangeste e8cefa1330 Added a new "Menu Button" when the main menubar is hidden.
This button is very similar to Chrome browser's (wrench) button.
2012-12-29 19:46:43 +01:00
Tvangeste cb8724ce1c Implemented "Always on Top" functionality.
This feature has been frequently requested by various users.
2012-12-29 12:29:37 +01:00
Abs62 402b481d74 Focus GoldenDict window after restoring it from tray by hotkey under Ubuntu (issue #95) 2012-12-29 14:01:36 +04:00
Tvangeste 32b77e2848 Tweaked content margins for dictsPane. 2012-12-27 13:11:11 +01:00
Tvangeste 14ba44980c Names for backButton, forwardButton, soundButton and a couple of separators. 2012-12-27 09:30:43 +01:00
Tvangeste 35cda1c22c Name print, save, zoomIn, zoomOut and zoomBase buttons for convenient CSS styling. 2012-12-26 18:16:21 +01:00
Tvangeste 26f87ddcc6 Move Print and Save buttons further down.
The buttons are rarerly used and there is no point in keeping them close
to the beginning of the toolbar.
2012-12-26 15:04:32 +01:00
Tvangeste 7c903dd2b2 Some more cases where it is appropriate to hide the word list. 2012-12-25 21:38:28 +01:00
Tvangeste 70a2c8bfbe Minor bugfixes for the new UI mode. 2012-12-25 11:12:13 +01:00
Tvangeste 42c3b37a45 Fixed issue #144: wordlist suggestions stay on the screen even when the window is moved/resized. 2012-12-25 10:25:54 +01:00
Tvangeste cfa66ff0a1 Fixed regression #141. 2012-12-24 22:58:00 +01:00
Tvangeste da13998518 Updated UI: Browser-like interface vs search in the sidebar.
Users now have a choice:

* The new way: The field to enter words located like in all browsers, in the toolbar.
* The old way: to search in the sidebar.

Both UI modes are supported and can be switched between via View -> Search Pane menu.
2012-12-24 12:30:03 +01:00
Abs62 ce742142a1 Some strange crashes 2012-12-22 21:46:53 +04:00
Abs62 9c9faff6f6 Show dictionary info on right click in groups edit dialog 2012-12-20 17:25:03 +04:00
Abs62 0ed97ae6d3 Uninitialized variable in windows builds 2012-12-13 20:17:44 +04:00
Abs62 8901dccbef Switch user styles on-the-fly 2012-12-10 18:14:13 +04:00
Abs62 5070b5b859 std::vector -> QVector in config 2012-12-10 16:49:45 +04:00
Vladimir Sizikov 1907ddab94 Second part of renamings activated() -> triggered().
Using triggered() is a proper Qt 4.* way.
2012-12-04 09:33:47 +01:00
Tvangeste 2836b66d54 Renamed Qt3-legacy *_activated() -> *_triggered().
This fixes the problems on pure Qt4-only environments.
2012-12-03 22:58:55 +01:00
Abs62 e28b25a76e Change zoom limit from 3x to 5x 2012-12-03 17:13:13 +04:00
Abs62 af7947f163 Fix commit e6457a1e (enable edit only dsl and xdxf dictionaries) 2012-11-29 21:12:54 +04:00
Abs62 e6457a1e27 Call external editor for dictionaries 2012-11-28 23:32:37 +04:00
Abs62 0dcbfd849f Send word to input line via context menu 2012-11-26 17:13:13 +04:00
Abs62 1bbcc29523 Show translation again after click on selected word in the words search list 2012-11-25 15:37:57 +04:00
Abs62 ceb2f4f8bc Fix crash in some cases after new group adding 2012-11-17 12:20:18 +04:00
Abs62 e26cb52af1 Lost some settings when "Options" dialog called (issue #135) 2012-11-12 18:34:47 +04:00
Abs62 259efae81c Update history when clicking links on page (issue #120) 2012-11-12 17:52:54 +04:00
Abs62 6f85eadcb1 Dictionary bar icons size when small icons selected 2012-11-07 19:18:56 +04:00
Abs62 cb9a74639a 1. Store geometry of the "Dictionary info" window
2. Move commands in the dictionary bar context menu to begin
2012-09-27 17:00:40 +04:00
Abs62 f0c9e51ce3 Little correction for commit #ad8ddc8 2012-09-26 18:12:18 +04:00
Abs62 ad8ddc8daf Add option for word selection by single mouse click 2012-09-26 17:59:48 +04:00
Abs62 3c2990bf23 Own muted dictionaries list for each group 2012-09-26 17:13:47 +04:00
Abs62 4c5e79c2b2 Add "Dictionary info" item to dictionary bar context menu 2012-09-25 17:13:35 +04:00
Abs62 09b9e9aa46 Win-specific: Show translation in popup window istead of sending word to GD main window while scanning GD main window 2012-09-24 17:20:58 +04:00
Abs62 34419706c9 Show information about a dictionary on rigth mouse click in "Found in" pane 2012-09-24 16:51:51 +04:00
Abs62 83bdb1db6f Ctrl(Shift)+Click on "Found in dictionaries" pane do same action as on dictionary toolbar 2012-09-19 16:44:36 +04:00
Abs62 3de1e09663 Win-specific: Scan popup now work in GoldenDict article tabs 2012-09-19 03:01:31 +04:00
Abs62 44247c04c9 Add word to history via context menu from ScapPopup window 2012-09-16 14:30:14 +04:00
Abs62 305c9ed1b8 Show/hide optional parts of articles (DSL dictionaries only) 2012-09-16 14:19:47 +04:00
Abs62 78d450e1ca Little corrections for history handling 2012-09-12 21:19:21 +04:00
Abs62 ea442909ae Add word to history through context menu 2012-09-12 18:11:30 +04:00
Abs62 5ceab47fb3 Focus word list in history review mode 2012-09-12 16:32:29 +04:00
Abs62 e5943ec7ed Allow to turn on/off history in preferences 2012-09-11 17:03:10 +04:00
Abs62 8409c115a6 Show name of file when history imported in history review mode 2012-09-11 16:58:27 +04:00
Abs62 d33c1fb34a Store path for history export/import 2012-09-10 22:00:29 +04:00
Abs62 54bba79c60 Allow history import during history review 2012-09-10 20:23:58 +04:00
Abs62 b3439fc4a0 Import history from file 2012-09-10 17:01:35 +04:00
Abs62 52fbeac618 Show new translation after group changing 2012-09-03 16:42:43 +04:00
Denis Loginov b1b55f5c74 Added full-screen mode for Mac OS X Lion
Adapted from https://github.com/bjorn/tiled/tree/master/src/tiled
2012-06-03 14:29:49 -04:00
Julian Depetris Chauvin ba2ce47ae3 Merge branch 'themighty1-mru-tab' 2012-04-02 15:41:58 -03:00
Julian Depetris Chauvin 9404c4dd70 Fix crash when closing last opened tab 2012-03-26 22:38:41 -03:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04:00
Abs62 efba96f0d6 Export history to file 2012-02-17 16:01:52 +04:00
wwwwww 753b0185df MRU tab switching implemented 2012-02-17 00:00:00 +02:00
Abs62 11561ac4af Large search history 2012-02-16 18:56:25 +04:00
Abs62 bd90b5368b Add translation of the word from command line 2011-11-16 17:02:56 +04:00
Abs62 9a1ceff5d8 1. Add button to scan popup window to send translated word into main window
2. Add option to use main window instead of scan popup window
2011-11-16 16:52:25 +04:00
Julian Depetris Chauvin a7cb431c72 Clicking on "...." in the article view's context menu opens the Results Navigation Pane (if closed and is not popup window), focuses on the next dictionary entry on it and scrolls to the next dictionary in the article view. If user is using the popup window it just scrolls to the next dictionary. 2011-07-30 21:11:07 -03:00
Tvangeste 202914653f Fixed #28: Allow adding a new tab by double-clicking the large empty space right to it 2011-07-19 12:03:56 +02:00
Tvangeste 68335ba349 Provide an icon for the error message in the status bar 2011-07-15 14:42:40 +02:00
Tvangeste a94ed4b82e Make dictionary icons to have the same sizes, to avoid visual alignment problems.
* Corrected icon sizes in the "found in dictionaries" pane.
* Corrected icon sizes in the preferences dialog.
2011-07-15 14:11:08 +02:00
Tvangeste 4163bce8a2 Various status bar related fixes:
* Status Bar now available for Scan Popup window as well.
* Fixed #13: Eliminated modal box when sound is not available:
  Instead of modal dialog box we now show the status bar message,
  with error icon, thus making it visible but not disruptive.
* Proper handling of status bar images.
* Styling of the status bar in both modes
  (in Mani Window and in Popup Window).
2011-07-14 22:11:57 +02:00
Tvangeste 747526fca8 tooltips for a couple of buttons 2011-07-10 12:29:52 +02:00
Tvangeste 6693aefb3e New menu item: Help -> Configuration Folder.
I'm tired of explaining to users where their configuration
folder for GoldenDict is. :)
2011-07-10 09:36:43 +02:00
Tvangeste 354066c292 Reimplemented the status bar as internal widget instead of top-level borderless window.
Now the status bar behavior is much more reliable on X11 systems, no more
lags when moving GoldenDict window around or when resizing it. Works
better with compositing window managers as well.

Also, the new status bar also supports images, which is good for
warnings and error messages.

The status bar is fully styled and can change its appearence
based on user's CSS, if needed.
2011-07-09 13:55:44 +02:00
Tvangeste a3e9eb9cb4 Fixed Shift-Tab problems, reported in #22. 2011-07-04 10:35:56 +02:00
Tvangeste 79dbce2bb3 Sync between the currently active article and the "found in dictionaries" pane.
Now when a user activates an article (by clicking on it, or by using Alt-Up/Down shortcuts),
corresponding dictionary in the "found in dictionaries" pane is selected.

See Issue #22.

P.S. Lingvo behaves in the same way too.
2011-07-03 19:59:17 +02:00
Tvangeste ad75c8992c Hovered link notifications in the status bar, just like in browsers.
Move the mouse pointer over the link and see the status bar updated.
2011-07-02 15:04:49 +02:00
Julian Depetris Chauvin c1ad1ec880 Code refactor to get current article view. 2011-07-01 16:22:40 -03:00
Julian Depetris Chauvin 5f97db0449 Add shortcuts for Previous/Next actions on Article search (Ctrl + F) 2011-06-30 09:45:05 -03:00
Tvangeste 98ce9b3256 Cleanup of the focus order.
Some non-essential components should never get keyboard focus.

So, now the focus order is as follows:

TranslateLine -> TabWidget -> ArticleView -> DictsList, nothing else.
2011-06-28 17:55:41 +02:00
Tvangeste d46e4dc77b Chrome-style statusbar for GoldenDict.
* Small pop-up window at the bottom of the main winodw instead
  of traditional status bar, that consumes lots of space.
* API, similar to standard Qt's status bar.
* The status bar hides itself after specified amount of time.
* Clicking on the status bar also hides it.
* Properly behavies on resizes/moves/focus/etc.
* Tested on Linux and Windows.
2011-06-27 20:54:15 +02:00
Tvangeste ca292db64a Menubar can be hidden with Ctrl+M shortuct now.
Plus, added a menu item to do that, and the status notification.
2011-06-26 13:56:34 +02:00
Tvangeste 9bc413b2c0 Window title now shows the current headword (the current tab name). 2011-06-25 09:53:45 +02:00
Tvangeste 009b66afa0 Merge pull request #17 from VVSiz/review/hide_single_tab
"Hide single tab" option
2011-06-25 00:36:45 -07:00
Tvangeste 3266a6ef4c Added "New Tab" menu, plus corrected copyright headers. 2011-06-25 09:34:28 +02:00
Tvangeste eaf3f744ce When the tray icon is disabled, the global hide/show shortcut should just minimize the main window.
Before this change, the shortcut in such situation was just
doing nothing, the main window remained active.

Tray icons are not that useful in Win7, since it is much better
to just pin the application to the taksbar. Now GoldenDict works
properly in such situations.
2011-06-24 21:44:17 +02:00
Tvangeste 0e9f5f28c2 Hide single tab option is implemented.
By default, it's turned off (== current behavior).
2011-06-23 16:20:32 +02:00
Abs62 36e509a2ab Replace printf in code by a macro DPRINTF 2011-06-19 22:50:11 +04:00
Tvangeste df7bd52980 Make icons visible in history and context menus. 2011-06-12 20:50:54 +02:00
Konstantin Isakov ac5962c3cf Don't crash on startup if the dictionary bar has been made floating previously.
Closes #9.
2011-06-10 21:50:19 -07:00
Tvangeste 2a31365012 Deal with X11 headers mess that causes compilation errors 2011-06-09 09:29:21 +02:00
Tvangeste 649fe9ce0b Fixed compilation failure on Linux. But WHY it's needed??? 2011-06-08 13:18:04 +02:00
Tvangeste de3fd01ada Fixed #1: Translate line should select all on mouse click that brings focus 2011-06-08 12:31:03 +02:00
Konstantin Isakov b8b7bffb13 Merge commit 'refs/merge-requests/15' of git://gitorious.org/goldendict/goldendict 2011-06-07 19:35:43 -07:00
Tvangeste 6f192dca6e Enable/disable Back and Forward buttons depending on the history.
This is a standard behavior for any history-enabled app
(like web browser). When there is no previous or next item
in the history, the appropriate button on the toolbar
is disabled.
2011-06-07 18:52:51 +02:00
Tvangeste c6e8b4998f Handling of backward and forward mouse buttons.
They now do what is most logical for them to do: going
backwards and forwards in history.
2011-06-07 10:26:49 +02:00
Tvangeste 4e6e0a5e05 Fixes after code review:
* Replaced the search via dictionary name by search via dictionary id, cleanup
* Renamed "Dictionaries Pane" --> "Results Navigation Pane"
* Added to CREDITS
* TODO note about code duplication
2011-06-06 11:54:23 +02:00
Tvangeste 3762f22e76 Implemented Dictionaries Pane, to show dicts in which results were found.
It is a separate detacheable pane, which could also be enabled/disabled,
it tracks the current tab's contains, and lists those dictionaries that
contributed their content to the current translation.

Clicking on dictionary name jumps to the appropriate article from
this dictionary, which improves the navigation flow.

The Dictionaries Pane:
  * Shows both dictionaries' names and icons.
  * Does not consume resources when hidden.
  * Properly styled.
  * Properly handles app-wide shortcuts
    (Esc, Ctrl-L, Alt-D, Enter, Alt-Up/Down).
2011-06-05 13:49:50 +02:00
Konstantin Isakov adc4c56954 When scan pop-up button is hidden on the toolbar, hide the extra separator as well (patch by Gloggy <glogg@mail.ru>) 2011-05-30 20:35:43 -07:00
Konstantin Isakov bed7209275 Merge branch 'master' of gitorious.org:goldendict/goldendict 2011-05-29 21:56:36 -07:00
Konstantin Isakov 8de5af7abc Merge commit 'refs/merge-requests/4' of git://gitorious.org/goldendict/goldendict 2011-05-29 21:54:13 -07:00
Julian Depetris Chauvin 41bd078a2a make ESC minimizes the main window when tray icon is totally disabled. 2011-05-29 23:00:33 -03:00
Julian Depetris Chauvin 4951f9311d Option to use small icons in toolbars of main window. 2011-05-28 19:26:54 -03:00
Julian Depetris Chauvin b1965dd44c Add a "Enable web plugins" option under Edit > Preferences > Network. It allows to listen to sound pronunciations from online dictionaries that rely on flash plugin such as howjsay.com and dictionary.com. Plugin must be installed for this option to work. See http://doc.trolltech.com/4.5/qtwebkit.html#netscape-plugin-support 2011-05-08 19:12:44 -03:00
Julian Depetris Chauvin 891f316015 Restore default behaviour for ESC key. There is now a "ESC key hides main window" option under Edit > Preferences > Interface. 2011-05-07 10:42:49 -03:00
Julian Depetris Chauvin 3bd9c48fe7 support Shift + Enter and Shift + double click to open a definition in a new tab (Opera browser standard) in addition to Ctrl + Enter and Ctrl + double click (other browsers standard). The selection with Shift + double click is not as perfect as with Ctrl + double click but it's ok. 2011-05-01 21:37:56 -03:00
Julian Depetris Chauvin 0f5d4aa04e close main window on ESC (additionally to Ctrl + F4). To achieve this remove ESC as a shortcut to switch focus to word input. This action is already performed by typing just any key on the ArticleView and with Alt+D and Ctrl+L key combinations on MainWindow. 2011-04-30 20:46:45 -03:00
abs62 368b58bb29 Command "Clear history" really clear saved history 2011-03-30 08:47:55 +04:00
Konstantin Isakov 92eceb8cad Change email from @users.berlios.de to @goldendict.org. 2010-12-09 15:31:50 +03:00
Konstantin Isakov 63e99204fc Switch to QtSingleApplication for maintaining single instance running.
This should put an end to all those pidfile-related problems.
2010-11-20 16:43:55 +03:00
Konstantin Isakov 41c6d7cbaa Show icons in the opened tabs' list. 2010-11-15 21:04:16 +03:00
Konstantin Isakov 1dafa5cb16 Allow styling of translate line and word list dependent on the current group by introducing a currentGroup Qt property.
To use, create ~/.goldendict/qt-style.css like this:

MainWindow #searchPane #translateLine[currentGroup="En"], MainWindow #searchPane #wordList[currentGroup="En"]
{
  background: white;
  color: black;
  font-size: 20px;
}
2010-11-15 18:22:35 +03:00
Konstantin Isakov 921c42088d Implement Credits window in the About dialog to show project contributors.
The actual credits file is to be fully populated yet.
2010-11-14 19:28:50 +03:00
Konstantin Isakov 953d9237a3 Update copyright to span to 2011.
Better early than late, this year is ending anyway.
2010-11-14 18:47:03 +03:00
Konstantin Isakov c2b0edd4b7 Update project domain name (goldendict.berlios.de -> goldendict.org) 2010-11-06 12:40:07 -07:00
ars aad0f9b4c1 added drop-down tab list 2010-09-16 20:52:40 +02:00
Konstantin Isakov be23f54914 Generate the exact version string via Git. 2010-07-02 21:15:51 +04:00
Konstantin Isakov 71519ff19b Add support for zooming fonts in word list and translate line. 2010-07-02 15:19:02 +04:00
Konstantin Isakov 15d3ccbc83 Properly handle QApplication::commitData(), hopefully providing proper config file saving when the system shuts down. 2010-06-28 19:14:07 +04:00
Konstantin Isakov 04bdf3aa36 For websites and forvo, don't add dummy word search results (as they don't have any index to search in) -- instead, make results empty, but mark the search uncertain, and don't mark the word input line as reddish in that case.
This is just a refinement on how the word search is done in the dictionaries
that don't actually ability to search words in. Previously they emitted dummy
italicized suggestions, which were getting in the way. Now they don't emit
anything, but mark the search as uncertain. Any uncertain searches don't mark
the word input with the different color to indicate the search has failed.
2010-06-22 16:43:11 +04:00
Konstantin Isakov ab88fa4867 Drop the src/ directory. It's superfluous. 2010-05-15 16:42:18 +04:00
Renamed from src/mainwindow.cc (Browse further)