1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 17:42:10 +01:00
Commit Graph

53 Commits

Author SHA1 Message Date
nowrep
d4c6dbd6c2 [Fix] WebSearchBar not respecting "select all on click" option
Closes #752
2013-03-15 11:46:07 +01:00
nowrep
5f5cf7417d [Code] Updated coding style with patched Astyle + normalized signals.
Code was formatted with patched astyle that correctly formats
foreach macro.
Normalize tool is now used to normalize all signal/slots signatures
to normalized format. It saves few reallocations on connections.
2013-03-06 09:08:29 +01:00
S. Razi Alavizadeh
825e14140c [Mac] fixed search highlighting on Mac, see #756, also don't paint cursor when showing popup. 2013-02-24 15:37:14 +03:30
nowrep
b4b1ce03d6 LocationBar: Proper fix for determing when to draw cursor.
Cursor will be properly drawn by Qt when starting writing
into empty lineedit (eg. select all and start typing).
After the completion popup is hidden for the first time, Qt will stop
drawing cursor and will only paint it again after losing and gaining
focus.
2013-02-22 15:20:28 +01:00
nowrep
64e6c36ed4 LocationBar: Fixed drawing cursor at correct position with popup opened. 2013-02-22 00:25:13 +01:00
S. Razi Alavizadeh
72c66cb218 [Mac] RSSManager/AdBlockDialog documentMode was disabled and fixed double cursor problem. 2013-02-21 00:20:07 +03:30
nowrep
789b4c8600 Select all on (double) click also available for websearchbar.
Closes #752
2013-02-12 08:16:05 +01:00
nowrep
09cf53a292 LocationBar: Don't paint cursor when showing most visited in popup. 2013-02-11 13:33:02 +01:00
nowrep
49b1e4c43c [code cleanup] Moved logic of locationbar's icon into separate classes. 2013-02-10 12:28:53 +01:00
nowrep
fcbf1e636b [Fix] Bad behaviour on clicking into selected text in locationbar.
Closes #751
2013-02-09 21:55:23 +01:00
nowrep
67d6d380cd [AutoFill] Added password icon into locationbar to choose username.
Closes #735
2013-02-08 18:44:26 +01:00
S. Razi Alavizadeh
e3db93740b Better RTL support for LocationCompleter and add direction property to dirlist.html 2013-02-04 15:14:56 +03:30
nowrep
780106ddd0 Draw cursor in locationbar when completion popup is shown.
Closes #645
2013-01-28 19:38:03 +01:00
nowrep
a34a72cdb8 Moved all cookies settings into Cookies Manager. 2013-01-23 01:34:15 +01:00
nowrep
e28f9d438e [Code] qz_ prefixed functions moved to QzTools namespace. 2013-01-22 19:04:22 +01:00
nowrep
89e091f09c Qt5: Main code has been edited to support both Qt4 and Qt5
It doesn't include plugins yet.
Even thought the app can be built with Qt5 now, it won't run.
I am still working on a fix.
2012-12-20 14:45:35 +01:00
nowrep
ba84fa2d7a [Code] Small changes in showing context menu in url and searchbar
- may fix occasional crashes in Ubuntu
2012-10-11 19:57:12 +02:00
Franz Fellner
e08428a6d1 Force a LineEdit::paintEvent after a setCursorPosition, in order to
trigger a recalculation of the visible text rect.
2012-10-07 13:22:45 +02:00
nowrep
fa1ee13611 Open bookmark (in new tab) from menu in bookmarks toolbar
closes #601
2012-10-05 22:15:18 +02:00
Franz Fellner
00d9f99f9c Adjusted themes main.css to get a vertically centered contentsRect.
Also adjusted mac siteicon-[secure]-bg.png to not have opaque pixels, which would cut content (e.g. Top progress bar).
Filled bar is now drawn independent of textRect.
2012-09-30 11:05:31 +02:00
Franz Fellner
04e8df6e48 Add option to set a default search engine and use that for searching in address bar. 2012-09-27 11:59:09 +02:00
Franz Fellner
620e2a5ea2 Render the bar darker, if set to "Top" or "Bottom", as the small bar could be too hard to recognize.
Also set m_progressVisible only to false (in hideProgress), if m_loadProgress==100. If the user clicks
a link during the 700ms-timeout, the bar shows for a short time and hideProgress sets m_progressVisible to false, though
the page still is loading, which hides the bar in mid-run.
This also fixes the weird behaviour of the progressbar on session-restore.
2012-09-20 10:04:18 +02:00
Franz Fellner
4bb87822cf Highlight host in locationbar.
To simplify color computation I simply imported the "blib/colors.*" from bespin.
2012-09-19 20:24:41 +02:00
Franz Fellner
8723382b5c Add options to select color+style for progresss locationbar. 2012-09-19 10:08:30 +02:00
nowrep
eb82df9aef Coding style: Moved showing BookmarksWidget into LocationBar 2012-09-14 22:09:58 +02:00
nowrep
7189ff58b4 LocationCompleter: Improved sorting bookmarks by visit count.
- it sorts by visit counts of bookmark's url from history
- count column in bookmarks is not needed after all :-)

Patch by Franz Fellner <alpine.art.de@gmail.com>
2012-09-08 22:52:32 +02:00
nowrep
ba7f919cd5 Location/Search Bar: Always open new active window with Alt+Enter
- in Web Search Bar it can be also opened with middle click on
  magnifying glass button
2012-09-06 12:02:03 +02:00
nowrep
726b11fab3 LocationBar: Show go icon when getting focus with edited text
closes #554
2012-09-06 10:53:37 +02:00
nowrep
528f398cbe Using QLatin1String and QLatin1Char now everywhere
- it saves few unnecessary allocations
2012-09-04 12:42:45 +02:00
nowrep
ec70c7d43d LocationCompleter: Bookmarks results are now ordered by count 2012-09-02 15:19:12 +02:00
nowrep
cf2c28cfdb Updated coding style 2012-08-31 15:19:07 +02:00
nowrep
dd84a84bc0 New option to show loading progress in address bar.
- enable it in Preferences -> Tabs -> Address Bar
- patch by Franz Fellner

closes #236
2012-08-24 20:53:53 +02:00
nowrep
5de31410a4 Fixed padding of text and widgets position in address bar
- after recent RTL commit

closes #500
2012-08-13 15:41:08 +02:00
S. Razi Alavizadeh
341739cf59 LineEdit class uses a new layouting strategy for support RTL direction. theme changed for fulfillment this strategy. 2012-08-13 14:46:56 +02:00
nowrep
e709e17d5c Small cleanup in code (classes holding settings as static variables)
- merged LocationBarSettings and WebSettings into one class
- new class QzSettings no longer uses static variables
2012-08-10 21:16:43 +02:00
nowrep
dd170f653f Using QChar instead of 1-char QString everywhere 2012-07-01 18:50:18 +02:00
nowrep
a37b29b275 Using QString::left instead of QString::mid(0, ) 2012-07-01 18:11:43 +02:00
nowrep
dfb82fb3cc Using user preferred new tab position now everywhere it makes sense.
see #382
2012-06-27 18:05:09 +02:00
nowrep
38ef828b82 Private browsing now opens new browser window (in own process)
- closes #415
2012-06-26 11:49:39 +02:00
nowrep
1e179b3b83 Small improvements in drag&drop.
- dragging is now enabled in locationbar and websearchbar
- dragging site icon has now new pixmap
2012-05-27 14:05:28 +02:00
nowrep
9872f3281f Fixed handling special chars when searching with locationbar shortcuts 2012-05-22 12:11:27 +02:00
nowrep
2055621f2a Show star icon in completer when item is from bookmarks.
- IconProvider has no longer static members
- new macro qIconProvider for accessing IconProvider instance
2012-04-22 20:51:28 +02:00
nowrep
64bdafde87 Completely rewritten whole completion for address bar.
- fixed occasional flickering when typing in address bar
- support for opening completions with pressing Down key
- support for selecting completions with Tab key

closes #105
2012-04-22 17:09:43 +02:00
nowrep
98d51b0661 Code cleanups 2012-04-21 22:19:35 +02:00
nowrep
1744eb759e Fixed issue when history & url haven't been updated sometimes.
- workarounded QtWebKit bug: it didn't emit urlChanged signal

closes #358
2012-03-30 13:43:47 +02:00
nowrep
8e9293e475 Added new page into Site Info: Databases.
- shows all used web databases on the site
2012-03-23 17:29:12 +01:00
nowrep
cf973c46fb Fixed bad behaviour of QWebPage on leaveEvent.
- when leaving web widget, QWebPagePrivate generates fake
  mouse move event, but unfortunately with bad coordinates.
  So sometimes it just hovered a link and the link's url got
  stuck in status bar message.
2012-03-16 15:55:34 +01:00
nowrep
f590ad1925 Removed use of whatsThis() and other code cleanups 2012-03-13 17:51:06 +01:00
nowrep
291468a9ab Showing context menus on event's position.
- some keyboards (usually in laptops) have special key for
  showing context menu
- context menu events from keyboard will now be shown on
  correct position (not on mouse position)
2012-03-09 16:02:27 +01:00
nowrep
b1e38e859d Alt+D shortcut for focusing locationbar. Closes #294 2012-03-03 21:35:02 +01:00