Kurt Hindenburg
205a51839c
Disable detaching when on Darwin (MacOSX)
...
Too many issues/crashes for too long when detaching on MacOSX. You
can still some strange things but I can't get it to crash now.
13 years ago
Francesco Cecconi
194a852d33
Prevent the dragging of the last tab in a split view.
...
BUG: 210871
REVIEW: 107640
FIXED-IN: 4.12
13 years ago
Kurt Hindenburg
7a2a5beb00
Correct spelling errors/word usage
...
All these are in the comments - no code changes
13 years ago
Kurt Hindenburg
21a8b063a7
astyle format fixes - whitespace and {
14 years ago
Jekyll Wu
131091c983
Adjust including form for some Qt headers as preparation for Qt5
...
So if someone notices later some Qt header is included in the form
of "#include <Class>" instead of the more common form of "#include
<Module/Class>", do not rush changing it.
REVIEW: 105819
14 years ago
Kurt Hindenburg
e02fea6e17
astyle fixes
...
use git diff -w --ignore-all-space to see non-space changes
14 years ago
Kurt Hindenburg
d7f55a2079
remove space
14 years ago
Jekyll Wu
6c41493db0
Make sure the 'New' and 'Close' buttons never get keyboard focus
...
This is mostly extra safeguard, since they alreayd do not get keyboard focus
in the current code.
14 years ago
Jekyll Wu
627a511daa
Move the code for submenu of 'New Tab' button into class ViewContainer
...
This might feel like slight de-optimization of current code. However, it
helps abstracting and refactoring the code for the future.
14 years ago
Jekyll Wu
4a38fc1d9d
Move class ViewContainerTabbar into its own files
14 years ago
Jekyll Wu
ef43864923
The tabbar code does not directly depend on TabbedViewContainer anymore
14 years ago
Jekyll Wu
d040c1c722
Remove another hard dependency on TabbedViewContainer in the tabbar code
14 years ago
Jekyll Wu
ab96666965
Stop using hardcoded ViewProperties::mimeType() within tabbar code
14 years ago
Jekyll Wu
73d7da6d87
Make ViewContainerTabBar and TabbedViewContainer less coupled
...
In general, those two classes are coupled too closely. Ideally,
TabbedViewContainer should be transformed into a generic enhanced tabbar
which knows nothing about TabbedViewContainer or its user.
14 years ago
Jekyll Wu
daa99b67fd
Dragging tab onto its existing position should not make it detach
...
This is a follow up of commit b8b8ef74 , which adds the support of
dragging tab out of current window and into its own window.
14 years ago
Jekyll Wu
5c7e39368c
More constness
14 years ago
Jekyll Wu
eec927bd88
Add "What's this" for the tabbar and new/close buttons
...
There could be more, but I thik they are the most important ones.
BUG: 257914
FIXED-IN: 4.9.0
14 years ago
Jekyll Wu
b8b8ef7405
Support dragging tab out of current window and into its own window
...
Thanks to makis marimpis<makhsm@gmail.com> for the patch!
REVIEW: 104933
FEATURE: 56749
FIXED-IN: 4.9.0
14 years ago
Kurt Hindenburg
bee9aa8f78
minor style fixes - remove empty lines start/end code blocks
14 years ago
Jekyll Wu
cf24bea6ab
Add one global option for customizing the stylesheet of the tabbar
...
Note: this is just an experimental idea, so no GUI is added. It might
rename or disappear later.
14 years ago
Kurt Hindenburg
ba34c4ebe2
normalize SIGNALS
...
It is annoying that kdelibs-style and Qt normalize conflict
14 years ago
Kurt Hindenburg
5b083640ce
whitespace and style fixes
...
Use 'git diff -w --ignore-all-space' to see non-whitespace changes
14 years ago
Jekyll Wu
c81b292c91
Krazy fix: QTabBar => KTabBar
14 years ago
Jekyll Wu
ee26801157
Refactor the code for setting up the layout of the tabbed ViewContainer
...
The refactor is simple and stupid. The important thing is reducing
duplicated logic
14 years ago
Jekyll Wu
22ac363c2d
More constness
14 years ago
Kurt Hindenburg
519e2614d6
Style fixes - remove spaces before ; and add spaces in for loops
14 years ago
Jekyll Wu
663e342aa8
Krazy fix: add the missing KUIT context marker
14 years ago
Jekyll Wu
5ebbba6efb
Rename for clarity and consitency
14 years ago
Jekyll Wu
3bf91d969e
Remove unused #include
14 years ago
Jekyll Wu
b379b9e155
Simple refactor of method TabbedViewContainer::openTabContextMenu()
14 years ago
Jekyll Wu
ef9599d792
Add separator between 'Raname' and 'Close' in the context menu of tabbar
14 years ago
Kurt Hindenburg
c272fb2c15
Remove krazy lines
14 years ago
Jekyll Wu
f4fb943132
Most of time we only need <KLocalizedString> instead of <KLocale>
14 years ago
Jekyll Wu
1db211ef0c
Add tooltip for the quick buttons on the tabbar
...
Well, maybe this is more helpful than annoying for Konsole users.
14 years ago
Jekyll Wu
c6826ebdc3
Forward declaration
14 years ago
Jekyll Wu
f42fd4721b
Clean up unneeded #includes
14 years ago
Jekyll Wu
bd4a77ed0b
Move codes setting basic property of tabbar into its constructor
14 years ago
Jekyll Wu
bebb3ad895
Remove unneeded interal class TabbedViewContainerLayout
...
That internal class was used to workaround the problem that
QBoxLayout::insertItem() is a protected method. Since the current codo
does not use that method any more, no need to keep and use that internal
class anymore. Just use QVboxLayout directly.
14 years ago
Jekyll Wu
1f796f8358
Remove/Comment out currently unused #includes
14 years ago
Jekyll Wu
a93a2670bf
Add missing "#include <KIcon>"
14 years ago
Jekyll Wu
af325e2942
Add missing icon for the 'Rename Tab...' action in context menu
14 years ago
Jekyll Wu
6b6a5944f6
Prefer foreach(...) over while(...) for simplicity and readability
14 years ago
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.
14 years ago
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.
14 years ago
Kurt Hindenburg
bc087ae51b
Remove unused KDebug includes
14 years ago
Jekyll Wu
b95f9443a0
Trivial change on #include
15 years ago
Jekyll Wu
e9e729074b
Remove unnecessary '#include <QtGUI/QLineEdit'
15 years ago
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.
15 years ago
Jekyll Wu
cf92cece2b
Remove leading white spaces in blank lines to make them really empty
15 years ago
Jekyll Wu
8c6e41c607
Refactor the visibility change of new & close buttons into an separate method.
15 years ago