Тёмный

Introduction to Qt Widgets (Part 15) - Layout in Qt Designer 

KDAB
Подписаться 12 тыс.
Просмотров 1,2 тыс.
50% 1

In this episode, Jesper will go through how to set up a layout in Qt Designer.
00:00 Introduction
00:29 Search Dialog Implementation
03:56 Search UI
07:22 Layouts
11:15 Spacers
21:11 Connecting Dialog
All 'Introduction to Qt Widgets' videos: • Introduction to Qt Wid...
All 'Introduction to Qt Widgets - Module 1' videos: • Introduction to Qt Wid...
All 'Introduction to Qt Widgets - Module 2' videos:
• Introduction to Qt Wid...
Links:
* Document Templates in Qt Creator: • Document Templates in ...
* Introduction to Qt/QML - Training: training.kdab.com/portfolio/i...
* Advanced QML - Training: training.kdab.com/portfolio/a...
The example code showcased in this video is available here: github.com/KDAB/kdabtv/tree/m...
About the host:
The video is presented by Jesper Pedersen, who started with Qt back when Qt was widgets only and the version was 1.44, which gives him 21 years of experience with Qt. Since 2000 he has taught almost 100 Qt classes, ranging from Qt Widgets to QML. Heck, Jesper even taught a few classes on QTopia Core - Trolltech's initial attempt at creating a phone stack. Today Jesper holds a fancy business title, but that doesn't prevent him from coding both in his job and in his spare time.
Every month our newsletter is featuring technical blogs on Qt, C++ and 3D topics: www.kdab.com/development-reso...
About KDAB:
KDAB offers experienced software experts to help you deliver functional, high-performing and innovative software across embedded, mobile and desktop platforms for projects using C++, Qt, QML/Qt Quick, OpenGL, Qt 3D and more. www.kdab.com/software-services
KDAB experts regularly take time out to deliver KDAB’s world class training, in-house or at open enrolment courses around the world. We are the market leaders for training in Qt, OpenGL and C++.
Contact us to find out more at training@kdab.com or visit our website: www.kdab.com/software-service...
We are over 100 people, located all around the world. Our Head Office is in Sweden and we have other offices in Germany, France, the UK and the USA. www.kdab.com/about/contact/

Наука

Опубликовано:

 

3 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@bennguyen1313
@bennguyen1313 4 месяца назад
Within Qt Designer, can you make an array of Checkboxes? I know you can create then access via code, QCheckBox checkboxes[10]; for (int i = 0; i < 10; ++i) { checkboxes[i].setObjectName(QString("ck%1").arg(i + 1)); checkboxes[i].setText(QString("Checkbox %1").arg(i + 1)); } But can you drag a checkbox into Designer and tell it this will be number 5 of 10?
@KDABtv
@KDABtv 4 месяца назад
Hi, Jesper speaking here: I'm afraid that is not possible. Your option would be to drag the amount of checkboxes you want in. But if you want it more dynamic, as I expect you would, then what I'd do is to simply drag in an empty QWidget in the place you want them, and then from C++ populate that widget with the amount of children you want.
Далее
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
Gtk vs Qt | GUI tool kits | Which is Better?
7:06
Просмотров 34 тыс.
Creating Your Own Qt Applications...It's Easy!
15:27
Просмотров 36 тыс.
Understanding Contents Margins in Qt Layouts
5:11
Просмотров 1,9 тыс.
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 6 млн
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн
Новые iPhone 16 и 16 Pro Max
0:42
Просмотров 2,3 млн