Commit Graph

55 Commits

Author SHA1 Message Date
Jens Bache-Wiig
63d4115d63 Fix single-pixel splitters with Oxygen style
Oxygen does some interesting tweaks with content
margins and event filters to draw dock widgets.
This had to be explicitly disabled in order to look
ok.
2010-03-18 17:47:24 +01:00
Jens Bache-Wiig
195b17979d More layout fixes
- Cleaned up frames in the QML inspactor.
- Do not force toolbar height for designer widgets
2010-03-17 14:39:17 +01:00
Jens Bache-Wiig
d58184173e Clean up layouts and use minisplitter everywhere
This patch replaces all uses of QSplitter with thin 1-pixel
splitters. I also fixed dock widget layouts in main windows
to do the same. Additionally I had to tweak the tabbars so
they look good in mini splitter layouts to avoid a double
left-border.

Reviewed-by: thorbjorn
2010-03-17 11:23:10 +01:00
Jens Bache-Wiig
1ffa2ffcd0 Fix etched combo box text in panels
Some styles use etched text and drawtextitem does
not pass the widget pointer, hence our panelwidget
tests are broken. I simply replaced this with
drawText for now.
2010-03-12 13:17:16 +01:00
Jens Bache-Wiig
76fe997a45 Improve focus and keyboard interaction with projectselector
This kills the event filter since it is not really neccessary.
Most combo boxes should be disabled by default now. I Removed
redundant focus widgets from the keyboard chain and I
indicate that the list has focus by saturation.
2010-03-09 11:14:19 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Jens Bache-Wiig
a2ec8cc939 Fix missing tabfocus with manhattanstyle
I added a new focus rect for combo boxes
with manhattan style. To reduce the visual
impact I follow the same policy we use on
windows where we do not show the focus rect
unless it is called upon by tabfocus.
2010-03-01 17:29:12 +01:00
Jens Bache-Wiig
7af1e21144 Improved styling of project target selector 2010-02-24 19:25:44 +01:00
Jens Bache-Wiig
c94e06bbbd Migrate ManhattanStyle to use QProxyStyle 2010-02-23 12:42:35 +01:00
Jens Bache-Wiig
f331f3322b Mor polish for the sidebar 2010-02-22 14:38:18 +01:00
Jens Bache-Wiig
54b2ab7190 Color tweaks 2010-02-22 14:36:45 +01:00
Jens Bache-Wiig
015ffe2835 Some polish for the actionbar
* I have simplified and animated the tool buttons a bit.
* The panel has been replaced by a very basic clean panel.
* The tool buttons have been animated.
2010-02-22 14:36:45 +01:00
Olli Werwolff
70b3f0e2b7 Added light colored version of manhattan style's bars
Reviewed-by: jbache
2010-02-19 09:55:37 +01:00
Friedemann Kleint
28d72550d3 Removed static QIcon instances.
thus fixing the exit warning:
"~QX11PixmapData(): QPixmap objects must be destroyed..."

Acked-by: con
2010-02-10 10:47:34 +01:00
Thorbjørn Lindeijer
2443a4b365 Allow navigating into/from children with arrow keys
Related to merge request #106: Jump to filename if Key_Left pressed on
result string in SearchResultWindow.

Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2010-02-02 14:30:30 +01:00
Tobias Hunger
592e494d1a Fix typos
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
Jens Bache-Wiig
b757b34640 Fixes: Fixed a regression in Manhattanstyle
Those properties should be recursive. We need to optimize this
another way.
2009-12-11 17:17:07 +01:00
Jens Bache-Wiig
57c09a7e99 Fixes: Fix cosmetics with KDE file dialog
Task:     QTCREATORBUG-465
Details:
We should simply ignore custom styling on our dialogs.
I also slightly optimized the panelWidget check.
2009-12-11 12:42:33 +01:00
Jens Bache-Wiig
a4d5bdee61 Fixes: Fix incorrectly streched border image for line edits
Task:     QTCREATORBUG-326
Details:
The image simply needs bigger margins to avoid the shadow
beeing streched too far.
2009-11-20 13:50:40 +01:00
Friedemann Kleint
5948e284bb Rename namespace Core::Utils into Utils
Also move Designer::Internal::FormWindowEditor ->
Designer::FormWindowEditor.
2009-10-05 11:06:05 +02:00
Thorbjørn Lindeijer
57bebee640 Use the theme background color for panel line edits
Previously, the image used as background forced it to be white, which
made the text impossible to read when the palette foreground color
happened to be white as well.

Task-number: 258167
2009-08-31 15:04:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Jens Bache-Wiig
2b24033f14 Fixes: Speed up animation time
Details:
The fade-in is a lot faster now, to
prevent things from feeling unresponsive.
2009-07-20 18:57:27 +02:00
con
8ed85f1eb6 Unify tool button appearance in "panelWidgets".
Reviewed-by: Jens Bache-Wiig
2009-07-17 13:13:32 +02:00
con
baaf7b1d62 Less QToolBars in editor tool bar. 2009-07-16 18:06:38 +02:00
con
db8507c4a0 Extract the styled painting of the find bar to utils widget. 2009-07-15 12:39:31 +02:00
con
309ee636b3 Styled two-row find tool bar with better resizing behavior.
For this we needed to get rid of using QToolBar.
2009-07-15 11:35:10 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
3b1e1231f1 Fixed position of folding markers with QGtkStyle
Not a brilliant solution, but it works. Changing the style itself would
cause problems in other places where the PE_IndicatorBranch is drawn.

Reviewed-by: Jens Bache-Wiig
2009-05-12 13:01:34 +02:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Oswald Buddenhagen
cf66237c13 Merge branch '1.0.0' into master
Conflicts:
	src/plugins/coreplugin/manhattanstyle.cpp
2009-02-24 12:25:28 +01:00
Jens Bache-Wiig
512c5a062d Fixes: Clean up manhattan toolbuttons
Details:
Simplified painting a bit. Cleaner lines.
2009-02-23 17:11:41 +01:00
Jens Bache-Wiig
76af109659 Fixes: Resolve 2009-02-23 16:26:14 +01:00
Jens Bache-Wiig
2710abbe0f Fixes: Combobox usability
RevBy:    As discussed with Nigel Hietala
Details:
The following changes have been applied:
* Mac now has hover on panel buttons and combo box
* More emphasis on combobox divider lines
* Arrow up/down is used for Mac/Gtk+ styles
2009-02-10 15:12:32 +01:00
Jens Bache-Wiig
3b7c35fa9b Fixes: Toolbar cosmetic problem
RevBy:    b_lindeijer
Details:
This resolves the problem with missing top-borders on
the find toolbar.

(cherry picked from commit e5c845fcc7)
2009-02-06 15:05:58 +01:00
Jens Bache-Wiig
e5c845fcc7 Fixes: Toolbar cosmetic problem
RevBy:    b_lindeijer
Details:
This resolves the problem with missing top-borders on
the find toolbar.
2009-02-04 12:48:20 +01:00
Jens Bache-Wiig
b04ac61ef0 Fixes: Fix line edit focus on MacStyle
Task:     242757
RevBy:    twschulz
Details:
Mac style reimplements QStyle::event, hence we need to
pass it on.
2009-01-29 15:36:24 +01:00
Jens Bache-Wiig
fe4f03caa0 Fixes: Don't hover disabled buttons
Details:
Manhattan would incorrectly hover a disabled toolbutton.
This fixes it.
2009-01-27 15:54:42 +01:00
Jens Bache-Wiig
e4876723a4 Fixes: Use alternate row colors for sidebar
Task:     As discussed with b_lindeijer
Details:
This enables alternate row colors, with filled empty
area on the side bar for improved usability.
2009-01-27 10:10:24 +01:00
Jens Bache-Wiig
530f0fc2da Fixes: Reduced hover glow
Details:
I think the animations are a bit too much
at the moment. It looks a bit more refined
when they are subtle...
2009-01-26 18:42:25 +01:00
Jens Bache-Wiig
fc5c249e55 Fixes: A few more improvements to the combo box
Details:
Reduced the size used by the arrow with 4 pixels and
increased the size hint.
2009-01-26 18:12:16 +01:00
Jens Bache-Wiig
ecef605d15 Fixes: Fix incorrect text elliding on combo box
Task:     Reported by b_lindeijer
Details:
We incorrectly reduced the text rect for combos.
2009-01-26 17:42:29 +01:00
Jens Bache-Wiig
4cec3bd570 Fixes: More toolbar polish
Details:
Minor shadow tweaks for bjorn. Added shadow to
arrows. Added subtle indentation for combo box.
2009-01-26 16:58:34 +01:00
Jens Bache-Wiig
9c897b4411 Fixes: Polish toolbar buttons, fix invisible extension
Details:
I used vector graphics for icons, to give them a smoother
appearance and added an improved extension button that is
visible on a dark background. Down arrows are now
painted with AA enabled.
2009-01-26 15:48:47 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
Thorbjørn Lindeijer
6c1e557d70 Changed coreplugin resource prefix to "/core"
It still read "/qworkbench", the research project name for Qt Creator.

Reviewed-by: con
2009-01-12 15:23:22 +01:00
Jens Bache-Wiig
17722a6c79 Fixes: Fix hover on toolbuttons
RevBy:    trust me
Details:
Now that hover is correctly implemented for
toolbuttons, we actually have to check the sunken
state.
2009-01-05 10:43:35 +01:00
Jens Bache-Wiig
2ec448d1d7 Fixes: Fix a styling issue with toolbuttons
Details:
This ensures that the manhattan button arrow does not depend on the
menubutton indicator size, which it should not.
2009-01-05 10:43:35 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00