Use QTabBar: drop tons of code

Authored by tcanabrava on Jul 17 2018, 2:24 PM.

Description

Use QTabBar: drop tons of code

Summary:
this is a WIP, I don't plan to merge this yet, there are many thigns to solve.

Drop the handmade TabWidget used inside of konsole in favor of Qt's QTabWidget
This drops tons of code we manually did, but it also drops a bit of functionality.

Everything besides detach should be working.
I'm now trying to finish detach.

a nice overvie:
15 files changed, 314 insertions(+), 1609 deletions(-)

Missing features:

  • Detach

and lots of testing.

Reviewers: hindenburg, Konsole, ngraham

Reviewed By: ngraham

Subscribers: ngraham, konsole-devel

Tags: Konsole

Differential Revision: https://phabricator.kde.org/D13882

Merged Changes

CommitAuthorDetailsCommitted
e94c3e3dfbf0D13882tcanabrava
Fix size of TerminalDisplay on show 
Jul 17 2018
6248feb58206D13882tcanabrava
Show Quick Open button consistently 
Jul 17 2018
9b9ff5c6cb06D13882tcanabrava
Readd closeAction 
Jul 17 2018
94aeabbe10a4D13882tcanabrava
Fix detach from menu 
Jul 17 2018
3f2bd3dca2a1D13882tcanabrava
Increase dead zone for detaching 
Jul 17 2018
873edc5d4e7eD13882tcanabrava
Hint the cursor about a detach 
Jul 17 2018
c92bbb953887D13882tcanabrava
Add tolerance for detach 
Jul 17 2018
59b9fa51074aD13882tcanabrava
re-add detachTab 
Jul 17 2018
8524890aa304D13882tcanabrava
Add currentTabIndex for easy menu access. 
Jul 17 2018
8cc637f8b7d3D13882tcanabrava
New tab to manage the drag out of the tabbar 
Jul 17 2018
494a1b32c85bD13882tcanabrava
Fix movement with keyboard 
Jul 17 2018
93982ded1e09D13882tcanabrava
Re-Enable detaching actions 
Jul 17 2018
39c35c2c9851D13882tcanabrava
Re-Enable dragging tabs 
Jul 17 2018
a31adb4a26b0D13882tcanabrava
Fix Rename of tabs 
Jul 17 2018
f91d84b381d5D13882tcanabrava
Remove replay signal. 
Jul 17 2018
ec5ee406ffc5D13882tcanabrava
Re enable rename tab 
Jul 17 2018
29dce00eda93D13882tcanabrava
Focus widget in currentChanged 
Jul 17 2018
b4ef40dfa185D13882tcanabrava
Re enable close tabs, simplify code 
Jul 17 2018
4c8c1b90f064D13882tcanabrava
Add the Close and New Tab Buttons 
Jul 17 2018
4d73014a1c5eD13882tcanabrava
Remove Borders 
Jul 17 2018
0e45cf058422D13882tcanabrava
Connect to KonsoleSettings directly 
Jul 17 2018
b35546fd164bD13882tcanabrava
Restore TabBar visibility and position settings 
Jul 17 2018
83ebda5bf4a3D13882tcanabrava
Use QTabBar: drop tons of code 
Jul 17 2018