Commit Graph

86 Commits

Author SHA1 Message Date
Oswald Buddenhagen
1fda2111d4 Merge remote-tracking branch 'origin/2.6'
Conflicts:
	src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
	src/plugins/debugger/qtmessageloghandler.cpp
	src/plugins/debugger/qtmessagelogwindow.cpp
	src/plugins/madde/maemodeployconfigurationwidget.cpp
	src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
	src/plugins/qmldesigner/designercore/include/widgetqueryview.h
	src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
	src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
	src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
	src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
	src/plugins/qnx/bardescriptormagicmatcher.h
	src/plugins/qt4projectmanager/profilekeywords.cpp
	src/plugins/remotelinux/deployablefilesperprofile.cpp
	src/plugins/remotelinux/deployablefilesperprofile.h
	src/plugins/remotelinux/deploymentinfo.cpp
	src/plugins/remotelinux/deploymentsettingsassistant.cpp
	src/plugins/remotelinux/profilesupdatedialog.cpp
	tests/auto/icheckbuild/ichecklib.cpp
	tests/auto/icheckbuild/parsemanager.cpp
	tests/auto/icheckbuild/parsemanager.h

Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Robert Loehning
298531e370 Incremented year in copyright info
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-01-29 16:27:03 +01:00
Orgad Shaneh
29a93998df Remove braces for single lines of conditions
#!/usr/bin/env ruby

Dir.glob('**/*.cpp') { |file|
  # skip ast (excluding paste, astpath, and canv'ast'imer)
  next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
  s = File.read(file)
  next if s.include?('qlalr')
  orig = s.dup
  s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
    res = $&
    if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
      res
    else
      res.gsub!('} else', 'else')
      res.gsub!(/\n +} *\n/m, "\n")
      res.gsub(/ *{$/, '')
    end
  }
  s.gsub!(/ *$/, '')
  File.open(file, 'wb').write(s) if s != orig
}

Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
Reviewed-by: hjk <qthjk@ovi.com>
2013-01-08 10:48:18 +01:00
Vasiliy Sorokin
a134076062 Showing asterisk on EditorToolbar for unsaved files with long names
Task-number: QTCREATORBUG-8003

Change-Id: If9ac6d75123e65486ff0cf243c9537805f3fe5a3
Reviewed-by: David Schulz <david.schulz@digia.com>
2012-10-30 08:36:30 +01:00
Orgad Shaneh
ea83fe7423 Style: Fix sunken style for menu
Change-Id: I08aa20b6569cac814c479766842ff9422d1eb157
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
2012-10-23 11:38:22 +02:00
Jens Bache-Wiig
a7eea18282 Revert "Disable theming of menu bar."
This reverts commit 7b8cd42729.

This basically makes creator looks uglier on most platforms
while not really fixing anything on Ubuntu. The menubar is
on ubuntu (and mac) not shown in natively compiled versions
so it effectively fixes nothing, but makes the appearance
inconsistent on other platforms.

Change-Id: I4576b4dcc722dca59a7480eba41ce8efa970533b
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-22 18:22:33 +02:00
hjk
386ca7c8dd Adjust license headers
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-05 17:12:56 +02:00
Francois Ferrand
7b8cd42729 Disable theming of menu bar.
This causes strange look e.g. with Ambiance theme on linux.

Change-Id: I9f56ca0c43d474a1db6f79c78e7d3653ea44ca46
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-07-25 10:40:36 +02:00
Konstantin Tokarev
d18bf468ad Changed return type of :ICore::mainWindow() to QWidget*
Also removed all <QMainWindow> includes which are not needed
anymore.

Change-Id: I393c9a62a5c6df95d9f35d872e1473a4f13bcdc4
Reviewed-by: hjk <qthjk@ovi.com>
2012-07-19 15:15:53 +02:00
Eike Ziller
e0e8cf3ada Contact -> qt-project.org
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2012-07-19 13:23:21 +02:00
hjk
a4f486b8fb manhattanstyle: don't use defines for constants
Change-Id: I19a9b86c37dfcd1be7451d6fe67322a833d7b322
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-05-21 10:09:27 +02:00
Erik Verbruggen
3fa55b7ab9 Removed module names from #include directives.
Getting the #include directives ready for Qt5. This includes the
new-project wizards.

Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-02-15 16:24:46 +01:00
hjk
2931a499e6 Long live the king!
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-01-26 19:55:36 +01:00
Morten Johan Sorvig
b0cd54c1ec Replace Q_WS_MAC with Q_OS_MAC.
We want to carry over all mac-specific code paths
to Qt 5. WS_MAC is no longer set; OS_MAC is.

This change is compatible with Qt 4 builds since
OS_MAC is set whenever WS_MAC is. (OS_MAC would
also be set for the theoretical X11/Mac platform,
but that's anyway not a supported configuration
for Creator)

Change-Id: Ib25d8c4e83e7e27d911124cd48aa17fdb875923f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2012-01-26 11:06:12 +01:00
Eike Ziller
121e12701f Hide the icon in the editor combobox (but not in its popup)
Otherwise we have the lock icon from the tool button and from the combo
box next to each other.

Change-Id: I74d0ba42cd38ea37f2f8aa7e8d08a733174f1dce
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2011-12-12 13:09:48 +01:00
Jarek Kobus
297b444df2 Add add/remove splitter buttons to the editor view
Task-number: QTCREATORBUG-232

Change-Id: I71b517e09455bfdbe1b835515161e818a4f618f0
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-12-05 14:19:54 +01:00
hjk
31600758de all: s/info@qt.nokia.com/qt-info@nokia.com/
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-11-03 10:33:19 +01:00
Daniel Teske
18d4d20acb Fix detection of Oxygen style
Change-Id: I2a28335285869ce477d2c71532ccb44046a0cfa7
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2011-10-14 14:34:47 +02:00
Tobias Hunger
76448eec06 Manhattanstyle: Fix IndicatorToolBarHandle
operator + binds stronger than ?, so the evaluation of the expressions was
screwed up.

Change-Id: Id38adf6e17ea770d1d3219649629b06bfc2ca643
Reviewed-on: http://codereview.qt.nokia.com/348
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
2011-06-14 11:02:24 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
8397663964 Update license. 2011-04-13 11:49:28 +02:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Alessandro Portale
3aa3c5688f Pedantic cleanup of filename parameters for QIcon constructor
Using more *::Constants::ICON_* where it makes sense and
wrapping the file names into QLatin1String where they were
missing.

The increased usage of the ICON constants needed a few more
cross plugin includes of *constants.h, here and there.
I think that it is OK, since the dependencies were alredy there
icon resource wise.
2010-07-30 22:17:14 +02:00
Jens Bache-Wiig
de1fdf89fd A minor optimization for Manhattanstyle
We don't need the qobject cast. Checking the widget flag
should be a bit faster.

Done-with: danimo
2010-04-29 19:11:07 +02:00
Christian Kamm
d1c7daffd3 Styling: Merge Qt Simulator theme changes back into Creator.
Reviewed-by: Jens Bache-Wiig
2010-04-28 16:12:11 +02:00
Jens Bache-Wiig
8ce36e9876 Fix text eliding and rtl issues with miniprojectselector
* Fixed an issue with text eliding on combo boxes
* Fixed placement of arrow on elided comboboxes

Task-number: QTCREATORBUG-1278
2010-04-28 12:39:07 +02:00
Jens Bache-Wiig
b97d5c5c32 Fix tab clipping problem with corner widgets
The help mode ended up looking a bit broken due to removing
the leftmost pixel of tabbars. I simply disabled it when
corner widgets are present.
2010-03-29 11:36:36 +02:00
Jens Bache-Wiig
36a9d8a40c Some layout fixes
I fixed the tab offset so that we remove the double
border of the first tab also when only one tab is
visible.
2010-03-23 13:51:32 +01:00
Jens Bache-Wiig
3ecfc2f343 Fix white text in tool tips and dock widget decorations
This was a regression in the custom styling. We no longer set
the panel property on the mainwindow but rely on qobject_cast
to style custom mainwindows.

Reviewed-by: thorbjorn
2010-03-22 13:23:50 +01:00
Jens Bache-Wiig
3da48de31b Don't cache toolbars twice. Fix flickering.
There was a flicker problem with the tool bars because of
missing information in the cache key. We added this info
and removed the redundant caching of toolbar gradients.

Done-with: thorbjorn
2010-03-19 17:49:22 +01:00
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