Django → Django - Tutorial 024. Polling with AJAX
Frequent surveys with AJAX allow you to establish a permanent connection between the browser and the server in order to update any data, for example, whether there are new notifications on the site for the user. For example, I organized …
ReadC++ → C++ - Tutorial 001. Hello World
The minimum program in C ++ is
int main() { } // the minimal C++ program
In this program, the declaration of the main function is presented, which takes no arguments. The curly brackets reflect grouping in C++ and in …
ReadQt → Qt/C++ - Lesson 065. The correspondence of HTTP errors to server response errors in QNetworkAccessManager
QNetworkReply, QNetworkError, QNetworkAccessManager
In one of the lessons, I worked with QNetworkAccessManager to get the content of the page from the site via the http protocol. There was made a check for errors, but no explanation was given as to what errors might …
ReadQt → Qt/C++ - Lesson 064. How to hide items from the QComboBox drop-down list
In some cases, it is required to hide some items from the QComboBox drop-down list. For example, the user is given the opportunity to select one of several options in QComboBox, but by default the invalid option should be displayed, …
ReadDjango → Django - Tutorial 023. Like Dislike system using GenericForeignKey
Like, Django, GenericRelation, Dislike, GenericForeignKey
In the article on creating a system of bookmarks on Django, an example was considered with the use of an abstract model for several types of bookmarks, namely for articles and comments on articles. Attention was also drawn to the …
ReadQt → Qt/C++ - Tutorial 063. Adding windows inside the main application window using QMdiArea
Many applications, like a photoshop, can open projects (images, texts, etc.) inside windows that open inside the main application window. Qt provides a similar function as QMdiArea . In an object of this class, you can place class objects inherited …
ReadDjango → Django - Tutorial 022. Adding a bookmark system (favorites) to the site
bookmark, AJAX, favorite, Django, jQuery
The site has the ability to mark articles, comments, topics and answers on the forum as favorites. However, marking as favorites does not provide a reload of the page, because for these actions the mechanism of AJAX-requests is used.
In …
ReadQt → Qt/C++ - Lesson 062. Comparator for sorting QList
When working with simple types, you can use standard sorting tools. If you want to sort complex objects, by a set of parameters, then you need to write a special comparator, which will perform a comparison on the required parameters. …
ReadPyQt5 → PyQt5 - Lesson 007. Works with QML QtQuick (Signals and slots)
PyQt5, QML, QtQuick, Signal, Slot
And now we will go deeper into the work with Qt using PyQt5, taking advantage of modern Qt features. By such possibilities I mean QtQuick and QML. PyQt5 allows you to use Qt classes that can process QML code, and …
ReadQt → Qt Linux - Lesson 003. Checking the battery level of the laptop using libacpi
On the forum we to talk about checking the battery level of the laptop under Linux using the Qt library. In fact, Qt does not currently provide a class that would allow you to check the battery charge. But such …
Read- Unknown akadamn
- Jan. 24, 2025, 8:14 p.m.
Qt - Test 001. Signals and slots
- Result:84points,
- Rating points4
- Unknown akadamn
- Jan. 24, 2025, 7:22 p.m.
Qt - Test 001. Signals and slots
- Result:42points,
- Rating points-8