Commit Graph

20 Commits

Author SHA1 Message Date
Jens Bache-Wiig
f014f3a424 Improve icon and label behavior for target selector
I modified the text margins, removed the inconsistent
"No project" label and made sure we fall back to
the default computer icon when no project is open.
2010-03-19 18:41:21 +01:00
Jens Bache-Wiig
531ce89f80 Fix tool tips for target selector
Using non capitalized text this time as this is
what we have decided to standardize on for future versions.
2010-03-09 13:36:50 +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
Jens Bache-Wiig
e2f79dd0c0 Disable project selector combo box when not needed
When we only have one option available, it makes no sense to
enable the combo box.
2010-03-08 14:40:42 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Daniel Molkentin
5aa3625e94 Fix incorrect slot connection.
Reviewed-By: Robert Loehning
2010-03-04 17:00:24 +01:00
Jens Bache-Wiig
35a09f2efe Fix button toggle of the miniproject selector on Windows
The problem is that on windows, mouse events are replayed
if you click outside a popup to close it. If you hit the
project selector button to toggle it, this will cause
the popup to reopen on mouse release. Which we do not want.
Hence we set the DontReplay flag on mouseClick.

A similar workaround can be found in QComboBox.
2010-03-02 18:38:58 +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
con
5e6700e708 Don't show focus rect in target selector on Mac. 2010-02-25 13:08:19 +01:00
Jens Bache-Wiig
b7650d343e Fix an icon centering problem on the actionbar
The actualPixmapSize is different
from the resulting pixmap when using
svg icons. This seems to be a bug
in Qt, but using the resulting pixmap
is safe for now.
2010-02-24 19:56:33 +01:00
Jens Bache-Wiig
7af1e21144 Improved styling of project target selector 2010-02-24 19:25:44 +01:00
con
04d90d9563 Show target overlay icon only in the active target button. 2010-02-23 16:52:44 +01:00
Tobias Hunger
35bcc49bdf Sort targets in miniprojecttargetselector
... based on their display names

Reviewed-by: Daniel Molkentin
2010-02-22 18:07:20 +01:00
Jens Bache-Wiig
1ea114b414 Make the panel action sunken when panel is open 2010-02-22 14:36:45 +01:00
con
d8def18362 Give targets a tool tip property.
Use that for showing details about connected Symbian devices.
Also update the icon with an (not-)connected overlay icon.
Graphics design pending.
2010-02-09 19:07:26 +01:00
con
9f3ac20bd2 Add a tool tip for the target selector button. 2010-02-09 17:45:56 +01:00
con
40bfe13779 Remove some duplicate connects. 2010-02-09 17:43:51 +01:00
Tobias Hunger
d1bdfcc363 Integrate target support
* Ease cross device development by introducing 'targets' which
   group build- and runsettings that are valid for this one target

 Most of the kudos for the code review go to dt. Con, thorbjorn,
 ckandler and others did also review parts of this patch.

Reviewed-by: dt
2010-02-09 16:57:37 +01:00
Daniel Molkentin
dbc295a07f Fixes for FancyActionBar and TargetSelector.
- Improved icon and text positioning
- Improved readability and some gfx glitches on windows and mac
- Removed drop down functionality from Run/Debug/Build buttons
2010-01-22 18:04:42 +01:00
Daniel Molkentin
c4d1553da4 Add first version of a new sidebar, including project selector.
The project selector also allows to select targets.
However, this is not yet used, since the necessary
changes are still being stabilized.

Done-with: con
2010-01-21 21:13:10 +01:00