跳到內容
  • 版面
  • 最新
  • 標籤
  • 熱門
  • 使用者
  • 群組
  • 搜尋
  • Get Qt Extensions
  • Unsolved
Collapse
品牌標誌
  1. 首頁
  2. Qt Development
  3. General and Desktop
  4. GUI help
Forum Updated to NodeBB v4.3 + New Features

GUI help

已排程 已置頂 已鎖定 已移動 Solved General and Desktop
87 貼文 5 Posters 36.8k 瀏覽 3 Watching
  • 從舊到新
  • 從新到舊
  • 最多點贊
回覆
  • 在新貼文中回覆
登入後回覆
此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
  • C 離線
    C 離線
    caca0o
    寫於 最後由 編輯
    #81

    yes, I would like to know if this is possible with qt.
    but I do not know how to set it to make the result like what I want

    mrjjM 1 條回覆 最後回覆
    0
    • C caca0o

      yes, I would like to know if this is possible with qt.
      but I do not know how to set it to make the result like what I want

      mrjjM 離線
      mrjjM 離線
      mrjj
      Lifetime Qt Champion
      寫於 最後由 mrjj 編輯
      #82

      @caca0o
      yes, Qt has good database support so its very possible.
      You will have to know SQL to some extent to use it.
      https://www.w3schools.com/sql/

      and use these classes
      http://doc.qt.io/qt-5/qtsql-index.html

      1 條回覆 最後回覆
      1
      • C 離線
        C 離線
        caca0o
        寫於 最後由 編輯
        #83

        ok thanks... when I think in the future.
        i still do not know how to set in qt (neutral - .cpp? as the main window with GUI - game)
        it should actually work for people in the game

        mrjjM 1 條回覆 最後回覆
        0
        • C caca0o

          ok thanks... when I think in the future.
          i still do not know how to set in qt (neutral - .cpp? as the main window with GUI - game)
          it should actually work for people in the game

          mrjjM 離線
          mrjjM 離線
          mrjj
          Lifetime Qt Champion
          寫於 最後由 編輯
          #84

          @caca0o
          well if a sports game manager, it would be fine to dedicate a .cpp to all
          database functions
          like
          Addplayer
          RemovePlayer
          GetTeam
          GetStats

          to hide all database code and make it easy for other classes to use.

          1 條回覆 最後回覆
          1
          • C 離線
            C 離線
            caca0o
            寫於 最後由 編輯
            #85

            ok it will be annoying. but will it work when I have different lines in a stacket widget like (news, home, roster, etc.)?

            mrjjM 1 條回覆 最後回覆
            0
            • C caca0o

              ok it will be annoying. but will it work when I have different lines in a stacket widget like (news, home, roster, etc.)?

              mrjjM 離線
              mrjjM 離線
              mrjj
              Lifetime Qt Champion
              寫於 最後由 mrjj 編輯
              #86

              @caca0o
              Yes, you can open Database in one place in program
              and still use Query where you like.
              Including in all pages of a stackedwidget

              1 條回覆 最後回覆
              0
              • C 離線
                C 離線
                caca0o
                寫於 最後由 編輯
                #87

                hi, I still have a question about it.
                when I click on the start game button and I want the background to be the same and just a table.

                is it going to make some code? or over new .cpp with background?

                1 條回覆 最後回覆
                0

                • 登入

                • Login or register to search.
                • 第一個貼文
                  最後的貼文
                0
                • 版面
                • 最新
                • 標籤
                • 熱門
                • 使用者
                • 群組
                • 搜尋
                • Get Qt Extensions
                • Unsolved