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. What is the difference between Line and QLine?
Qt 6.11 is out! See what's new in the release blog

What is the difference between Line and QLine?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 874 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.
  • Dummie1138D Offline
    Dummie1138D Offline
    Dummie1138
    wrote on last edited by
    #1

    On the Design tab, we are provided with some display widgets that we can just place down. One of this is the "Line".

    5669b6b9-8345-4cd5-ba05-ec5573cc1309-image.png

    41665548-55c8-4861-bd22-5aba8e390397-image.png

    What are the main differences between Line and QLine other than QLine acting as a 2D vector and Line as a shape? I have not been able to locate any documentation on Line, only for QLine.

    jsulmJ JKSHJ 2 Replies Last reply
    0
    • Dummie1138D Dummie1138

      On the Design tab, we are provided with some display widgets that we can just place down. One of this is the "Line".

      5669b6b9-8345-4cd5-ba05-ec5573cc1309-image.png

      41665548-55c8-4861-bd22-5aba8e390397-image.png

      What are the main differences between Line and QLine other than QLine acting as a 2D vector and Line as a shape? I have not been able to locate any documentation on Line, only for QLine.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Dummie1138 I'm not aware of a Qt class named Line. All Qt classes start with leading Q. Line is probably a custom class in your project or from a plug-in.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • Dummie1138D Dummie1138

        On the Design tab, we are provided with some display widgets that we can just place down. One of this is the "Line".

        5669b6b9-8345-4cd5-ba05-ec5573cc1309-image.png

        41665548-55c8-4861-bd22-5aba8e390397-image.png

        What are the main differences between Line and QLine other than QLine acting as a 2D vector and Line as a shape? I have not been able to locate any documentation on Line, only for QLine.

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @Dummie1138 said in What is the difference between Line and QLine?:

        I have not been able to locate any documentation on Line

        The "Horizontal Line" and "Vertical Line" items in Qt Designer are shortcuts for creating a skinny QFrame. There is no separate "Line" widget.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        3

        • Login

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