Qt → Place the application window at the top and center of the main screen (monitor)
Пополняю свой склерозник....
Возникла необходимость разместить главный виджет приложения прикрепленный посредине верхней части основного экрана, т.е. основного монитора.
Readvoid MainWidget::moveToTopCenter() { auto screen = QGuiApplication::primaryScreen(); //опеределянм главный экран QRect rect = screen->geometry(); //размер экрана QPoint center = rect.center(); //координаты центра …
Qt → Qt Design Studio 1.4 Beta released
Quick, Qt, Release, QML, UI, UX
We are happy to announce the beta version of Qt Design Studio 1.4
Qt Design Studio is a User Interface (UI) design and development tool that allows designers and developers to rapidly prototype and develop complex user interfaces. Both designers …
ReadUnreal Engine 4 → Effective Virtual Police Training Environment in VR by V-Armed
Virtual reality has seen many implementations in the education and simulation sector, from brain surgery to military operations. VR (virtual reality) based law enforcement training is now available for police officers to quickly and safely prepare them for various situations. …
ReadQt → Qt/C++ - Tutorial 090. How to make a learning dialogue with highlighting widgets in the program
Qt, QWidget, Stylesheet, Tutorial
I suggest studying a small application in which a dialog box will be created, thanks to which the user can be trained in the functionality of your program, step by step explaining which program widget is responsible for what.
To …
ReadFirebird → Updating table data based on a selection from another table using EXECUTE BLOCK
Good day!
More work notes.
There was a need to update the data on the IP addresses of the database servers on the objects.
Those. Based on the result of the SELECT, perform an UPDATE on another table.
We will …
ReadPyQt5 → PyQt5 - Tutorial 009. Using QThread with MoveToThread
moveToThread, QObject, QThread, PyQt5, Qt
Based on one of the questions on the forum, I wrote an example on using QThread in PyQt5, as well as using the moveToThread method to move the class object of the inherited QObject to another thread.
In this example, …
ReadQML → QML - Tutorial 038. Using the clip property to crop child objects inside Item or Rectangle
clip, ListView, OpacityMask, QML
Quite often, the same question arises on the forum regarding the problem of displaying content embedded in any QML objects.
The most common manifestation of this problem is when ListView content scrolls beyond its scope. In any case, this is …
ReadGameDev → Valve To Release Source 2 Tools With Half-Life: Alyx Next March
The last entry in the Half-Life series was a very long time ago, so there are more developer tools based on Valve's current Source 2 internal engine.
Along with today's official reveal of their exclusive VR game Half-Life: Alyx, Valve …
ReadDjango → Django - Tutorial 050. Creating Dynamic Site Settings Using SingletonModel
SingletonModel, Model, Django, singleton
Let's say you create a site with CMS based on Django, which must have some kind of dynamic site settings that will be available to the user. For example, the name of the site, some specialized information, while you take …
ReadQt → Efficient QString Concatenation with Folding C ++ 17 Template Parameters
It's common in C++ to have operator+to perform string concatenation, whether you're using the standard library (or STL) or Qt. This allows you to write things like the following snippet:
ReadQString statement{"I'm not"}; QString number{"a number"}; QString space{" "}; QString …
- Akiv Doros
- Nov. 11, 2024, 10:58 p.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:50points,
- Rating points-4
- molni99
- Oct. 26, 2024, 8:37 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:80points,
- Rating points4
- molni99
- Oct. 26, 2024, 8:29 a.m.
C ++ - Test 004. Pointers, Arrays and Loops
- Result:20points,
- Rating points-10