Evgenii Legotckoi
Evgenii LegotckoiJan. 5, 2019, 9:49 a.m.

DjangoDjango - Tutorial 042. Caching templates for different types of content

templatetags, template, Django

In Django - Lesson 035. Different templates for rendering different types of content in search results it was shown how to render different templates depending on what type of content drawn in the search results on the site. In this …

Read
BlinCT
BlinCTJan. 4, 2019, 2:55 a.m.

LinuxSNAP Lesson 04. Working with deployment for Qt applications based on a snap package

snap

I welcome everyone to the continuation of the topic of working with snap packages.
It often happens that a developer needs to know all the dependencies of an application. And it's not easy to find out if one library has …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 28, 2018, 9:09 a.m.

BoostBoost - performing periodic tasks using boost::thread

threads, Boost, chrono

I propose to write a small console program that will perform one task at regular intervals.

For example, the program starts and makes 10 samples within 10 seconds, while the program will display information about the number of the countdown …

Read
Рина Сергеева
Рина СергееваDec. 27, 2018, 1:53 a.m.

AndroidA little about memory leaks and ways to avoid them

Memory leaks, garbage collection, Java

What is memory Leaks in Android development ?

The application creates objects, they lie in memory and can not clean out after the completion of its work.

Why is this happening ?

Java has its own means of clearing memory …

Read
bernar92
bernar92Dec. 25, 2018, 11:35 p.m.

DjangoOne possible side menu implementation for Django

кэши, django, теги, шаблоны

Hello. Not long ago there was a task to implement a side menu with a list of directories; so that it can be inserted anywhere and on any page!
The problem was that the list is large and so that …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 17, 2018, 12:51 p.m.

DjangoDjango - Tutorial 041. Display images in the admin panel on the example of a user profile

Image, Django, avatar

To improve the ability to display information about users in the administrative panel of the site, implemented the ability to display user avatars, both in the special UserProfile model that has One-To-One relationship to the User model, and in the …

Read
BlinCT
BlinCTDec. 17, 2018, 1:33 a.m.

LinuxSNAP Tutorial 03. Start snap application from a graphic environment

snap

Greetings to all on the continuation of the topic of self-contained snap packages.
In today's part, we will discuss how to configure the application so that it can be launched not only in the console, but also in the graphical …

Read
Ruslan Polupan
Ruslan PolupanDec. 14, 2018, 7:48 a.m.

MySQLMySQL stored procedures

mysql, procedure

Good day.

I create a Duty schedule application for our technical support hotline, using Qt + MySQL.
For each month it is necessary to monthly fill in the calendar table containing the date and sign of the day off or …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 13, 2018, 4:13 p.m.

QtQt/C++ - Tutorial 088. Text search with highlighting in QTextEdit

QTextEdit, Qt

In connection with a small question on the forum and slightly free time today. I will answer in the form of an article on how to highlight in QTextEdit all the words that need to be found in this text. …

Read
Evgenii Legotckoi
Evgenii LegotckoiDec. 12, 2018, 3:57 p.m.

C++CMake project with subdirectories and static library

static, Boost, static link

I propose to write a small application that will have two subdirectories. One of which will compile the executable file, and the second will contain a statically linked library.

As a result, the project will look like this.

Project with static library


Root CMakeLists.txt …

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

Follow us in social networks