-
Что считается более труЪ и почему - инстанциировать библиотечные классы или наследоваться от них? Дилемма осложняется тем, что в Python модуль практически синглтон, т. е. если я в нем инстанциирую библиотечный класс и навалю вокруг полученного объекта своей логики как module-level функций, то я могу потом импортировать весь модуль и работать с ним как с объектом.
-
Некоторые вещи в Qt можно сделать разными способами. Например, если нужно обрабатывать выбор элемента в дереве, то можно повесить свой обработчик на сигнал selectionModel().currentChanged, а можно перегрузить существующий обработчик currentChanged. Зачем так сделано и какой способ труЪ?

Ответ на:
комментарий
от peregrine

Ответ на:
комментарий
от shatsky

Ответ на:
комментарий
от shatsky

Ответ на:
комментарий
от shatsky

Ответ на:
комментарий
от no-such-file

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от no-such-file

Ответ на:
комментарий
от peregrine

Ответ на:
комментарий
от deep-purple

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от shatsky


Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от deep-purple

Ответ на:
комментарий
от alysnix

Ответ на:
комментарий
от shatsky


Ответ на:
комментарий
от shatsky

Ответ на:
комментарий
от ox55ff

Ответ на:
комментарий
от shatsky

Ответ на:
комментарий
от ox55ff

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум [Задорнов тред]Ну и тупые! (2012)
- Форум Тупого свитчера тред (fedora -> opensuse) (2022)
- Форум Туп-туп-туп (2005)
- Форум [очередной тупой тред] Главное отличие оффтопика от linux (2012)
- Форум «Тупой» python шаблонизатор (2015)
- Форум Ну тупые!!! (2015)
- Форум Тупит дота (2015)
- Форум ЛОР тупит (2016)
- Форум Тупой гугл (2013)
- Форум Mint тупит. (2013)