section-engineering-education / engineering-education

“Section's Engineering Education (EngEd) Program is dedicated to offering a unique quality community experience for computer science university students."
Apache License 2.0
364 stars 890 forks source link

Working with a Designer UI File in Your C++ Application #3777

Closed kiptui-victor closed 2 years ago

kiptui-victor commented 3 years ago

Proposed title of article

Using a Designer UI File in Your C++ Application

Introduction paragraph (2-3 paragraphs):

The widget tree of the form is represented in XML format via Qt Designer UI files. Forms can be processed in the following ways: -Forms are transformed to C++ code at compilation time, which implies they can be compiled. -Forms are processed by the QUiLoader class at runtime, which dynamically creates the widget tree while parsing the XML file. Using C++ and the Qt Widgets module, we construct a simple Notepad application in this tutorial to demonstrate fundamental Qt understanding. The program is a simple text editor that lets you create a text file, save it, print it, or reopen and change it. You can also choose the font you want to use.

Key takeaways:

-How to Compile Time Form Processing -how to use direct approach -how to design a UI -how to Run Time Form Processing -setting Automatic Connections

References:

N/A

WanjaMIKE commented 3 years ago

Good afternoon and thank you for submitting your topic suggestion. @kiptui-victor Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

hectorkambow commented 3 years ago

@kiptui-victor Sounds like a helpful topic - lets please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it).

Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting for final approval. (There are some great free tools that we reference in EngEd resources.) ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED. Please be sure to double check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

hectorkambow commented 2 years ago

@kiptui-victor Just and FYI I will be closing this topic form just to help clear up the queue where possible - can be REOPENED at anytime when ready. 👍