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. Change interface design
Forum Updated to NodeBB v4.3 + New Features

Change interface design

Scheduled Pinned Locked Moved General and Desktop
11 Posts 2 Posters 2.2k 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.
  • A Offline
    A Offline
    AichaDev
    wrote on last edited by
    #1

    First sorry for my English, I am a beginner in qt creator, I downloaded an open source project 'open Sankore' I am looking to change the design of the interface, the problem is that I not find the interface to change, I've got one but it's not the host interface. I know how you can help how can I make the changes I am totally lost
    Image fichier projet

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AichaDev
      wrote on last edited by
      #2

      example, or can I find the right and left column to remove
      capture home interface

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

        Hi
        If the interface you want to change is no in any of the .ui files , it means it made in the code.

        You can try to build and then run it in debug mode and
        then single step to see what is being created.

        If you are very new to Qt, you might want to consider trying out some of the
        samples before jumping to this HUGE project. :)

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AichaDev
          wrote on last edited by
          #4

          mrjj Thank you very much for responding, I'll try to debug mode immediately

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AichaDev
            wrote on last edited by
            #5

            I can not see the Elements create step by step in the debugging??

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

              Not sure what you mean.?

              You can not get it to step through the code ?
              look for
              int main(int argc, char *argv[])
              and then press F9 to set a break point.
              and press f5 to start
              If you mean that you like see the controls while it creates them, then often not as its just created there and then later
              show when button is pressed.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                AichaDev
                wrote on last edited by
                #7

                Thank you very much, I can not see the creation of the elements of the interface directly ??so that I can detect the function that creates the elements that I wish to withdraw

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

                  well if I understand what you mean, then no.
                  Often the elements (widgets) are not shown at once, when created.
                  They are just added to the "screen".

                  Later when that part of the program is accessed, the elements are shown.

                  So it can be a bit difficult to find the object you are after when only info is the look of the element.
                  It looks like sort of a tab control.

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AichaDev
                    wrote on last edited by
                    #9

                    please I want to know the name of this component (tab) on QtCreator

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

                      I think they are called UBDockPalettes so that would be
                      UBLeftPalette.cpp
                      UBRightPalette.cpp

                      as far as I can see.

                      Cannot run the project so only 80% sure.

                      They are created in
                      UBBoardPaletteManager.cpp LINE 145

                      @
                      void UBBoardPaletteManager::setupDockPaletteWidgets()
                      {
                      //------------------------------------------------//
                      // Create the widgets for the dock palettes
                      mpCachePropWidget = new UBCachePropertiesWidget();
                      mpDownloadWidget = new UBDockDownloadWidget();
                      // Add the dock palettes
                      mLeftPalette = new UBLeftPalette(mContainer);
                      @
                      Good luck

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        AichaDev
                        wrote on last edited by
                        #11

                        yaaay think you soooo mush mrjj, effectively it exists in UBLeftPalette.cpp
                        UBRightPalette.cpp, thinks for your help you saved my life

                        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