1. 28 Jul, 2017 9 commits
  2. 27 Jul, 2017 16 commits
  3. 26 Jul, 2017 4 commits
    • Tim Jenssen's avatar
      QmlDesigner: add forgotten componentcore resource · babb49b0
      Tim Jenssen authored
      Change-Id: I486c690f848a15ac4675077e786a05fbd65e6a0c
      Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
    • Nikita Baryshnikov's avatar
      QmlDesigner fix parentheses warning · 5d362a4d
      Nikita Baryshnikov authored
      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's avatarThomas Hartmann <thomas.hartmann@qt.io>
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
    • Orgad Shaneh's avatar
      Replace include guards with #pragma once · dc43b891
      Orgad Shaneh authored
      Change-Id: Icce9d191cc6cae89baf973e949dc0757d318d6ea
      Reviewed-by: Nikolai Kosjar's avatarNikolai Kosjar <nikolai.kosjar@qt.io>
    • Eike Ziller's avatar
      Locator: Fix diverse issues with drawing highlighted text · 3841d2fc
      Eike Ziller authored
      To draw the result items with highlighted parts, we split the text to
      draw into "before highlight", "highlight" and "after highlight", and
      painted them separately. This had several issues:
      It breaks the text layout. Characters within a text are often started at
      subpixels, which was not so visible in the static search results, but
      lead to ugly artifacts while typing in Locator (enter a search term, and
      then continue adding characters that still match the first found item,
      and watch the effect in the "after highlight" part).
      It needs a lot of custom painting code. Properly supporting text elide
      modes is hard, scaling to more than one highlight as well. Reusing parts
      of the QItemDelegate base functions also has its issues, e.g. that
      clipping doesn't work well.
      Instead, QItemDelegate::drawDisplay should make it possible to set
      format ranges for the text it draws. This patch copies part of
      QItemDelegate to be able to add this parameter. Unfortunately Qt
      currently has a bug (QTBUG-62019) that character backgrounds are not
      painted far enough (1 pixel to the right has the wrong background), which
      looks very ugly in selected items in the search results. So we use the
      new delegate only for Locator for now, to be used later for the search
      results too, when that bug is fixed.
      Task-number: QTCREATORBUG-18532
      Change-Id: Idf59b2c2bcfa6b188a810f7a3128a81e7e6fffb1
      Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: David Schulz's avatarDavid Schulz <david.schulz@qt.io>
  4. 25 Jul, 2017 9 commits
  5. 24 Jul, 2017 2 commits