The Qt Designer is a WYSIWYG (what you see is what you get) interface for laying out the widgets for your applications.
It allows you to drag and drop widgets onto your custom class and
lay them out with minimal effort and 0 code. Your template will then be
saved out to an XML based file (a .ui file) format that you can read
into your application.
In this tutorial, we'll re-do our last code using Qt's designer to create our actions and link everything together.
This blog is designed to provide guidance, tips-and-tricks, and generally share the knowledge that I have collected over my career as a software engineer in the Animation/VFX/Film industry. If you're new to blogger - you can search the posts in the field on the top-left of the page. I would also recommend starting from the earliest post and working towards the latest post - as the dates are tweaked to setup the tutorial order. I hope you enjoy!
Showing posts with label QLayout. Show all posts
Showing posts with label QLayout. Show all posts
Saturday, October 8, 2011
Introduction to Designer
Labels:
Beginner,
PyQt,
Python,
QLayout,
QMainWindow,
QSplitter,
Qt Designer,
Tutorial
Friday, October 7, 2011
Introduction to Layouts
Layouts are a powerful feature of Qt's GUI system - what they allow you to do is completely avoid having to deal with resizing logic.
If you have ever had to write your own code to determine how to resize the contents of a desktop application - you will be thrilled to never have to deal with that ever again.
This tutorial will take you through the basics of working with laying widgets out in Qt.
If you have ever had to write your own code to determine how to resize the contents of a desktop application - you will be thrilled to never have to deal with that ever again.
This tutorial will take you through the basics of working with laying widgets out in Qt.
Subscribe to:
Posts (Atom)