Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to edit a html-css Qt code
Forum Updated to NodeBB v4.3 + New Features

How to edit a html-css Qt code

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 870 Views 2 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.
  • P Offline
    P Offline
    PatrickK
    wrote on last edited by PatrickK
    #1

    Hi, how can I edit a cxx which contains lines like the below one?
    _html = _html.replace("{{CLEAN}}",this->ui->theVolumeIsLineEdit->text());

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      What do you mean edit?
      You can right click the theVolumeIsLineEdit and select "Edit HTML" to see any html it might hold.
      alt text

      P 1 Reply Last reply
      2
      • mrjjM mrjj

        Hi
        What do you mean edit?
        You can right click the theVolumeIsLineEdit and select "Edit HTML" to see any html it might hold.
        alt text

        P Offline
        P Offline
        PatrickK
        wrote on last edited by PatrickK
        #3

        @mrjj For me it doesn't show the Edit HTML choice. It only contains options such as: Switch Header/Source, Follow Symbol Under Cursor...

        mrjjM 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Are you trying to do html templating like Django ? If so, then take a look at the grantlee project.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • P PatrickK

            @mrjj For me it doesn't show the Edit HTML choice. It only contains options such as: Switch Header/Source, Follow Symbol Under Cursor...

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @PatrickK

            it sounds like you do it in the source code.
            that won't work.

            First you open UI file
            then in right side
            find the theVolumeIsLineEdit and right click it.
            You must do it in Designer part of Creator.

            1 Reply Last reply
            1

            • Login

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