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. Creating Application for MP Server
Forum Updated to NodeBB v4.3 + New Features

Creating Application for MP Server

Scheduled Pinned Locked Moved Solved General and Desktop
drag
16 Posts 3 Posters 5.1k 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.
  • SGaistS SGaist

    Hi,

    From a quick look at your description, you'll have to do some coding as well.

    If you would like to go with the QWidget way, then you might rather want to use the Graphics View Framework to model your class rooms.

    Where are you getting the configuration data like MPServer number, username and student name ?

    Also, it might be easier to have these data in separate lists e.g. QListView and drag & drop them on their class place rather than having to handle that through QComboBox.

    Hope it helps

    P Offline
    P Offline
    Pali
    wrote on last edited by
    #4

    @SGaist I am getting the configuration data like MPServer number in the Classroom it self.
    The situation is that, that our school has three buildings in which we have Classroom with Multi Point Servers.
    Each such Classroom has different arrangement of MPS's, Thin Clients, its positions in the classroom.
    Teacher can see at Thin Client's monitor which MPS is used out there. Teacher can collect these data and write down on a paper for later use, say for use in my application, or in the batch file.

    mrjjM 1 Reply Last reply
    1
    • P Pali

      @SGaist I am getting the configuration data like MPServer number in the Classroom it self.
      The situation is that, that our school has three buildings in which we have Classroom with Multi Point Servers.
      Each such Classroom has different arrangement of MPS's, Thin Clients, its positions in the classroom.
      Teacher can see at Thin Client's monitor which MPS is used out there. Teacher can collect these data and write down on a paper for later use, say for use in my application, or in the batch file.

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

      @Pali
      Hi
      Super good with pictures.

      I would have a look at
      http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html

      It could be shaped into the Class Room Builder app and most of the code is already there.

      For the selector widgets types
      alt text

      I would just have them outside the actual class room view
      as it is easier than embedding as graphical item
      in the Graphics View Framework but BOTH is very possible and easy.

      P 1 Reply Last reply
      1
      • mrjjM mrjj

        @Pali
        Hi
        Super good with pictures.

        I would have a look at
        http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html

        It could be shaped into the Class Room Builder app and most of the code is already there.

        For the selector widgets types
        alt text

        I would just have them outside the actual class room view
        as it is easier than embedding as graphical item
        in the Graphics View Framework but BOTH is very possible and easy.

        P Offline
        P Offline
        Pali
        wrote on last edited by
        #6

        @mrjj I shall follow your advice. I just downloaded the http://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html and opened it. I'm new to Qt Creator too. How can I use this diagramscene example for my new Class Room Builder project? In Qt Creator there is no such thing that one can save one project under other name, right? Must I import files from the diagramscene example project? If yes, how can I do that?

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

          Hi
          First of all its (should be) directly available in Creator.
          In the Welcome screen there is "Examples" ( right side, under "Projects")
          Should already be in there.

          I would then copy whole folder to new location and rename it for project.
          Also rename the .pro file. ( with Creator closed)

          Then its CRB :)

          Update:
          To know where the project is. Open it from Examples and then right click any file in project and choose Show in Explorer

          P 1 Reply Last reply
          2
          • mrjjM mrjj

            Hi
            First of all its (should be) directly available in Creator.
            In the Welcome screen there is "Examples" ( right side, under "Projects")
            Should already be in there.

            I would then copy whole folder to new location and rename it for project.
            Also rename the .pro file. ( with Creator closed)

            Then its CRB :)

            Update:
            To know where the project is. Open it from Examples and then right click any file in project and choose Show in Explorer

            P Offline
            P Offline
            Pali
            wrote on last edited by
            #8

            @mrjj I did as you advices me. I have now the ClassRoomWithMPservers project, which contains every files and directories from the Diagramscene example project. I rename also the .pro file. When opened the new ClassRoomWithMPservers project in Qt Creator, there were created automatically the ClassRoomWithMPservers.pro.user file too out there and there remain the diagramscene.pro.user file also. I think that that the letter can be removed, right?

            mrjjM 1 Reply Last reply
            0
            • P Pali

              @mrjj I did as you advices me. I have now the ClassRoomWithMPservers project, which contains every files and directories from the Diagramscene example project. I rename also the .pro file. When opened the new ClassRoomWithMPservers project in Qt Creator, there were created automatically the ClassRoomWithMPservers.pro.user file too out there and there remain the diagramscene.pro.user file also. I think that that the letter can be removed, right?

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

              @Pali said in Creating Application for MP Server:

              diagramscene.pro.user

              the .user file can always be removed. The only exception is custom make steps as it seems
              to be stored there. Its a file Creator use for the handling/settings of the project. so the old
              diagramscene.pro.user can surely be removed.

              1 Reply Last reply
              2
              • P Offline
                P Offline
                Pali
                wrote on last edited by Pali
                #10

                So I can start to modify header and .cpp files and images, right?
                Because I'm new to Qt I shall use F1 context help to study Q Classes when in an opened header or cpp file within Qt Creator. Where to start?

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

                  I'd start by looking at the general documentation of the Graphics View Framework to get a good grasp at what you can code with it.

                  You should also take the time to do some design in order have a good base plan to write your application. Rushing the implementation isn't a good thing to do.

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

                  P 1 Reply Last reply
                  2
                  • SGaistS SGaist

                    I'd start by looking at the general documentation of the Graphics View Framework to get a good grasp at what you can code with it.

                    You should also take the time to do some design in order have a good base plan to write your application. Rushing the implementation isn't a good thing to do.

                    P Offline
                    P Offline
                    Pali
                    wrote on last edited by
                    #12

                    @SGaist I am just qurious how do you do some design: maybe with an application such as Dia?
                    Otherwise I find the Graphics View Framework documentation for Qt 5.7. Thanks!!

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

                      Usually I start with the good old paper and pencil.

                      What kind of tools are you looking for ?

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

                      P 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Usually I start with the good old paper and pencil.

                        What kind of tools are you looking for ?

                        P Offline
                        P Offline
                        Pali
                        wrote on last edited by
                        #14

                        @SGaist I'm looking not for any tool yet.
                        As you can see, I used in this project first the Inkscape to create images of Controls ( for my future application ClassRoomWithMPservers ) just to see how they look.
                        Now I shall do first study the Graphics View Framework documentation. Then I shall maybe use Inkscape, or even Dia to visually present the application: it's GUI and maybe the Objects of Class in the application. I know for UML diagramm a little.

                        mrjjM 1 Reply Last reply
                        1
                        • P Pali

                          @SGaist I'm looking not for any tool yet.
                          As you can see, I used in this project first the Inkscape to create images of Controls ( for my future application ClassRoomWithMPservers ) just to see how they look.
                          Now I shall do first study the Graphics View Framework documentation. Then I shall maybe use Inkscape, or even Dia to visually present the application: it's GUI and maybe the Objects of Class in the application. I know for UML diagramm a little.

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

                          @Pali
                          Hi
                          If you are into UML, i can highly recommend
                          http://staruml.io/
                          It can generate c++ from the class diagrams. ( free download)

                          P 1 Reply Last reply
                          2
                          • mrjjM mrjj

                            @Pali
                            Hi
                            If you are into UML, i can highly recommend
                            http://staruml.io/
                            It can generate c++ from the class diagrams. ( free download)

                            P Offline
                            P Offline
                            Pali
                            wrote on last edited by
                            #16

                            @mrjj I started this topic because I did not know how to start this project. You and @SGaist advices me and gives to me the right direction where I can go. So I can now start my project. Thank you both!! I think it is now time to close this topic.

                            1 Reply Last reply
                            2

                            • Login

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