Kurt Hindenburg
1baa56feda
White space changes - astyle and Qt normalize don't like each other.
...
Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
2011-12-25 13:13:55 -05:00
Kurt Hindenburg
f8ed7666c3
Apply astyle-kdelibs
...
Over the years, the coding style is all over the place.
Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
2011-12-24 11:40:38 -05:00
Kurt Hindenburg
bc087ae51b
Remove unused KDebug includes
2011-12-18 00:01:32 -05:00
Jekyll Wu
b95f9443a0
Trivial change on #include
2011-11-16 13:31:24 +08:00
Jekyll Wu
e9e729074b
Remove unnecessary '#include <QtGUI/QLineEdit'
2011-11-14 03:42:09 +08:00
Jekyll Wu
125e2c7bd2
Declare pointer and reference in a consistent way
...
Most code use the "const QString& text" form, instead of the "const
QString &text" form. So change the minority to be consistent with
the majority.
2011-11-06 06:13:28 +08:00
Jekyll Wu
cf92cece2b
Remove leading white spaces in blank lines to make them really empty
2011-11-05 07:29:21 +08:00
Jekyll Wu
8c6e41c607
Refactor the visibility change of new & close buttons into an separate method.
2011-09-27 09:59:42 +08:00
Jekyll Wu
8217a32718
Re-organize the code within the TabbedViewContainer constructor.
...
No functionality change. Just make it more readable.
2011-09-27 09:10:49 +08:00
Kurt Hindenburg
dfd4c14c79
Add action to jump to last tab.
...
Allows user to select a shortcut to jump to the far right tab. There
is no default shortcut.
Patch by Francesco Cecconi <francesco.cecconi@gmail.com >
REVIEW: 102687
BUG: 279166
FIXED-IN: 4.8
2011-09-24 10:58:33 -04:00
Jekyll Wu
272ac9850e
Include KDE headers consistently in the from of "#include <KSomething>" .
...
However, some KDE headers are still only available in the form of
"#include <ksomething.h>"
krun.h ==> KRun
kicon.h ==> KIcon
kdebug.h ==> KDebug
kshell.h ==> KShell
kdialog.h ==> KDialog
kconfig.h ==> KConfig
klocale.h ==> KLocale
kglobal.h ==> KGlobal
kcolorutils.h ==> KColorUtils
kconfiggroup.h ==> KConfigGroup
kdesktopfile.h ==> KDesktopFile
kcolorscheme.h ==> KColorScheme
kstandarddirs.h ==> KStandardDirs
ktemporaryfile.h ==> KTemporaryFile
klocalizedstring.h ==> KLocalizedString
2011-09-23 05:04:46 +08:00
Jekyll Wu
ca7beebb0e
KTabWidget is not used by konsole yet.
2011-09-06 08:23:16 +08:00
Jekyll Wu
de61d40c63
Include Qt headers in the form of "#include <Module/Class>"
2011-09-06 06:42:42 +08:00
Jekyll Wu
d11be81bf3
adjust indentation.
2011-08-14 20:10:28 +08:00
Jekyll Wu
ff1de927c2
class ProfileListWidget is not used anymore for a long time.
2011-08-10 05:27:27 +08:00
Montel Laurent
b91f50015d
Normalize signals/slots
2011-07-30 14:10:56 +02:00
Kurt Hindenburg
f3c529af6d
Only enable the tab popup menu 'Detach Tab' for > 1 tabs.
...
Currently you can Detach Tab if that tab is the only one; that
makes no sense and has no use.
2011-07-09 22:30:29 -04:00
Kurt Hindenburg
e8145abc84
Allow all the tab widths to be the exact title length.
...
This toggles between the current calculations of the tab width and just
using the full title for the tab width.
This is a dbus method which will have to do unless I can get a GUI
in before the freeze.
2011-04-23 21:18:52 -04:00
Kurt Hindenburg
467fb1edcb
Restore 'Close Tab' on the tab context menu and the close tabbar button.
...
These 2 options were disabled due to they messed up the menu texts
after the fix for bko 185466.
The close method via dbus has been disabled as it causes menu issues.
Most of patch to fix 'Close Tab' by Albert Astals Cid aacid@kde.org
BUG: 267896
CCBUG: 185466
FIXED-IN: 4.6.3
2011-04-05 11:39:48 -04:00
Kurt Hindenburg
dd9b08331f
Fix a krazy issue with double-quotes.
2011-04-03 22:54:44 -04:00
Kurt Hindenburg
1d657aed8f
Replace & with && for tab title.
...
If the tab title has & it will replace it by the shortcut symbol (_).
BUG: 267851
FIXED-IN: 4.6.2
2011-03-07 00:10:40 -05:00
Kurt Hindenburg
8641ba4268
Move the 3 Search Bar options into their own popup menu.
...
Opening the search bar causes the terminal width to be increased due
to the length of the three Search Bar options text.
Ideally, this should be redone using .ui file (consider looking at the
KHTMLFindBar code in kdelibs). The Search Bar in general needs some
rework.
BUG: 211550
FIXED-IN: 4.7
2011-03-03 12:31:09 -05:00
Kurt Hindenburg
b59a51f2c9
Disable tab close methods until the issue of menu being trashed can be resolved.
...
CCBUG: 185466
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1217498
2011-01-27 15:26:13 +00:00
Kurt Hindenburg
6441f929a5
Recommit patch as this wasn't causing the crashes.
...
BUG: 240037
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1198147
2010-11-17 15:33:09 +00:00
Kurt Hindenburg
1236ba56d4
Remove previous commit as it cause a lot of crashes for apps using
...
Konsole Part.
CCBUG: 240037
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1194920
2010-11-10 05:19:30 +00:00
Kurt Hindenburg
f834ba132d
When closing a tab, select the previously focused tab.
...
BUG: 240037
FIXED-IN: 4.6
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1186295
2010-10-15 17:42:49 +00:00
Kurt Hindenburg
4a4866c2ca
Add tooltips for tab titles
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1186266
2010-10-15 15:23:44 +00:00
Kurt Hindenburg
49fd3291a7
Use stylesheet min/max width to handle tab width
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1172362
2010-09-07 04:17:12 +00:00
André Wöbbeking
81efd8621d
forwardport r1147150
...
don't use deprecated signals
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1154986
2010-07-26 16:35:51 +00:00
Shaun Reich
1fbc3ae54d
improve konsole tab dragging. makes the dragging smooth and not jumpy. also increased size of the drop indicator from 22 to 32 (see review 4180)
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1143454
2010-06-27 20:23:44 +00:00
Kurt Hindenburg
9292af91fd
Add 'Detach Tab' to the tab context menu.
...
Original patch by Shlomi Fish. I did some hacking on it.
BUG: 153376
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1118851
2010-04-26 02:10:05 +00:00
Kurt Hindenburg
cd3b4ed255
remove debugs
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1115902
2010-04-17 21:57:14 +00:00
Kurt Hindenburg
ca61bd99bc
Change the way the tab widths are calcuated and their text to allow better space usage.
...
Patches/comments to make this better welcomed. I wanted something committed for KDE 4.5.
CCBUG: 157201
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1115895
2010-04-17 21:38:14 +00:00
Kurt Hindenburg
4c440f9de2
Implement 'Rename Tab...' and 'Close Tab' in tab context menu.
...
Original patch by Shlomi Fish. I did some hacking on it and removed 'Detach Tab' option for this commit.
CCBUG: 153376
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1115877
2010-04-17 19:52:51 +00:00
Kurt Hindenburg
4481b0c58d
exclude krazy's qclasses check
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1108137
2010-03-27 22:29:51 +00:00
Sascha Peilicke
2f3875f7c5
Removed unused class ListViewContainer from src/ViewContainer.[h|cpp].
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1098792
2010-03-04 10:43:51 +00:00
Sascha Peilicke
bb21ce680a
Removed Konsole TabBar spacer item (review request 2883).
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1095490
2010-02-24 12:19:56 +00:00
Sascha Peilicke
b1e7c39d43
Replaced deprecated calls to QLayout::setMargin and replaced it with QLayout::setContentsMargins for several Konsole classes.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1088845
2010-02-11 19:25:45 +00:00
Kurt Hindenburg
68297a2165
Correct terminal focus issues when clicking on tabbar.
...
BUG: 215382
CCBUG: 157039
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1059061
2009-12-05 17:50:07 +00:00
Kurt Hindenburg
d1469fb39e
Fix minor api issue and an used variable warning.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1059042
2009-12-05 16:21:36 +00:00
Kurt Hindenburg
45c1fbaf48
Fix issue where Shift+Tab would focus tab bar.
...
BUG: 157039
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1037396
2009-10-18 22:16:31 +00:00
Sascha Peilicke
a90c365a3c
Changed the corner widgets of the Tabbar to use QToolButton instead of KPushButton. They use less space now and are more visually pleasant. A result of this change is the immediate visibility of the new-tab button's menu, it is now clear that it holds extra functionality. Finally the Konsole tabbar now looks the same as Konqueror's
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=951179
2009-04-08 15:37:27 +00:00
Eike Hein
9f5d7da6e9
Fix layout regression from r860035 that breaks up e.g.
...
Yakuake's UI by adding a margin around the terminal.
Robert, please seriously consider backporting this to 4.2.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=935623
2009-03-05 20:03:39 +00:00
Fredrik Höglund
7930b1930d
Enable documentMode in the tab bar.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=929640
2009-02-21 19:02:03 +00:00
Alexis Ménard
fed1626302
Fix the crash in Konsole with Qt 4.5.
...
The problem is that ViewContainer is a QObject and is not aware that one of its QWidget member can die because the ViewContainer is not part of the "GUI" hierarchy. So when you delete the main window it will first delete all QWidgets and then all QObjects, so in our case all GUI objects and then ViewContainer. But since ViewContainer react to destroyed signal of some GUI object and use it that explain the crash. Having QPointer is the easy to way to be aware if one of the member die because the GUI has been deleted.
BUG:170052
BUG:179845
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=907272
2009-01-07 19:25:32 +00:00
Thiago Macieira
156c585181
The containerWidget is used by ViewSplit, which calls addWidget, which in turn sets the parent. So don't delete it if it has already been deleted.
...
If we are sure that the containerWidget will be parented, we can avoid the QPointer
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=869659
2008-10-09 16:44:11 +00:00
Frederik Schwarzer
ebbdfe6968
let me introduce: typo of the year "the the"
...
mostly seen as
"the the" -> "the"
"the the" -> "to the"
and in its best case
"a the the" -> "" :)
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=864814
2008-09-25 15:05:22 +00:00
Robert Knight
956277c014
Convert tabs to 4 spaces to match kdelibs conventions. Previously
...
there was a mix of tabs and spaces for indentation.
CCMAIL:Stefan.Becker@nokia.com
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863326
2008-09-21 20:06:58 +00:00
Aaron J. Seigo
569235573d
put the search bar on the correct side of the tabs .. INSIDE them ...
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=860035
2008-09-11 20:03:03 +00:00
Robert Knight
edcc8bc97b
Fix "Show 'New Tab' and 'Close Tab' buttons on tab bar" setting not being
...
applied correctly on startup.
Test for the tab bar being explicitly hidden with isHidden() rather than just
isVisible() which will return true if the setting is applied before the
container widget is shown.
BUG: 162420
CCBUG: 157015
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=810949
2008-05-21 22:19:43 +00:00