user interface - With QT, is there a way to specify different UI layouts for different UI styles? -


I have found the cross platform QT ​​app, and no matter how I zoom the UI, it always Some platforms feel good about the difference between UI styles due to others.

For example, margins begin to be universal sets, even if the underlying elements dramatically change from one platform to another.

Perhaps the safest way to start with should be the most basic UI for. Personally, I use the QT's CSS type style. Also, make sure that when you sub-class your widgets, you properly override the event methods (i.e. resizeEvent (...), turn off the parameters in a superclass if appropriate. .) The basic recommendations from the QT docs should do the following. Another note on the layouts, make sure you are using:

enum QSizePolicy :: policy

appropriate and your layout flow well Instead of using varies from etc. fixed position ...


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -