Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. good practice
    Log in to post
    • All categories
    • T

      Solved Disable wheel event on QDateEdit
      General and Desktop • good practice • • Thombou

      7
      0
      Votes
      7
      Posts
      266
      Views

      T

      @JonB Thank you! It always good to know some good practice. It is something I miss a bit... If you have any recommendation where I could find more tips like this, let me know!

    • T

      Unsolved Classes organisation - general good practices
      General and Desktop • good practice • • Thombou

      2
      0
      Votes
      2
      Posts
      93
      Views

      SGaist

      Hi,

      Go with the usual: single responsibility. If a widget shall handle a particular aspect then keep it separated with a clean API so can also make it testable.

      For the models, it will highly depend on what you want to access and how you need to interact with it.

    • R

      Solved Is it a good practice or good idea to have a stock of actions?
      Brainstorm • good practice design pattern • • remizero

      6
      0
      Votes
      6
      Posts
      1765
      Views

      R

      Thank you very much for your answers, because they have been very useful to solve a problem within my application.