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. [SOLVED]Widget class name?
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Widget class name?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.9k 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.
  • J Offline
    J Offline
    Jake007
    wrote on last edited by
    #1

    Hi!

    I'm looking for class name of "this":http://imageshack.us/scaled/landing/11/widgetbo.png widget.
    I opened it in designer when double clicked on QTextEdit.
    Is it even built in Qt, or is a part of Qt Designer/Creator?


    Code is poetry

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      QTextEdit is one of the basic gui classes in Qt. Just look it up in the docs: "http://qt-project.org/doc/qt-5.0/qtwidgets/qtextedit.html":http://qt-project.org/doc/qt-5.0/qtwidgets/qtextedit.html

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MuldeR
        wrote on last edited by
        #3

        In your screenshot I see a window (probably a QDialog) containing various widgets, including a tab widget (QTabWidget), several buttons (QPushButton), a text editor (QTextEdit) and so on...

        If you want all this as one single class, you probably have to copy the code from QDesigner code.

        My OpenSource software at: http://muldersoft.com/

        Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

        Go visit the coop: http://youtu.be/Jay...

        1 Reply Last reply
        0
        • J Offline
          J Offline
          Jake007
          wrote on last edited by
          #4

          I was hoping to get it like QColorDialog class or something similar.

          Thanks.

          Regards,
          Jake


          Code is poetry

          1 Reply Last reply
          0
          • M Offline
            M Offline
            MuldeR
            wrote on last edited by
            #5

            You can have a look at the list of all classes that inherit from QDialog:

            bq. Q3FileDialog, Q3ProgressDialog, Q3TabDialog, Q3Wizard, QAbstractPrintDialog, QColorDialog, QErrorMessage, QFileDialog, QFontDialog, QInputDialog, QMessageBox, QPageSetupDialog, QPrintPreviewDialog, QProgressDialog, and QWizard

            Seems like you are out of luck...

            My OpenSource software at: http://muldersoft.com/

            Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

            Go visit the coop: http://youtu.be/Jay...

            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