Is it possible to use constants in Qt Designer? -
i want have same margins, sizes etc. same kinds of widgets. possible define constants , use them in qt designer?
(i want similiar eclipse gui design of android applications have global constants)
extra answer comment, layouts , styling:
you can not tune layout qss, because not widget. may wrap content of layout widget.
so if have next scheme:
verticallayout(margin: 5px) -> your_widgets
you should add extra/proxy widget:
verticallayout(margin: 0px) -> wrapper_widget_with_verticallayout(margin: 5px) -> your_widgets
so able use selectors like: #wrapper_widget_with_verticallayout qwidget{ border: 1px solid red; }
Comments
Post a Comment