Press Ctrl+A (or Cmd+A) to select the widgets and select Lay out Horizontally (or press Ctrl+H on Linux or Windows or Ctrl+Shift+H on macOS) to apply a horizontal layout ( QHBoxLayout).In the Properties view, change the objectName to findButton.Double-click the Push Button widget and enter the text Find.Double-click the Label widget and enter the text Keyword.For example, to find the Label widget, start typing the word label. Note: To easily locate the widgets, use the search box at the top of the Sidebar. In the Base class list, select QWidget as the base class type.In the Class name field, type TextFinder as the class name.Select Next or Continue to open the Class Information dialog.
In the Build system field, select the build system to use for building and running the project: qmake, CMake, or Qbs.Select Next (on Windows and Linux) or Continue (on macOS) to open the Define Build System dialog.In the Create in field, enter the path for the project files.The Introduction and Project Location dialog opens. Select File > New File or Project > Application (Qt) > Qt Widgets Application > Choose.The application logic is written in C++ by using the code editor. The application user interface is constructed from Qt widgets by using Qt Designer. It is a simplified version of the Qt UI Tools Text Finder Example.
CREATING A .TXT FILE ON MAC HOW TO
This tutorial describes how to use Qt Creator to create a small Qt application, Text Finder.