Commit graph

13 commits

Author SHA1 Message Date
shenleban tongying 32304d4b15 cleanup: remove all useless #include <QDebug>
All Qt Headers already implicitly included it.
2023-03-21 21:15:14 +08:00
Xiao YiFang 91eefed48a fix:status bar when at the startup does not position correctly 2023-03-15 22:58:11 +08:00
Xiao YiFang 61547dff03 feature: refactor the mainstatusbar 2023-03-11 11:04:07 +08:00
shenleban tongying 07e92e8ac1 refactor: upgrade most of macro based Signal/Slot to new syntax 2022-12-25 21:08:17 -05:00
yifang 46b4151cc4 improve: replace all the deprecated method before 5.15 2022-01-08 22:08:23 +08:00
Abs62 cbef0a1a1f Show now indexing for full-text search dictionary name in status line (issue #640) 2015-11-01 16:03:15 +03:00
Abs62 535fe0d3e0 Update year in copyright notices. 2012-02-21 01:47:14 +04: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 74e7a41548 properly adjust status bar position when the main window resizes 2011-07-09 19:05:14 +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 f620fdf63e One more fix for the statusbar behavior on X11 systems.
Now, the statusbar behaves good on all the following tested systems:

* Ubuntu+Gnome
* KDE-Plasma
* XFCE
* Fluxbox manager
2011-06-30 16:50:19 +02:00
Tvangeste a37c4ba67c Workarounds for X11 idiosyncrasies. 2011-06-30 15:13:23 +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