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. Create a matrix from a .csv file
Servers for Qt installer are currently down

Create a matrix from a .csv file

Scheduled Pinned Locked Moved Solved General and Desktop
140 Posts 2 Posters 57.3k 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.
  • mrjjM mrjj

    @AliM93
    Where ever you want to open it from.
    Main win sounds good.

    #include "GridDialog.h"
    
    void MainWindow::on_pushButton_released()
    {
        GridDialog dia; 
        dia.exec();
    }
    
    
    A Offline
    A Offline
    AliM93
    wrote on last edited by AliM93
    #75

    @mrjj which is the difference between released and clicked? (curiosity)

    Done.

    mrjjM 1 Reply Last reply
    0
    • A AliM93

      @mrjj which is the difference between released and clicked? (curiosity)

      Done.

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

      @AliM93
      Clicked = triggers when you click
      Release = triggers when you release the left mouse button.
      You can use any of them.

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

        Ok
        super.
        Now run it and click button :)
        I hope it shows something.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AliM93
          wrote on last edited by
          #78

          thank, only one thimg, i get error with your code, i can use Griddialog = new griddialog(this);
          griddialog ->show();

          mrjjM 1 Reply Last reply
          0
          • A AliM93

            thank, only one thimg, i get error with your code, i can use Griddialog = new griddialog(this);
            griddialog ->show();

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

            @AliM93

            Mind the case

            Griddialog = new griddialog(this); <<< that is not correct class name and u missed * and name

            GridDialog * dia = new GridDialog (this);

            GridDialog <<< class name

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AliM93
              wrote on last edited by
              #80

              i get error, i have something to declare in main_window.h?

              mrjjM 1 Reply Last reply
              0
              • A AliM93

                i get error, i have something to declare in main_window.h?

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

                @AliM93
                well you must have the GridDialog.h include file

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AliM93
                  wrote on last edited by
                  #82

                  ii've done that

                  mrjjM 1 Reply Last reply
                  0
                  • A AliM93

                    ii've done that

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

                    @AliM93
                    Then you must have missspelled something as that is all you need.
                    Show excact code and the error

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      AliM93
                      wrote on last edited by
                      #84

                      maybe i have to include something also in griddialog?

                      mrjjM 1 Reply Last reply
                      0
                      • A AliM93

                        maybe i have to include something also in griddialog?

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

                        @AliM93
                        Creator did that when you promoted.

                        Please show real error :)

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          AliM93
                          wrote on last edited by
                          #86
                          This post is deleted!
                          A 1 Reply Last reply
                          0
                          • A AliM93

                            This post is deleted!

                            A Offline
                            A Offline
                            AliM93
                            wrote on last edited by
                            #87

                            @AliM93 i try to put what you suggest me in the function f button released, but nothing changes

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

                              Try a clean build.
                              It seems correct.

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

                                I think we did the same so not sure why you cannot compile.
                                alt text

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

                                  Wairt you have odd error

                                  That in from of MainWindow is wrong!

                                  and u use picture again so cant paste .

                                  alt text

                                  That is not legal syntax

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    AliM93
                                    wrote on last edited by
                                    #91
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      AliM93
                                      wrote on last edited by
                                      #92

                                      i try to clean and build and this comes out...

                                      mrjjM 1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        AliM93
                                        wrote on last edited by
                                        #93

                                        sorry, i didn't see your message

                                        1 Reply Last reply
                                        0
                                        • A AliM93

                                          i try to clean and build and this comes out...

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

                                          @AliM93
                                          Hmm . must be a cmake thing.

                                          The .h seems correctly spelled
                                          and this is in same project?

                                          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