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

58 Commits

Author SHA1 Message Date
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
nowrep
0a50c2d9ef Showing tab previews on ToolTip event now.
- added Alexander Samilov into contributors
2012-04-09 19:45:00 +02:00
nowrep
d03700f917 Added opacity effect on tab previews. 2012-04-09 14:09:40 +02:00
nowrep
e5ce2f5e3d Added animated tab previews (by Alexander Samilovskih)
- thanks a lot for his work!
- option to disable animations in preferences -> tabs
2012-04-08 21:45:40 +02:00
nowrep
9778773199 Using better method for loading translations.
- it can now load xx_CC translation even if xx_DD is
  user's system locale
2012-04-04 18:48:54 +02:00
nowrep
1c883e4ec3 Mac OS X building tweaks + fixing valgrind warnings.
- in mousegestures plugin, don't start gesture when mouse
  is at scrollbar's position
2012-04-04 17:41:33 +02:00
nowrep
abcfc455de Fixed showing icons in some dialogs on KDE + removing local certificates
- also no longer faking double click on middle mouse click on Windows
  to activate "autoscroll" - it could interfere with mouse gestures
2012-03-28 16:42:50 +02:00
nowrep
60c5b81f88 Improved source viewer, it now shows lines and fixed go to line.
- plugins can now register scheme handlers
- tweaked javascript alert window
- initial support for Geolocation & Notifications API
    * question to ask user for permission needs not implemented yet
2012-03-15 19:35:37 +01:00