- 13 Sep, 2017 1 commit
-
-
Thomas Hartmann authored
We already change the selection currently in the press event, which leads wo weird behaivour if e.g. shift is pressed. In this case the item is immediately unselected which is unexpected and cannot be moved anymore. Generally reacting to the event in the release event is the correct way to do it. Change-Id: Ib765f97f85e5dbeb6148d48f8640f1798a057b48 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 09 Aug, 2017 1 commit
-
-
Thomas Hartmann authored
Change-Id: Ic89c578474d7cdf1f72a61a91d0cdf32f7b70a7f Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
- 26 Jul, 2017 1 commit
-
-
Nikita Baryshnikov authored
/src/plugins/qmldesigner/components/formeditor/selectiontool.cpp:145: warning: suggest parentheses around '&&' within '||' [-Wparentheses] || selectedItemCursorInMovableArea(event->scenePos()) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !event->modifiers().testFlag(Qt::ControlModifier) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ && !event->modifiers().testFlag(Qt::ShiftModifier)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Change-Id: Iea6018d885b9bad13363a39e2aee0e6e229f93c4 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 19 Jul, 2017 1 commit
-
-
Thomas Hartmann authored
This is a major overhaul of the slection logic. We do not change to the move tool automatically once the curser enters the selected item. This allows selection of items that are at the same position as the current selected item. The selected item can still be moved if there is no pissible candidate for selection. Also the border and gizmo always allows an item to be moved, if the item is fully covered by another item. Change-Id: Ic97a2bf23f33fcc5e209248aeb2f97df67bd23e1 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 09 Jan, 2017 1 commit
-
-
Tim Jenssen authored
Change-Id: Ie608e6f2d733c015b315d16ad58b159de4a72d75 Reviewed-by:
Thomas Hartmann <thomas.hartmann@qt.io>
-
- 11 Oct, 2016 1 commit
-
-
Thomas Hartmann authored
* We forward the focusOut event to the tools * The text tool now commits the data if the focus is lost * Adding override Task-number: QTCREATORBUG-16085 Change-Id: Ibdf6f60fc53e3c6c03222741c16cd8dd665618e1 Reviewed-by:
Tim Jenssen <tim.jenssen@qt.io>
-
- 19 Jan, 2016 1 commit
-
-
Tobias Hunger authored
* Update files in src/plugins Change-Id: Ia5d77fad7d19d4bb3498e78661982f68729adb22 Reviewed-by:
Tobias Hunger <tobias.hunger@theqtcompany.com>
-
- 18 Sep, 2015 1 commit
-
-
Alessandro Portale authored
Change-Id: I7f7aecd02892b6c616cd148fa5d845e7bc0d3b4f Reviewed-by:
Tuukka Turunen <tuukka.turunen@digia.com> Reviewed-by:
Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by:
Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by:
Alessandro Portale <alessandro.portale@theqtcompany.com>
-
- 17 Jul, 2015 1 commit
-
-
Thomas Hartmann authored
Task-number: QTCREATORBUG-11703 Change-Id: Ief6a7bbbb935b76700e50b60bf234c87a76e7f55 Reviewed-by:
Tim Jenssen <tim.jenssen@theqtcompany.com>
-
- 16 Jan, 2015 1 commit
-
-
Eike Ziller authored
Change-Id: I711d5fb475ef814a1dc9d2822740e827f3f67125 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 09 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 05 Aug, 2014 1 commit
-
-
Tim Jenssen authored
Change-Id: Ib8fd13a3688447dcb7eeaca811f3abfefa4b5089 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 22 Jul, 2014 1 commit
-
-
Marco Bubke authored
Change-Id: I456641a0466ec7be4858629fd201a539b6c0fdfd Reviewed-by:
Tim Jenssen <tim.jenssen@digia.com>
-
- 08 Jan, 2014 1 commit
-
-
Robert Loehning authored
Change-Id: Ib5423fdd064e4546f848c0b640b0ed0514c26d3a Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 02 Jan, 2014 1 commit
-
-
Marco Bubke authored
Task-number: QTCREATORBUG-10644 Change-Id: I23a02dae01faf703dbf9bd5bd643dc091a947eba Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 14 Oct, 2013 1 commit
-
-
Marco Bubke authored
Task-number: QTCREATORBUG-10374 Change-Id: I68ec998ad156a74d37e0321e1538b0936fded8da Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 18 Sep, 2013 1 commit
-
-
Marco Bubke authored
If you hover over a tab the content will be visulized as non editable. Change-Id: If7fcc8aaa319e0f952f501f6e9e2fc767b89b636 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 11 Sep, 2013 1 commit
-
-
Marco Bubke authored
Change-Id: I5a7e8d38c4188517ceddd8409b93d18582790ac8 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 04 Sep, 2013 2 commits
-
-
Marco Bubke authored
Change-Id: I4fe0540451e522e57ee73234638bf84cb6071a45 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
Marco Bubke authored
Change-Id: I46a763f87e19114e223b9eb897cbb89cf1f4c3d5 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 03 Sep, 2013 1 commit
-
-
Marco Bubke authored
Change-Id: I0cd4b3c9dc0178936ffd96d8acb443ce1a228d1f Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 25 Jul, 2013 1 commit
-
-
Marco Bubke authored
Change-Id: I32871e3a661319deefe910edf2e3cd51fbf8aefa Reviewed-by:
Tim Jenssen <tim.jenssen@digia.com>
-
- 17 Jul, 2013 1 commit
-
-
Orgad Shaneh authored
Change-Id: I1309db70e98d678e150388c76ce665e988fdf081 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 30 Apr, 2013 1 commit
-
-
Friedemann Kleint authored
Ran script to remove inludes on a trial-and-error basis and manually corrected it. Change-Id: I8a2e9e35980198fc4162623db044c228bd209a0f Reviewed-by:
Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 22 Apr, 2013 1 commit
-
-
Marco Bubke authored
Change-Id: I831e68877eb3d785b4bbb99db002ab8e42158d75 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 04 Apr, 2013 1 commit
-
-
Thomas Hartmann authored
Change-Id: If5b5b2d4f4bacda7381400a09a971f116e8c4eab Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 25 Mar, 2013 1 commit
-
-
Marco Bubke authored
Change-Id: Ibd2e30f97117ec2c20240e115e57f387fd220686 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com> (cherry picked from commit 0edde8f8) Reviewed-by:
Marco Bubke <marco.bubke@digia.com>
-
- 18 Mar, 2013 1 commit
-
-
Marco Bubke authored
Change-Id: Ibd2e30f97117ec2c20240e115e57f387fd220686 Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@digia.com>
-
- 29 Jan, 2013 1 commit
-
-
Robert Loehning authored
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 08 Jan, 2013 1 commit
-
-
Orgad Shaneh authored
#!/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>
-
- 28 Nov, 2012 1 commit
-
-
Orgad Shaneh authored
find -name \*.cpp -o -name \*.h | \ xargs sed -Ei 's/ (for|foreach|if|switch|while)\(/ \1 (/g' Change-Id: I9efdff4bf0c8c01a52baaaeb75198483c77b0390 Reviewed-by:
hjk <qthjk@ovi.com>
-
- 05 Oct, 2012 1 commit
-
-
hjk authored
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825 Reviewed-by:
Eike Ziller <eike.ziller@digia.com>
-
- 06 Aug, 2012 1 commit
-
-
hjk authored
More uniform. Change-Id: I1c6057981f4c2b3170a4e69f0674fe4caf1143a2 Reviewed-by:
Robert Loehning <robert.loehning@nokia.com>
-
- 19 Jul, 2012 1 commit
-
-
Eike Ziller authored
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by:
Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-
- 26 Jan, 2012 1 commit
-
-
hjk authored
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by:
Daniel Teske <daniel.teske@nokia.com>
-
- 03 Nov, 2011 1 commit
-
-
hjk authored
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
-
- 16 Sep, 2011 1 commit
-
-
Thomas Hartmann authored
Asserting because of unexpected mouse events is evil. Task-number: QTCREATORBUG-6042 Change-Id: Idc21b1cb6bfebead4eab80f6526235164b3f8d54 Reviewed-on: http://codereview.qt-project.org/5090Reviewed-by:
hjk <qthjk@ovi.com>
-
- 30 Jun, 2011 1 commit
-
-
Thomas Hartmann authored
Change-Id: Ie9d9a739e559d5cfc06849ff3e5c086e9ab2224c DoneBy: Marco Bubke Task-number: QTCREATORBUG-3962 Reviewed-on: http://codereview.qt.nokia.com/958Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@nokia.com>
-
- 29 Jun, 2011 1 commit
-
-
Marco Bubke authored
Change-Id: I533642ebf5d3937f96b248d7f999eb4928e035e9 Reviewed-on: http://codereview.qt.nokia.com/911Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Thomas Hartmann <Thomas.Hartmann@nokia.com>
-
- 27 Jun, 2011 1 commit
-
-
Thomas Hartmann authored
This patch adds a handler for a context menu to AbstactFormEditorTool. Also all the tools are patched to ignore right mouse keys for now. The ResizeManipulator gets an active property. Change-Id: I66b247ce6ae8e9f88517a1c1698432fb64f70da7 Reviewed-on: http://codereview.qt.nokia.com/770Reviewed-by:
Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Marco Bubke <marco.bubke@nokia.com>
-