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. Integrate my own CMainWindow in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Integrate my own CMainWindow in Qt Creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 271 Views
  • 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.
  • L Offline
    L Offline
    Linex
    wrote on last edited by
    #1

    Hi,
    i would like to derive my own CMainWindow - class from QMainWindow.
    I would like to adapt this new class to my wishes. (e.g. Menu-Bar, Buttons, ...)

    Now i would like to proceed as follows:

    MyApp0.png
    MyApp1.png
    MyApp2.png
    MyApp3.png

    For class information I can choose the base class. Can I set QtCreator to select my CMainWindow - class?
    Or is there another way to create it using the QtCreator? (Plugin,....)

    aha_1980A 1 Reply Last reply
    0
    • L Linex

      Hi,
      i would like to derive my own CMainWindow - class from QMainWindow.
      I would like to adapt this new class to my wishes. (e.g. Menu-Bar, Buttons, ...)

      Now i would like to proceed as follows:

      MyApp0.png
      MyApp1.png
      MyApp2.png
      MyApp3.png

      For class information I can choose the base class. Can I set QtCreator to select my CMainWindow - class?
      Or is there another way to create it using the QtCreator? (Plugin,....)

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @Linex,

      you can add your own wizard or maybe modify one of the existing wizards. The technology is explained here:

      https://doc.qt.io/qtcreator/creator-project-wizards-json.html

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        But the question is - why? Do you really create that much new projects so it would save you that much time?

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        L 1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          But the question is - why? Do you really create that much new projects so it would save you that much time?

          L Offline
          L Offline
          Linex
          wrote on last edited by
          #4

          @Christian-Ehrlicher Yes,
          we develop many apps with the same base-functions but different details. e.g. as stackedwidgets

          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