Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Shortcut CTRL-Left in Design view does not work after adding copyright notices to .ui files
Qt 6.11 is out! See what's new in the release blog

Shortcut CTRL-Left in Design view does not work after adding copyright notices to .ui files

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 429 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Robert Hairgrove
    wrote on last edited by
    #1

    I am using Qt Creator 4.12.2 on Linux Ubuntu 18.04 LTS.

    When editing a UI form in Designer view, I can normally return to the last source file edited in Edit view and not have the XML representation of the UI file presented to me in an editor with the warning "This file can only be edited in design view", etc. by pressing the CTRL+Left Arrow key. This is very convenient when setting up signals and slots.

    According to the XML Schema for .ui files shown in the documentation for Qt 5, it is possible to add a <comment> element under the <ui> element in the file which can be used to include copyright notices, etc. However, after adding the <comment> element, the shortcut described above does not work anymore, and I have to manually quit the UI file.

    Is this a known bug?

    It would be nice if it were possible to add such comment elements directly in Designer and not have to edit the file outside of Qt Creator. I didn't see any other way to do this, though. Is there a way?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Robert Hairgrove
      wrote on last edited by
      #2

      Strange, now it is working. Perhaps I only needed to close Qt Creator and reopen it.

      Marking as SOLVED.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved