David Rosca
c3bead5ed7
LocationCompleterView: Completely remove the hovered index tracking logic
2017-08-11 13:01:41 +02:00
David Rosca
6bceef43e2
LocationCompleter: Don't change selected index with mouseover
...
Also render proper item state (selected / under mouse) in delegate.
2017-08-11 12:56:55 +02:00
David Rosca
9e8614447e
LocationCompleterDelegate: Better logic for limiting URL length
2017-08-11 12:42:07 +02:00
David Rosca
029aa6823b
LocationCompleterView: Don't propagate Esc key press
2017-08-11 12:32:23 +02:00
David Rosca
16b3a74aa1
LocationCompleter: Add persistent first item that shows used search engine
...
Or in case searching from location bar is disabled or entered text
is valid URL, it indicates that this URL will be loaded.
2017-08-11 12:32:18 +02:00
David Rosca
05492a89e6
LocationCompleterView: Fix selecting items with mouse
...
See #2365
2017-07-19 12:39:36 +02:00
David Rosca
9f266ac1e0
LocationCompleterView: Only use special window flags on xcb platform
2017-07-19 12:26:26 +02:00
Elvis Angelaccio
2a2c49ca47
Ensure transient parent window for LocationCompleterView
...
This makes sure that the completer listview is properly positioned on
wayland. Tested with Qt 5.9 RC.
Closes #2344 .
2017-06-08 09:47:39 +02:00
David Rosca
281919fc4d
LocationCompleterView: Use custom window type only on X11
...
Closes #2287
2017-04-02 16:35:38 +02:00
David Rosca
b95a8be600
LocationCompleterView: Fix window type on Wayland
...
Closes #2236
2017-02-26 20:27:37 +01:00
David Rosca
71b06197ef
LocationCompleterView: Use better window type
...
It is no longer modal, so it doesn't break shortcuts.
Closes #2213
2017-02-13 21:01:21 +01:00
David Rosca
85f8cf881e
Fix drawing text with correct color in item delegates on Windows
2017-02-07 15:47:41 +01:00
David Rosca
e21636c661
Add more HighDPI ready icons in data/icons/menu
2016-12-29 15:07:34 +01:00
David Rosca
82e9d0c0ee
LocationBar: Complete domain when going back to original text
2016-12-29 12:11:40 +01:00
David Rosca
23af6c3af7
Fix drawing correct text color in custom item views
2016-12-26 19:41:06 +01:00
David Rosca
c7fa3101db
LocationCompleterRefreshJob: Use IconProvider to load icons
...
IconProvider can now be used from different threads
2016-12-20 12:19:51 +01:00
David Rosca
c2d38dfb7d
SqlDatabase::query now modifies the passed SqlQuery
2016-12-20 11:22:31 +01:00
David Rosca
56399c0fab
Fix use of deprecated QStyleOptions
2016-04-24 10:17:13 +02:00
David Rosca
2f80ca55ef
IconProvider: Prefer theme icon for bookmarks
2016-01-27 12:44:19 +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
072f459ba5
Fix crash when using locationbar with show switch tab option disabled
...
Closes #1749
2015-12-03 10:01:30 +01:00
David Rosca
8d7cfb0e2a
Remove some Qt 4 specific code
2015-02-26 12:17:47 +01:00
David Rosca
eec67d1941
Fix building with Qt 4.7
2014-09-26 19:28:24 +02:00
David Rosca
13b1614e11
Use std::sort instead of obsolete qSort
2014-09-25 14:13:26 +02:00
David Rosca
f55dcdf63c
[LocationCompleter] Force updates of inline domain completer
...
Model for inline domain completion is updated asynchronously, so it is
needed to force the update of completer.
This was last regression of completer after switch to threaded searching
in history/bookmarks.
2014-06-26 15:42:38 +02:00
David Rosca
5558d32d82
Merge pull request #1376 from srazi/loc-highlighter
...
New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
2014-06-17 14:56:51 +02:00
David Rosca
7cbc588cc1
[LocationCompleter] Sort results by last visit date
...
Closes #1390
2014-06-17 14:55:32 +02:00
S. Razi Alavizadeh
5bd24400e1
[LocationCompleter] Cancel unneeded refresh jobs
2014-06-13 23:55:49 +04:30
S. Razi Alavizadeh
a32e809bf6
Escape SQLite wildcards when using LIKE clause
2014-06-13 23:52:44 +04:30
S. Razi Alavizadeh
5a183a1a8d
[LocationCompleter] Correctly elide text also fixed compile on Qt5.
2014-06-06 07:00:30 +04:30
David Rosca
59b893075a
[LocationCompleter] Fix showing icons after last commit
2014-05-30 22:06:58 +02:00
S. Razi Alavizadeh
666ecc4d01
[LocationCompleter] Don't leak when query icons,
...
- it seems it's a fix for #1299
2014-05-30 07:58:51 +04:30
S. Razi Alavizadeh
877266b418
[LocationCompleter] New highlighter algorithm using QTextLayout that fixes rendering of RTL strings.
2014-05-29 23:35:28 +04:30
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
a9eba60da2
[LocationCompleter] Pause updates when removing items from completer
...
Also adjust the size of popup after removing items + close it after
removing last item.
2014-03-16 17:24:10 +01:00
nowrep
72904a80c3
[LocationBar] Major cleanup. New code to change color of text parts
...
The code to change color of host of url is completely new.
It doesn't use any paint hacks anymore. That means text in
locationbar will now be always rendered pixel perfect, as it would
with normal QLineEdit.
Cleanup in LocationCompleter. It is now using QCompleter in inline
mode to complete domain. It is still not ideal, eg. it refreshes
and show the domain completion with delay (job run in separate thread),
and sometimes it misses it completely.
WebSearchBar: Always complete when receiving suggestions. Fix issue
when suggestions were only showed after typing at least 2 characters.
2014-03-15 23:22:35 +01:00
nowrep
c395f19524
[BrowserWindow] Create shortcuts with QShortcut instead manually in keypress
...
This fixes eg. Ctrl+W writing W in locationbar
2014-03-15 19:58:19 +01:00
nowrep
7e57cb63f5
[LocationCompleter] Run completions search in separate thread
...
Currently, there is one issue with inline domain completion. It is
also searched from the separate thread, and thus it gets displayed
after a small delay.
Closes #1135
2014-03-15 19:36:03 +01:00
nowrep
2e9ce1ba90
[CodeCleanup] Major cleanup in MainApplication class
2014-03-10 00:47:07 +01:00
nowrep
edbb87bd1f
[CodeCleanup] IconProvider now have static methods for getting icons
2014-03-07 18:03:42 +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
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
5e4f703ef2
[Code] Renamed qz_namespace.h to qzcommon.h
2014-02-26 20:03:20 +01:00
nowrep
7d98a162d6
[Code] Fixed cppcheck issues
2014-02-22 15:23:46 +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
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
9a5a795449
[LocationCompleterModel] Simplify createQuery function
...
It is no longer needed to search for bookmarks in database
2014-02-09 17:35:43 +01:00
nowrep
395b865d55
[Bookmarks] Various smaller changes
...
BookmarksTreeView: Select & ensure visibility of newly added bookmark
BookmarksTools: Added function to open folder in tabs
LocationCompleterModel: Removed bookmarks bits in createQuery
QupZilla: loadAddress now opens new tab if current tab is pinned
2014-02-09 15:09:04 +01:00