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

Creating Application for MP Server

Scheduled Pinned Locked Moved Solved General and Desktop
drag
16 Posts 3 Posters 4.7k 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.
  • P Offline
    P Offline
    Pali
    wrote on 8 Jan 2017, 09:49 last edited by Pali 1 Aug 2017, 10:02
    #3
    This post is deleted!
    1 Reply Last reply
    1
    • S SGaist
      7 Jan 2017, 22:20

      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 8 Jan 2017, 09:54 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.

      M 1 Reply Last reply 8 Jan 2017, 10:18
      1
      • P Pali
        8 Jan 2017, 09:54

        @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.

        M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 8 Jan 2017, 10:18 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 8 Jan 2017, 11:40
        1
        • M mrjj
          8 Jan 2017, 10:18

          @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 8 Jan 2017, 11:40 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
          • M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 8 Jan 2017, 11:46 last edited by mrjj 1 Aug 2017, 11:48
            #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 8 Jan 2017, 16:52
            2
            • M mrjj
              8 Jan 2017, 11:46

              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 8 Jan 2017, 16:52 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?

              M 1 Reply Last reply 8 Jan 2017, 20:40
              0
              • P Pali
                8 Jan 2017, 16:52

                @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?

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 8 Jan 2017, 20:40 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 9 Jan 2017, 18:00 last edited by Pali 1 Sept 2017, 18:01
                  #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
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 9 Jan 2017, 21:38 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 11 Jan 2017, 14:58
                    2
                    • S SGaist
                      9 Jan 2017, 21:38

                      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 11 Jan 2017, 14:58 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 11 Jan 2017, 22:06 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 12 Jan 2017, 12:30
                        0
                        • S SGaist
                          11 Jan 2017, 22:06

                          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 12 Jan 2017, 12:30 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.

                          M 1 Reply Last reply 12 Jan 2017, 20:47
                          1
                          • P Pali
                            12 Jan 2017, 12:30

                            @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.

                            M Offline
                            M Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on 12 Jan 2017, 20:47 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 14 Jan 2017, 15:49
                            2
                            • M mrjj
                              12 Jan 2017, 20:47

                              @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 14 Jan 2017, 15:49 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

                              12/16

                              11 Jan 2017, 14:58

                              • Login

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