Павел Дорофеев
Павел ДорофеевOct. 28, 2023, 2:46 p.m.

Projects based on QtКак написать свой QTableView

Qt, C++, QTableView

Тема интересная и уже есть готовый открытый проект. Пока бета версия.

Небольшое видео на ютьюбе

github.com

в общем QpTableView называется наш класс. Позволяет выводить колонки модели данных по некоему шаблону (в строке). То есть секции могут быть в несколько рядов, …

Read
Evgenii Legotckoi
Evgenii LegotckoiSept. 11, 2023, 4:47 p.m.

DjangoDjango - Protected media content

nginx, protected, Django

On one of the resources that I am developing, there was a need to add protected access to media content, checking the user's right to access this media content. Simply put, can the user view the photo that nginx serves …

Read
Evgenii Legotckoi
Evgenii LegotckoiAug. 20, 2023, 9:51 a.m.

DjangoChoosing a Canonical URL

django, MVP, URL, Google Search Console

I started working on one small Django project and after creating a Minimum Viable Product , I launched it immediately into the online space so that it would start to be indexed by search engines.

Thus, I expect that at …

Read
IscanderChe
IscanderCheAug. 9, 2023, 5:39 a.m.

QtQScintilla C++ example

Qt

Unfortunately, I completely erased from my memory how I received the distribution kit (it was three years ago, and then I did not return to this topic). Here you have to thoroughly scour the Internet. You can try this resource: …

Read
Evgenii Legotckoi
Evgenii LegotckoiMay 16, 2023, 3:52 p.m.

DjangoDjango - Lesson 064. How to write a Python Markdown extension

Python, markdown, MarkdownField, Django

On this site and a couple of other projects, I actively use markdown to write text, and then generate html code from it. And in the end, I wrote a couple of extensions that perform some specific functionality, which somewhat …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 31, 2023, 6:32 a.m.

DjangoDjango - Lesson 063. Full text site search for multiple models with multilingual support

Django, python, Django 3, modeltranslation, full-text search, Django 4

Finally, I managed to make a fairly fast full-text search across several models, taking into account the optimization of requests on the site, which would suit me and meet my requirements for the quality of the project.

If you now …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 20, 2023, 6:17 p.m.

DjangoDjango - Lesson 062. How to write a block-template tabbar tag like the blocktranslate tag

tag, templatetags, Django, Django 3, Django 4, template

In this article, I'll show you exactly how you can write a simple block template tag, like the blocktranslate tag in Django .

These block template tags have an opening tag and a closing tag, and the most common one …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 19, 2023, 10:56 a.m.

DjangoDjango - Tutorial 061. Adding a Unique View Count

Django, Counter, Django 3, python, Django 4

At the very beginning of creating articles and questions on the forum, I added a simple counter of views on this content.
This counter was an ordinary field of integer type and each time a page was requested it was …

Read
Evgenii Legotckoi
Evgenii LegotckoiMarch 18, 2023, 4:09 p.m.

DjangoDjango - Lesson 060. Speeding up a website with caching templates

Django 3, model_cached_property, cache, Django 4, invalidate, Django

One of the ways to significantly speed up the speed of a Django site is to cache both individual parts of the site templates and cache the templates after they are compiled by the site. Therefore, we will study both …

Read
Дмитрий
ДмитрийDec. 10, 2022, 1:50 p.m.

QtHow to open image with correct orientation with Qt tools

QImageReader, поворот изображения при загрузке, QImageWriter, поворот изображения, метаданные jpg

Some popular image formats (like jpg) may contain metadata. One of them is rotation. If you create the file in a graphics editor, then rotate it in the viewer, and finally load it into your application using the QImage, QPicture, …

Read
E

C++ - Test 002. Constants

  • Result:41points,
  • Rating points-8
E

C++ - Test 001. The first program and data types

  • Result:80points,
  • Rating points4
E

C++ - Test 001. The first program and data types

  • Result:53points,
  • Rating points-4
Last comments
Evgenii Legotckoi
Evgenii LegotckoiDec. 3, 2023, 8:39 a.m.
Django - Lesson 059. Saving the selected language in user settings It is redirect from untranslated url to translated url. It is normal behavior for mutlilanguage web site based on the Django.
c
coder55Dec. 1, 2023, 5:34 p.m.
Django - Lesson 059. Saving the selected language in user settings It tries to do language translation in API views. That's why it sends or receives the same API request twice. Do you have any suggestions on this? Example: stripe webhook. "GET /warehouse/…
g
gr1047Nov. 12, 2023, 10:35 a.m.
Qt/C++ - Lesson 035. Downloading files via HTTP with QNetworkAccessManager Добрый день. Изучаю Qt на ваших уроках. Всё нормально работает на Linux. А под Win один раз запустилось, а сейчас вместо данных сайта получается ошибк "Unable to write". Куда копать, ума не…
D
DamirNov. 2, 2023, 3:41 a.m.
Qt/C++ - Lesson 056. Connecting the Boost library in Qt for MinGW and MSVC compilers С CMake всё на много проще: find_package(Boost)
Павел Дорофеев
Павел ДорофеевOct. 28, 2023, 2:48 p.m.
Как написать свой QTableView Итак начинаем писать свои виджеты на основе QAbstractItemView. А что так можно было?
Now discuss on the forum
BlinCT
BlinCTNov. 30, 2023, 9:18 a.m.
Сборка проекта Qt6 из под винды на удаленой машине Всем привет. Сталкнулся с такой странностью: надо собирать проект из под 10 винды на удаленой линуксовой машине, проект строится на QT6, но вот когда cmake генерит свой кеш то вылитает…
Evgenii Legotckoi
Evgenii LegotckoiNov. 19, 2023, 8:14 a.m.
CKEditor 5 и подсветка синтаксиса. Добрый день. Я устал разбираться с CKEditor и просто перешёл на использование самописного markdown редактора...
Виктор Калесников
Виктор КалесниковOct. 20, 2023, 4:29 a.m.
Контакты Android делал в далеком 2017г поэтому особенно ничего не подскажу. Это основные методы получения данных с андроида используя Qt. Там еще какоето колдунство с манифестом. Андроидом давно не занимаюс…
m
mihamuzOct. 18, 2023, 2:03 p.m.
Скачать Qt 6 Сработал следующий алгоритм. Инстолятор скачал используя это https://freevpnplanet.com/ru/ как расширение браузера. Потом установил это https://freevpnplanet.com/ru/ же на ПК и через инстолятор …

Follow us in social networks