1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-23 02:32:10 +02:00
Commit Graph

154 Commits

Author SHA1 Message Date
nowrep
9c7d6e9795 [BookmarksToolbarButton] Final fix for rendering issues with various styles
It now works correctly with Windows, Gtk+, Oxygen and Fusion theme with
both Qt4 and Qt5.
The only theme that doesn't work correctly is Bespin, because it draws
icon size animation upon hover, but we are drawing the icon and text
manually. I think there is not much to do with it actually...
2014-03-26 10:11:30 +01:00
nowrep
ab638a5525 [IconProvider] Use fallback oxygen icon theme (in oxygen-fallback.qrc)
Instead of manually setting fallback icons, use globally fallback theme.
2014-03-24 16:09:30 +01:00
nowrep
3c0576fcfa [BookmarksToolbarButton] Improved rendering of bookmark button
It now correctly draws hover state. It now also supports shifting
contents for Down state
2014-03-24 12:51:42 +01:00
nowrep
a0dba6bd32 [BookmarksToolbarButton] Only fix down state rendering when button is folder
Eg. when the button has menu
2014-03-23 23:54:09 +01:00
nowrep
fe0b03fdb7 Include QDebug in qzcommon.h
It's annoying to always include it just to remove a moment after...
2014-03-16 13:22:41 +01:00
nowrep
d3e8cbac97 Fixed building after recent commits
Closes #1257
2014-03-11 09:12:37 +01:00
nowrep
4fb58a6202 [Strings] Small changes in translation strings
Always use HTML in caps + don't translate file filters (.html here)
Use "Import and Export" everywhere
2014-03-10 21:37:20 +01:00
nowrep
2e9ce1ba90 [CodeCleanup] Major cleanup in MainApplication class 2014-03-10 00:47:07 +01:00
nowrep
214279e3bb [DataPaths] Added new class DataPaths
This class holds all paths now (instead of MainApplication)
Renamed ProfileUpdater -> ProfileManager
ProfileManager is now responsible for all operations with profiles
2014-03-09 21:51:42 +01:00
nowrep
0e9fcc2113 [Building] Fixed building on Qt 5 & without Hunspell
BookmarksExportDialog: Align "Format" label to the right
2014-03-07 23:59:12 +01:00
nowrep
875d48b580 [Bookmarks] Save bookmarks after restoring defaults 2014-03-07 23:21:06 +01:00
nowrep
edbb87bd1f [CodeCleanup] IconProvider now have static methods for getting icons 2014-03-07 18:03:42 +01:00
nowrep
f33552320f [AutoSaver] Rework AutoSaver so each object can use own instance
Instead of saving everything in MainApp::saveStateSlot, save each object
separately. As a result, this will save a lot of writes to disk.

Other changes includes:
Saving bookmarks also in private mode. Closes #1208
Cleanup of code
2014-03-06 16:12:36 +01:00
nowrep
688455158c [Bookmarks] HtmlImporter: Fixed filter for html files
See #1228
2014-03-04 14:16:58 +01:00
nowrep
82ca226127 [Code] Use QTime::elapsed() for timing 2014-03-03 12:55:35 +01:00
nowrep
c7a31c57e0 [CodeCleanup] Use QMouseEvent::button() in mouse release events
In press/move events, use QMouseEvent::buttons() instead
2014-03-01 14:12:50 +01:00
nowrep
5ad76995a2 [BookmarksSidebar] Enable only SingleSelection in sidebar 2014-03-01 14:06:44 +01:00
nowrep
b826ebc52a [LocationCompleter] Support Ctrl / Shift activation of items
Ctrl activation: Opens url in new tab
Shift activation: Opens url in new window
Closes #1245

Bookmarks: Update visit count also from location completer
BookmarkItem: Added new method updateVisitCount
2014-03-01 14:05:44 +01:00
nowrep
a9bce8c775 [Code] Moved history menu into separate HistoryMenu class 2014-02-27 22:53:56 +01:00
nowrep
5e4f703ef2 [Code] Renamed qz_namespace.h to qzcommon.h 2014-02-26 20:03:20 +01:00
nowrep
5cf7d0b9a9 [Bookmarks] Add new action to open bookmarks in private window
Closes #995
2014-02-22 15:20:54 +01:00
nowrep
77e8afb5ec [Bookmarks] Force icons visible in bookmarks menu
For example, Gnome3 has icons hidden in menu by default

Closes #1215
2014-02-20 16:56:08 +01:00
nowrep
afae00e4a2 [Cleanup] Rename export macro to just QUPZILLA_EXPORT 2014-02-19 22:12:32 +01:00
nowrep
404fa68a1b [Cleanup] Renamed QupZilla class to BrowserWindow 2014-02-19 22:07:21 +01:00
nowrep
65a47fd450 [LocationCompleter] Speedup searching in Bookmarks & History
See #1135
2014-02-18 16:17:22 +01:00
nowrep
b8f8e3753f [Bookmarks] Added Export dialog + HTML Bookmarks Exporter 2014-02-17 12:13:26 +01:00
nowrep
daa3f07426 [FirefoxImporter] Support importing full bookmarks structure 2014-02-16 15:39:59 +01:00
nowrep
680ed27c22 [BookmarksImportDialog] Draw separators in imported bookmarks treeview 2014-02-15 22:18:11 +01:00
nowrep
763183be88 [OperaImporter] Support importing full bookmarks structure 2014-02-15 22:07:52 +01:00
nowrep
650558dea6 [ChromeImporter] Support importing full bookmarks structure 2014-02-15 20:53:03 +01:00
nowrep
5301495966 [BookmarksImport] Added back button to import dialog + other small changes
Also moved all bookmarks import classes to bookmarks/bookmarksimport
2014-02-15 01:49:12 +01:00
nowrep
09893f20b4 [BookmarksImport] Create new base BookmarksImporter class
Also moved all importers into bookmarks/import folder
2014-02-15 00:17:31 +01:00
nowrep
23b55d9158 [BookmarksImport] Show full structure of imported bookmarks
BookmarksModel can now be used with arbitrary root item independently
of main bookmarks root item.
2014-02-14 21:13:08 +01:00
nowrep
d422ce3767 [Models] Decrease the delay for filtering to 300ms 2014-02-14 20:28:25 +01:00
nowrep
f9d3c102ec [Cleanup] QTimer::start() restarts timer if it is already running 2014-02-14 19:31:35 +01:00
nowrep
851e19ce01 [Bookmarks] Fixed assert when migrating bookmarks
Assert when user had bookmark with folder that doesn't exists
Also save bookmarks as soon as they are migrated

Closes #1213
2014-02-13 16:35:52 +01:00
nowrep
801284eda0 [BookmarksToolbar] Don't hardcode height of buttons
Also don't "hide" (=resize only to layout spacing * 2) toolbar
when there is no bookmark in it.
2014-02-12 11:42:01 +01:00
nowrep
d4d31d2daa [Bookmarks] Improved drawing of separator
Instead of QFrame::Line, use actual ToolbarSeparator.
Also add separator into toolbar for default bookmarks.json
2014-02-11 15:33:02 +01:00
nowrep
6d7761ebe9 [BookmarksTreeView] Show focus on whole row, not each column separately 2014-02-11 14:34:02 +01:00
nowrep
3d2f2ff8fb [BookmarksToolbar] Clear button's mouseouver state after closing menu 2014-02-11 10:24:44 +01:00
nowrep
35fb5cecad [Json] Removed dependency on QJson
QtScript is now used instead of QJson. QtScript is available on both
Qt 4 & Qt 5 and also as side benefit, is TWICE as fast as QJson!
2014-02-10 23:33:12 +01:00
nowrep
0b8b969535 [Bookmarks] Fixed migrating bookmarks
Folders in unsorted bookmarks were lost during migration
2014-02-10 21:12:08 +01:00
nowrep
a19164c1f9 [Bookmarks] Final cleanup 2014-02-10 17:55:05 +01:00
nowrep
283960f33e [Bookmarks] Added default bookmarks.json file
Default browsedata.db now also contains icons for default bookmarks.
2014-02-10 17:51:52 +01:00
nowrep
c39c8d66fb [BookmarksToolbar] Dropping url on folder adds bookmark to this folder
Also allow to drop only url (when text in MimeData is missing)
2014-02-10 17:13:19 +01:00
nowrep
75f3460a27 [Bookmarks] Automatically migrate bookmarks from SQLite to JSON 2014-02-10 16:58:43 +01:00
nowrep
ad615316c8 [Bookmarks] Cache bookmark's icon for 20 seconds
BookmarksToolbarButton: Draw button according to BookmarkItem, not
text and icon properties
2014-02-10 16:03:29 +01:00
nowrep
338a6f991e [BookmarksSidebar] Activate bookmarks on mouseRelease
So it doesn't interfere with bookmarks reordering
2014-02-10 15:09:51 +01:00
nowrep
1d822d3a03 [Bookmarks] Importing bookmarks now works
It will however need a complete rewrite, the code is really bad.
HtmlImport: Supports importing bookmarks with full structure
2014-02-10 14:57:48 +01:00
nowrep
284e58ebca [Bookmarks] Cleanup in Bookmarks class 2014-02-10 12:58:34 +01:00