1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 11:02:19 +01:00
Commit Graph

65 Commits

Author SHA1 Message Date
Mladen Pejaković
3a3e7341a2 Thematic changes 2014-01-05 00:44:36 +01:00
S. Razi Alavizadeh
68cdba9e3a Fixed some small issues when re-loading settings. 2014-01-02 15:40:23 +03:30
nowrep
93927dfa1e [TabPreviews] Do not show tab previews when they are disabled in prefences 2014-01-02 10:48:59 +01:00
nowrep
da15e5868d [CodingStyle] Don't use references when assigning to local variable
Let the compiler do the optimization
2013-12-30 13:43:48 +01:00
nowrep
4265b90643 [TabPreviews] Another tab preview behavior tweak 2013-12-29 14:50:12 +01:00
nowrep
e78e0fe498 [TabPreviews] Only hide preview on LeaveEvent when cursor is outside tabbar.
For some reason, tabbar receives first leave event (after first preview
is shown) even when cursor is inside tabbar rect, which leads to this
first tab preview being shown -> hidden and then again shown.
2013-12-28 17:25:41 +01:00
nowrep
1b3c9e38ea [TabPreviews] Don't show tab preview when moving tab 2013-12-28 17:12:24 +01:00
nowrep
5828d57277 [TabBar] Fixed crash in tabSizeHint (division by zero). 2013-12-26 19:52:07 +01:00
nowrep
4ed66114e7 [TabPreviews] Only show previews after a small delay of mouse at tab
Instead of showing previews on ToolTipEvent, which would be fired
immediately if moving from one tooltip to another, it now always show
preview after a set small delay.
This delay have been changed to 300 msecs from original 200 msecs.
2013-12-24 11:58:00 +01:00
nowrep
cf87a9895e [TabPreviews] Immediately hide preview when using mouse wheel in tabbar 2013-12-24 00:18:28 +01:00
nowrep
3bfa8cecaa [TabPreviews] Fix some small tab preview issues with ComboTabBar 2013-12-24 00:01:35 +01:00
nowrep
6fcbefc7b1 TabBar: Edit sizes of tabs. Minimal tab width is now 100 2013-12-23 20:31:05 +01:00
S. Razi Alavizadeh
bff614144b Added TabStackedWidget + ComboTabBar
Set of patches:
Introduce TabStackedWidget+ComboTabbar
[Windows] Fix enabling blur background in fullscreen
[ComboTabBar] Fix some issues with pinned tabs
[ComboTabBar] Don't use pointer to integer,
Implement TabStackedWidget::keyPressEvent() and fix changing tab by wheel event
Fix animation delay of dragged tab's buttons.
[ComboTabBar] Add themable scrollButtons
2013-12-23 20:30:54 +01:00
nowrep
4f3aba95ff [TabBar] Ask user before closing all other tabs.
Closes #1088
2013-11-21 18:37:59 +01:00
nowrep
2554ad9870 Coding style: Uninline public functions 2013-06-30 12:41:01 +02:00
nowrep
99b35a19b5 Use palette colors for indicating not yet loaded tabs.
Also fixed compile issue from previous commit.
2013-06-18 11:03:52 +02:00
nowrep
9be2b6f5ca Fix "Hide tabbar with only one tab" option to work also with fullscreen.
Closes #927
2013-06-06 13:14:12 +02:00
nowrep
09a1bec467 Added option to detach tabs into own window.
Closes #441
2013-05-13 22:01:36 +02:00
nowrep
42e0f535fe [Tabs] Use theme icons for tab-new and tab-duplicate. 2013-05-12 23:14:35 +02:00
nowrep
087eb93ecb [Code] Improved cppcheck script and fixed all warnings. 2013-04-28 17:50:09 +02:00
nowrep
655259456c Properly fix 5740873ed6
Previous commit introduced new bug, background tabs didn't have close
buttons.
2013-04-23 10:01:40 +02:00
nowrep
5740873ed6 Fixed incorrectly showing close buttons on tabs after restoring session.
Only reproducible when tabs overflows the tabbar.
Also fixed build warning on Windows.
2013-04-17 13:35:32 +02:00
nowrep
ab8496610e [TabPreview] Don't show tab previews while dragging tabs. 2013-03-11 15:14:50 +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
nowrep
50e993e014 [TabBar] Compute minimum tab sizes with ProxyStyle pixelMetrics.
It will make it possible for styles to basically style tabs.
2013-03-03 20:20:49 +01:00
nowrep
aa2f6664bf Quick fix for previous commit. 2013-03-02 23:18:49 +01:00
nowrep
1f5df24a44 [TabBar] Position of add tab button was incorrect sometimes.
Fixed showing add tab button always at correct position.
Also removed duplicate code in tabSize.
2013-03-02 18:15:05 +01:00
S. Razi Alavizadeh
1320a6cf03 [Mac] Fixed rendering of tab's buttons. 2013-02-20 23:52:38 +03:30
nowrep
945b40f2a5 Improved showing navigation in fullscreen.
It will now hide navigation toolbar after 1 second instead
of hiding it instantly when on mouse leave.
2013-02-09 15:44:17 +01:00
nowrep
83f3c90752 Added option to show tabs on top.
You can change it in Menu View -> Toolbars

Closes #640
2013-02-09 13:00:45 +01:00
nowrep
8cc303a355 Fix possible crash on startup.
Don't calculate space for tab if the available
space is negative.
2013-01-19 16:34:19 +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
S. Razi Alavizadeh
15cc84f1b1 Fixed the issue about computing of rounding errors 2012-12-11 12:24:40 +03:30
S. Razi Alavizadeh
9db9c89eb8 A better size-hint for active tab.
-Now the active tab has enough space for its close button.
2012-12-10 02:56:25 +03:30
nowrep
889e2743f5 New icons for 'new-tab' and 'tab'
Also added icon to 'Switch to tab' text in
locationbar completer popup.
2012-12-08 14:10:30 +01:00
Franz Fellner
d08ec28d70 remove CloseButton::hideEvent()
That causes crashes when entering/leaving fullscreen mode when the tabbar has non-closable tabs.
deleteLater() in the hideEvent left a dangling pointer in the corresponding QTabBarPrivate::Tab.
The next re-layout of the tabs caused the crash when querying the size of the deleted closeButton:

[...]
2012-10-24 18:24:39 +02:00
nowrep
62ac0e2fde More QLatin1String and QLatin1Char work 2012-09-05 19:58:07 +02:00
nowrep
c71cf910cb TabBar: If not enough space, show close button only on current tab
- removed "Show close button on tabs" option as it is now redundant
2012-09-03 22:40:52 +02:00
nowrep
30b8eaf44e Another Oxygen workaround for pinned tab width.
- it now also center site icon in the tab
2012-09-03 15:28:37 +02:00
nowrep
3065d58b25 Fixed width of pinned tab with Oxygen theme.
- also added runtime check of current Qt theme in use
2012-09-03 13:24:29 +02:00
nowrep
cff5fce5da Fixed showing close buttons on pinned tabs.
- regression from 1e5b7d92cd
2012-09-02 14:18:07 +02:00
nowrep
1d919e0172 Fixed width of pinned tabs on all Qt styles.
closes #518
2012-09-02 12:22:11 +02:00
nowrep
cf2c28cfdb Updated coding style 2012-08-31 15:19:07 +02:00
nowrep
1e5b7d92cd Hiding close buttons when there is not enough space in tabbar
- to partially prevent overflowing tabs into tab buttons
- it is now possible to show 24 tabs in tabbar in
  640*480 window without overflowing

closes #527
2012-08-27 14:02:35 +02:00
S. Razi Alavizadeh
89f9fc9ac2 Added support for Right To Left layout direction and also themes support RTL! 2012-08-13 09:26:21 +02:00
nowrep
4017c5303e Fixed issue with setting tabs movable
- regression from previous commit
2012-06-27 00:14:51 +02:00
nowrep
1a5ad1413b Preferences: New option "Automatically switch to newly opened tabs"
- also removed unnecessary option to make tabs movable
   * everyone wants the tabs to be movable :-)

closes #382
2012-06-26 23:39:23 +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
98d51b0661 Code cleanups 2012-04-21 22:19:35 +02:00
nowrep
90870cff11 Added option to completely disable tab previews.
- only classic tooltip contains full page title will be
  displayed

closes #374
2012-04-10 18:29:22 +02:00