Evgenii Legotckoi
Evgenii LegotckoiMay 10, 2017, 12:38 p.m.

DjangoDjango - Tutorial 024. Polling with AJAX

AJAX, Django, Polling

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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiMay 7, 2017, 4:51 a.m.

C++C++ - Tutorial 001. Hello World

C++, 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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiMay 4, 2017, 11:33 a.m.

QtQt/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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiMay 3, 2017, 12:23 p.m.

QtQt/C++ - Lesson 064. How to hide items from the QComboBox drop-down list

Qt, QComboBox, QListView

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, …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 30, 2017, 12:17 p.m.

DjangoDjango - 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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 25, 2017, 12:23 p.m.

QtQt/C++ - Tutorial 063. Adding windows inside the main application window using QMdiArea

QMdiArea, Qt, QWidget

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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 8, 2017, 7:52 a.m.

DjangoDjango - 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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 7, 2017, 3:22 a.m.

QtQt/C++ - Lesson 062. Comparator for sorting QList

QList, sort, сортировка

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. …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 2, 2017, 2:22 p.m.

PyQt5PyQt5 - 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 …

Read
Evgenii Legotckoi
Evgenii LegotckoiApril 1, 2017, 12:16 p.m.

QtQt Linux - Lesson 003. Checking the battery level of the laptop using libacpi

Qt, Battery, 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
Ua

Qt - Test 001. Signals and slots

  • Result:84points,
  • Rating points4
Ua

Qt - Test 001. Signals and slots

  • Result:42points,
  • Rating points-8
ОК

Qt - Test 001. Signals and slots

  • Result:47points,
  • Rating points-6
Last comments
ИМ
Игорь МаксимовNov. 23, 2024, 12:51 a.m.
Django - Tutorial 017. Customize the login page to Django Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
Evgenii Legotckoi
Evgenii LegotckoiNov. 1, 2024, 2:37 a.m.
Django - Lesson 064. How to write a Python Markdown extension Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
A
ALO1ZEOct. 19, 2024, 8:19 p.m.
Fb3 file reader on Qt Creator Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html
ИМ
Игорь МаксимовOct. 5, 2024, 7:51 p.m.
Django - Lesson 064. How to write a Python Markdown extension Приветствую Евгений! У меня вопрос. Можно ли вставлять свои классы в разметку редактора markdown? Допустим имея стандартную разметку: <ul> <li></li> <li></l…
d
dblas5July 5, 2024, 11:02 p.m.
QML - Lesson 016. SQLite database and the working with it in QML Qt Здравствуйте, возникает такая проблема (я новичок): ApplicationWindow неизвестный элемент. (М300) для TextField и Button аналогично. Могу предположить, что из-за более новой верси…
Now discuss on the forum
NW
Nayo WaiJan. 30, 2025, 10:22 p.m.
не запускается компьютер!!! Не запускается компьютер (точнее работает блок , но сам монитор вообще жесть)В общем я ничего с интернета не скачивала в последнее время. На компе никаких левых пр…
n
nklyJan. 3, 2025, 3:52 p.m.
Нужно запретить перемещение только некоторых итемов, остальные перемещать можно. Вопрос решен. Узнать QModelIndex элемента на который мы перетаскиваем другой элемент, можно с помощью функции indexAt(event->position().toPoint()) представления QTreeViev вызываемой в переопр…
M
MarselAug. 17, 2023, 2:26 a.m.
OAuth2.0 через VK, получение email Спасибо большое за помощь и простите за то что отнял время своей невнимательностью.
Evgenii Legotckoi
Evgenii LegotckoiJune 25, 2024, 3:11 a.m.
добавить qlineseries в функции Я тут. Работы оень много. Отправил его в бан.
t
tonypeachey1Nov. 15, 2024, 7:04 p.m.
google domain [url=https://google.com/]domain[/url] domain [http://www.example.com link title]

Follow us in social networks