David Rosca
060011e466
Use qMax and qAbs instead of std functions
...
Closes #2169
2017-01-21 21:23:36 +01:00
David Rosca
0584037a4f
HTML5PermissionsNotification: Remove icon of the requested feature
2017-01-21 16:37:42 +01:00
David Rosca
eeef5da06c
WebTab: Show notifications over webview
...
Mouse grab permission workaround now can be removed as the notification
(and mouse cursor) is inside webview
2017-01-21 16:33:32 +01:00
David Rosca
5cc7dd080e
Fix scrolling with high resolution mouse/touchpads
...
Use helper class to accumulate "common steps" of 120 angle delta.
2017-01-21 12:23:53 +01:00
David Rosca
f701642e34
PageThumbnailer: Take into account devicePixelRatio
2016-12-31 16:24:51 +01:00
David Rosca
9b3fc5f404
Update ignored schemes for saving history and icons
2016-12-31 14:53:06 +01:00
David Rosca
c5e5a679bd
Fix generic webpage icon with HighDPI
2016-12-30 17:20:01 +01:00
David Rosca
68e0425bde
Hide tab icon when page icon is null
...
Completely hide the tab icon instead of showing generic webpage icon
when page icon is null.
2016-12-30 17:16:30 +01:00
David Rosca
6afc433ac8
Another HighDPI icons
2016-12-30 16:04:37 +01:00
David Rosca
9a356a61d5
Another HighDPI icons fixes
2016-12-29 16:48:09 +01:00
David Rosca
e21636c661
Add more HighDPI ready icons in data/icons/menu
2016-12-29 15:07:34 +01:00
David Rosca
485df77880
IconProvider: Store icon urls without trailing slash
2016-12-29 12:37:36 +01:00
David Rosca
d5b50edc1e
PageThumbnailer: Hide scrollbars when taking page screenshot
2016-12-27 18:02:42 +01:00
David Rosca
95603f652d
Fix some warnings in js scripts
2016-12-27 16:51:19 +01:00
David Rosca
157889db70
QzTools: Fix createPixmapForSite with HighDPI
2016-12-27 14:15:01 +01:00
David Rosca
0ca133bfaf
Always use QPointF for positions on webpage
...
Also take zoom into account when setting scroll position
2016-12-27 11:58:29 +01:00
David Rosca
23af6c3af7
Fix drawing correct text color in custom item views
2016-12-26 19:41:06 +01:00
David Rosca
6117f468f4
Cleanup in Clear Recent History dialog
...
Also adjust paths to QtWebEngine
2016-12-24 00:15:37 +01:00
David Rosca
8a2fc0862f
Fix performance when querying icons from database
...
Make use of the index on icons column by using GLOB
instead of LIKE and handle the escaping ourselves.
Closes #1679
2016-12-20 14:19:58 +01:00
David Rosca
3a9e0501df
Fix saving new icons in database
...
Regression from 38bf9d2b4a
2016-12-20 12:33:43 +01:00
David Rosca
34cc74ab18
Drop the threaded icon loading completely
...
Also fix icons in buttons in bookmarks toolbar
2016-12-20 12:16:12 +01:00
David Rosca
c2d38dfb7d
SqlDatabase::query now modifies the passed SqlQuery
2016-12-20 11:22:31 +01:00
David Rosca
d19f5de7bf
SqlDatabase: Skip copy when executing query on main thread
2016-12-11 11:05:51 +01:00
David Rosca
5fb492d033
Load icons asynchronously in History and Bookmarks models
...
See #1679
2016-12-11 10:24:10 +01:00
David Rosca
ca3d29d917
BookmarkItem: Only try refreshing icons when icon was not found
2016-12-11 09:25:08 +01:00
David Rosca
c4804600b2
Load bookmark icons for menus in separate threads
...
Should help with #1679
2016-12-11 00:12:38 +01:00
David Rosca
f9c7ed9759
Drop qwebchannel.js copy and use it from qrc instead
2016-12-01 23:04:00 +01:00
David Rosca
f785d81c41
Fix creating QWebChannel on first QWebEnginePage load
...
The "qt" object may be undefined at the time QWebEngineScript
that creates web channel is being run. Try to create the web channel
until it finally succeeds in 100ms intervals.
Fixes the "Uncaught ReferenceError: qt is not defined" error message.
2016-11-04 10:59:28 +01:00
Vladislav Tronko
e56d01fec9
Distinguish clicked and controlclicked in ToolButton
2016-08-23 08:59:01 +02:00
David Rosca
d9202d1286
Windows: Detect new Windows versions
2016-06-14 13:15:28 +02:00
David Rosca
cfe49a5719
Use QSysInfo to obtain cpu architecture
2016-06-14 13:13:53 +02:00
David Rosca
a1cf84572d
Use platformName() to check for X11 platform
2016-06-14 11:58:38 +02:00
David Rosca
766a661bfe
Use cpu architecture with os name everywhere
2016-06-14 11:01:22 +02:00
David Rosca
e5de2a2403
Update UA strings + add architecture to OS string
2016-06-14 10:38:49 +02:00
David Rosca
f93ea0e199
Fix use of deprecated QStyleOptions
2016-04-24 10:49:54 +02:00
David Rosca
6eb0693e7d
Remove FollowRedirectReply
...
QNetworkAccessManager now supports redirects, so there is
no need for it anymore.
2016-03-20 19:59:52 +01:00
David Rosca
7b726970f3
Remove unused IconFetcher
2016-03-20 19:51:26 +01:00
David Rosca
3d5f45bfc5
Don't use custom script for toggle play/pause and mute
2016-02-28 18:25:30 +01:00
David Rosca
a37fadd8dc
Don't use C++11 for with Qt containers
2016-02-27 22:13:33 +01:00
David Rosca
f46364bc55
Fix typo changeOcurred -> changeOccurred
2016-02-26 10:43:34 +01:00
David Rosca
2f80ca55ef
IconProvider: Prefer theme icon for bookmarks
2016-01-27 12:44:19 +01:00
David Rosca
0b0041af41
WebSearchBar: Show the search engine menu relative to lineedit
2016-01-25 14:43:12 +01:00
David Rosca
0aa64de13a
IconProvider: Use theme icon for settings icon
2016-01-25 13:51:08 +01:00
David Rosca
e4abb59d3a
QzTools: Return empty url when pixmap is null in pixmapToDataUrl
2016-01-24 15:47:42 +01:00
David Rosca
2a5c6ecfa1
ClickableLabel: Fix resizing icon with label
2016-01-24 13:03:16 +01:00
David Rosca
31508f2907
ToolButton: Bring back fallbackIcon property
2016-01-24 12:28:58 +01:00
David Rosca
3e0583377d
Fix handling Enter key in keypad in shortcuts
...
Closes #1792
2016-01-02 19:58:54 +01:00
David Rosca
cbc83e81ba
Remove dependency on deprecated QtScript
2015-12-18 11:25:45 +01:00
innermous
5801ff0725
WebTab: Save/Restore zoom level on restart
2015-12-17 22:21:31 +01:00
David Rosca
9f6ec040bb
QzTools: Add actionShortcut function
2015-11-12 17:00:43 +01:00