summaryrefslogtreecommitdiff
path: root/src/tabbar.h
Commit message (Collapse)AuthorAgeFilesLines
* * Split updateTabBar() into two separate methodsYoann Laissus2012-08-141-0/+2
| | | | | | | | | | | | | - updateTabBarVisibility(): used to react only on "alwaysShowTabBar" settings - updateAddTabButton(): used to react only on tabbar changes * Improve handling of the add tab button. updateAddTabButton() is now called on any tab layout changed instead of being called in any function which manipulate tabs. * Use a tab height computed with KTabBar instead of the add tab button height with a magical number. It fixes some issues with the Bespin theme. BUG: 304325
* Clean up headers && fix compilation with (the upcoming) qt 4.8.2Andrea Diamantini2012-04-201-4/+1
|
* Remove "closed tabs menu" from available actions in mainwindowAndrea Diamantini2012-01-171-1/+5
| | | | | | | | | | This because it is just a "working" action designed for the tabbar. Now it works (and updates) properly there and in the tabbar empty space. Please open a new wish if you want a closed tabs menu action to add to the mainwindow BUG:291232
* improve closed tabs managementAndrea Diamantini2012-01-031-1/+1
| | | | | | | | | - remove reopened tabs from the closed tabs list. - limit them to MAX 8 elements (it seems enough to me) - save history also when there is just one tab closed - DON'T save history when you opened a "rekonq" page BUG:271224
* Unifies macro styleJohannes Troscher2011-11-271-2/+2
| | | | | REVIEW: 103242 REVIEWED-BY: adjam
* Enable url or text drops in the tabbarFurkan Uzumcu2011-10-211-0/+3
| | | | | | | | Dropping urls in the tabbar loads them in new tabs, while dropping text searches it on your default search engine. REVIEW: 102811 REVIEWED-BY: adjam
* tabsChanged() signal has been removed some time ago..Furkan Uzumcu2011-10-091-1/+0
| | | | | REVIEW: 102810 REVIEWED-BY: adjam
* Improving tab previewsVyacheslav Blinov2011-07-151-6/+6
| | | | | | | | | | | | | | | | | Improvements: * title of the page is removed since it is visible on a tab. * widget now has a smooth 3d look'n'feel with Oxygen thanks to raisen frame * widget has rouned corners in all the styles * url of the page is elided * with compositing tab previews will be shown semitransparent with 25% alpha by default, witch can be setted to be optional later * code of tab preview is now separated from tab bar so it is more explicit REVIEWED BY: Johannes, Andrea, Pierre CCMAIL: blinov.vyacheslav@gmail.com REVIEW: 101848
* Fixes the size of a tab preview to a constant size, decorate it a bitAndrea Diamantini2011-05-181-0/+4
| | | | | | | | and clean up the code around it. Patch by Tirtha Chatterjee, thanks :D Reviewed by me ;)
* connects tabMoved signal of TabBar to tabsChanged signal of MainView,Andrea Diamantini2011-05-171-0/+1
| | | | | | | | | | so any changes in tab order due to dragging tabs are saved in the sessions file using SessionManager. So now the changes in the order of tabs is correctly remembered during restore. Patch by Tirtha Chatterjee Reviewed by me ;)
* Workaround the troubles with the tabbar highlight feature.Andrea Diamantini2011-03-211-1/+0
| | | | | | Another fantastic patch by Johannes Trosher. Thanks :) CCBUG:267234
* Set an option to disable the disable graphics effects on the tabbarAndrea Diamantini2011-03-161-0/+1
| | | | | | | | | highlight animation. CCBUG:267234 To see if this really works, please deselect the "animated tab highlights" in the Tabs Settings section
* This commit to try fixing all troubles against the tabbar highlight feature.Andrea Diamantini2011-03-131-0/+2
| | | | | | | | | Courtesy fix patch from the man implementing the feature: Johannes Troscher. Many Thanks for. Bug Reporters: please, let us know if this really fix it! CCBUG:267234
* Clean up all d-tors to fix an eventual crash on exitAndrea Diamantini2011-02-281-1/+0
|
* Finally found time to update copyrights... ;)Andrea Diamantini2011-02-241-2/+2
|
* This patch cleans up tabbar update: show/hide when ↵Andrea Diamantini2011-02-161-1/+0
| | | | | | | | | | ReKonfig::alwaysShowTabBar() is off and update tab button position. It also removes a "feature" introduced to hide/show tab button on tab moving: it has negative effects on tab middle click closing. Reviewed by: NOBODY (oops..)
* Highlights inactive tabs if title changes.Andrea Diamantini2011-02-141-1/+17
| | | | | | Fantastic patch by Johannes Troscher. Reviewed by benjaminp (mainly) and adjam
* Revert "highlights inactive tabs if title changes"Andrea Diamantini2011-02-101-6/+1
| | | | | | | | It seems that while me and pierre (with our lazy eyes) found this good, Benjamin found some glitches to fix :) Waiting for a better patch... This reverts commit fc669e0bf82018baa70a8b59529e1a571d5ad820.
* highlights inactive tabs if title changesAndrea Diamantini2011-02-101-1/+6
| | | | | | | Courtesy patch by Johannes Troscher. Thanks :) Reviewed by: adjam Reviewed by: elproxy
* Fix tab preview flickering on mouse hover.Andrea Diamantini2011-01-221-0/+1
| | | | Patch by Furkan Uzumcu, cleaned up and reviewed by me
* This GCI task adds a combobox with different settings to choice when ↵Andrea Diamantini2011-01-071-1/+0
| | | | | | | | | | | | | | hovering tabs: * tab preview (default one) * show title as tooltip * show url as tooltip * show nothing Patch by Furkan Uzumcu, reviewed (and merged) by adjam BUG:260343 RB:100282
* Show and hide the add-tab button automaticallyJon Ander Peñalba2010-11-301-2/+4
|
* Include clean-up in the big src directoryJon Ander Peñalba2010-09-031-9/+2
|
* This commit changes rekonq behavior on "closed tabs" management.Andrea Diamantini2010-06-161-0/+2
| | | | | | | | The problem comes when too much sites are listed as closed tabs, so I though to create the contextual menu just on request and to clean out the sites that are reopened. (They are NO MORE closed tabs..) This and the next commit should fast a lot rekonq about that
* 200 ms of delay showing tab previewsAndrea Diamantini2010-06-031-3/+7
| | | | | | | | | BUG:224276 @Christoph Feel free to open a new bug against the link delays, explaining why you think it's important. We'll be happy to debate a bit about it, again :)
* New rekonq_defines.hAndrea Diamantini2010-04-301-2/+2
| | | | Speed up compilation & linking on Win, Lin & Mac. Step 1
* A coding style roundAndrea Diamantini2010-04-301-7/+7
|
* Fixing tab switch behavior.Andrea Diamantini2010-04-291-2/+2
| | | | | | It seems webkit removed an update on setViewPortSize, letting our trick about setScrollBarPolicy dangerous (no scrollbar on rendered pages)
* Close the tab preview when the close button is clickedYoann Laissus2010-03-111-0/+1
|
* This simple commit is inspired from mr #97Andrea Diamantini2010-02-261-0/+1
| | | | | It actually hides the addTab button when moving the bars letting it reappear on the release event.. :)
* Fix copyright for 0.4 beta releaseAndrea Diamantini2010-02-101-2/+2
|
* QPointers --> QWeakPointersAndrea Diamantini2010-02-051-2/+2
|
* detach tab actionAndrea Diamantini2009-12-161-1/+3
|
* Saving 4 bytes per tab :)Andrea Diamantini2009-11-231-4/+1
|
* (BIG commit) API changeAndrea Diamantini2009-11-101-2/+2
| | | | | I fixed rekonq API removing all slotName call switching to a proper getter call (so, name() functions)
* fixing new mainWindow() behaviour, porting functions calling itAndrea Diamantini2009-11-101-1/+1
|
* Finally... unit tests!!Andrea Diamantini2009-11-021-1/+2
| | | | | First test is trivial, but it's a test (tabbar test). And now we have it!
* Fixing hide/show tab bar and flickering new tabs.Andrea Diamantini2009-10-291-5/+3
| | | | | That happened because of the code moving from mainview to tabbar (my fault) (tabbar cannot draw and be drawn..)
* Changed tabbar signals to the KDE ones.Andrea Diamantini2009-10-271-1/+4
| | | | | | Implemented 2 slots to manage the menus and the actions. the "close tab" action is yet waiting for fix.
* Just close tab on middle mouse clickAndrea Diamantini2009-10-251-0/+1
|
* Another fix for the new tab button...Andrea Diamantini2009-10-141-3/+1
| | | | I'm starting hating it!!
* HUGE COMMITAndrea Diamantini2009-10-091-3/+20
| | | | | | | | | | | | | | | | | 1) moved lionel preview implementation to tabbar class. This to simplify MainView management AND to use TabBar::tabSizeHint(). Now previews are of the same width of the tab :) 2) cleaned a bit TabBar code 3) fixed scrollButton bug, via a "rude" HACK: an hidden toolbutton shown when tabs are more than.. a number! 4) Changed tabbar::tabsizehint implementation using 2 stupid constants: BASE_WIDTH_DIVISOR and MIN_WIDTH_DIVISOR. Just play with them to modify tab dimension and resize quite all :) Good night, guys!
* Hey, we are classes! No really need to be friends.. :)Andrea Diamantini2009-10-091-3/+0
|
* Cleaning headers and so on...Andrea Diamantini2009-10-061-1/+2
|
* New tab button code improvements.Andrea Diamantini2009-08-271-0/+6
| | | | Patch from Johannes Zellner (thanks)
* Fixing Licensing issueAndrea Diamantini2009-08-051-7/+14
|
* Fixing GPL3 header filesAndrea Diamantini2009-06-071-1/+1
|
* EBN Krazy issues. 3rd round... First chech finished!Andrea Diamantini2009-05-071-2/+2
|
* Importing recode (rekonq code).adjam2009-05-031-0/+78
I'm sorry I coudn't perform this with gitsvn or tailor.. but I cannot lose all the evening just for this. And I need to sleep now.. git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/network/rekonq@963146 283d02a7-25f6-0310-bc7c-ecb5cbfe19da