nowrep
d17584d944
[ComboTabBar] Rework tab scrolling animation
...
Using OutQuad easing curve and restarting animation on new wheel events
make the scrolling feel a lot better.
Wheel scrolling behavior:
horizontal wheel event: slower scrolling
vertical wheel event with control modifier: faster scrolling
vertical wheel event with other(+no) modifiers: fast scrolling
2014-02-12 16:28:12 +01:00
nowrep
7cefc22c0a
[Flicker] Fixed flicker when opening new tabs with sites that loads instantly
...
Eg. this happens for internal qupzilla: pages
Also early set locationbar's url to newly opened tab's url.
2014-02-12 13:50:06 +01:00
nowrep
4d211e0098
[ComboTabBar] Hopefully fixed all issues with wrong mouseover state for tabs
...
Repaint the whole tabbar on enter and leave events, so all tabs are
rendered with correct mouseover state.
2014-02-12 11:16:06 +01:00
nowrep
47496501eb
[ComboTabBar] Correctly set height of pinned tabbar
...
Both tabbars will now have the same height.
This commit fixes incorrect drawing of line under pinned tabs when
moving tabs with Oxygen theme.
Also removed unused maxVisiblePinnedTabs property
2014-02-11 10:55:05 +01:00
nowrep
ed13086e1d
[ComboTabBar] Fixed draw issues with Oxygen theme
...
Always draw a selected tab in paint event. If the tab is not active,
let's just move the selected tab outside the tabbar's rect
2014-02-11 10:24:00 +01:00
nowrep
f7806bed7d
[ComboTabBar] Fixed incorrectly changing current index when closing tabs in inactive tabbar.
2014-02-10 19:49:09 +01:00
nowrep
d21d6c43a0
[ComboTabBar] Fixed flickering when removing tabs from tabbar
2014-02-09 14:26:03 +01:00
nowrep
555453a7e2
[ComboTabBar] Fixed isOverflowed() for empty tabbar.
...
It returned true for empty tabbar. Switching tabs with
mouse wheel now works correctly in all scenarios.
2014-01-22 16:57:04 +01:00
nowrep
7cb39aed0b
[TabBar] Added option to always switch tabs using mouse wheel
...
It will switch tabs even when tabs are overflowing.
2014-01-12 16:39:23 +01:00
Jonathan Hooverman
d917f43cf0
Updated copyright year to 2014
2014-01-11 16:11:42 +01:00
nowrep
36d1bed75a
[CodingStyle] Coding style updates in ComboTabBar
2014-01-01 15:57:17 +01:00
nowrep
48079096c2
[ComboTabBar] Middle click on left/right buttons now scrolls to current tab
2014-01-01 15:42:30 +01:00
S. Razi Alavizadeh
7bd48d6674
[ComboTabBar] Don't scroll to current tab on window focus change
2014-01-01 15:15:26 +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
5828d57277
[TabBar] Fixed crash in tabSizeHint (division by zero).
2013-12-26 19:52:07 +01:00
nowrep
e9fccbfb75
[ComboTabBar] Fixed height of tabbar when there are no normal tabs.
2013-12-26 19:46:56 +01:00
nowrep
33615d3f32
Fixed compilation with Qt 5
2013-12-24 17:21:10 +01:00
nowrep
23d402a12b
[ComboTabBar] Setup layout as soon as possible.
...
Also fixed typo widthes -> widths
2013-12-24 12:28:51 +01:00
nowrep
0038fd6cb6
[ComboTabBar] Double click on scroll buttons will scroll to end/start
2013-12-24 00:57:01 +01:00
nowrep
e8bbe53edb
[ComboTabBar] Correctly fix tabAt function
2013-12-24 00:01:18 +01:00
nowrep
b4f3b5962e
[ComboTabBar] Fix tabAt when pos is on right/left scroll buttons
2013-12-23 21:24:41 +01:00
nowrep
ea8b099688
[ComboTabBar] Tweaked appearance of buttons when tabs overflows.
...
Also disabled painting shadow gradient indicationg that tabbar is not
scrolled at the end.
2013-12-23 20:31:56 +01:00
nowrep
3e3d823d95
[ComboTabBar] m_heightIsDirty is not really needed
2013-12-23 20:31:51 +01:00
nowrep
852e197334
[ComboTabBar] Workaround for setting tabbbar height with Oxygen
2013-12-23 20:31:44 +01:00
S. Razi Alavizadeh
23876a3765
[ComboTabBar] Fixed weird scrolling on resizing.
2013-12-23 20:31:12 +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