Тёмный

C++ Qt 20 - QListWidget 

VoidRealms
Подписаться 84 тыс.
Просмотров 151 тыс.
50% 1

QML Beginners: www.udemy.com/course/qml-for-...
Qt Core Beginners: www.udemy.com/course/qt-core-...
Qt Core Intermediate: www.udemy.com/course/qt-core-...
QT Core Advanced: www.udemy.com/course/qt-core-...
Qt Widgets Beginners: www.udemy.com/course/qt-widge...

Опубликовано:

 

24 янв 2011

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@DylanWestra1992
@DylanWestra1992 10 лет назад
"my daughter is weird, she will love this" haha genius xD I like the tutorials so far :) great way to start qt programming and learn the c++ syntax. i try'd to start with QML but there was no good tutorial about it. but i can probably acces the QML items with their ID on the same way as you do here
@anonomous65432153547
@anonomous65432153547 10 лет назад
use ctrl-tab to switch from .ui to .cpp and back, much easier than switching views and finding the right file every time
@gordongekko67
@gordongekko67 8 лет назад
HI, Brian , Thanks a lot !!!! Your video are very interesting !!!!!! All the best regards from Enrico in Italy.
@yujunliu8451
@yujunliu8451 11 лет назад
我喜欢你的讲解,非常谢谢!
@TenevikTV
@TenevikTV 10 лет назад
Thank you for your videos! It is very helpfull for me!
@benreilly4728
@benreilly4728 8 лет назад
great tutorials, thanks
9 лет назад
thanks for the very helpful video
@dylanhepworth9639
@dylanhepworth9639 13 лет назад
Great tutorial! You've showed us how to add items. Is there an easy way to remove a selected item from the listbox?
@JoshY01
@JoshY01 8 лет назад
Thanks buddy!!!!!
@Celdorsc2
@Celdorsc2 11 лет назад
Qt: "The QDialog class is the base class of dialog windows. A dialog window is a top-level window mostly used for _short-term tasks_ and _brief communications_ with the user. [..] may be modal or modeless. QDialogs can provide a return value [!!!], and they can have default buttons [!!!]." The rest is when you type "Qt QDIalog" in Google. In short, QMainWindow is you ready to use class window with Central Widget, Tool bar, Menu, etc. QDialog provides communication tools.
@cezudas
@cezudas 12 лет назад
thx :) can't wait to learn QlistModel as well....
@VoidRealms
@VoidRealms 13 лет назад
@SolvedSnake glad to help :)
@jasiek3870
@jasiek3870 5 месяцев назад
nice tutorial, really helped me
@MrExpategghead
@MrExpategghead 13 лет назад
Excellent. More please.
@michakarwacki2261
@michakarwacki2261 6 лет назад
I watch your tutorials. I have a question regarding the production code / overall programming practices: The method with the pointers is the best solution, or are the predefined types or the preprocessor directive used to? I understand that it depends on the specific purpose what we want to achieve, but what is the most common method? I apologize for the level of my English, I hope it is understandable
@myown236
@myown236 7 лет назад
we really have to appreciate you for your work!
@VoidRealms
@VoidRealms 7 лет назад
Shakthi Prashanth thank you !!!
@VoidRealms
@VoidRealms 13 лет назад
@VikingNightmare Hmmm I use Qt Creator in KDE and it seems ok.
@VikingNightmare
@VikingNightmare 13 лет назад
@VoidRealms actually i use gnome but i think i will install KDE also, KDE just seems to get better and better at a much faster rate than gnome...
@bobblack5495
@bobblack5495 8 лет назад
What else can we add into Listidget besides of QStrings?
@BettaUseYoNikes
@BettaUseYoNikes 12 лет назад
Is there a way to do selections of items using the tab key or up and down arrow keys? Preferably without subclassing QListWidget?
@chainonsmanquants1630
@chainonsmanquants1630 3 года назад
Thanks
@neverhoodJK
@neverhoodJK 5 лет назад
Спасибо мой иностранный друг. теперь я могу взломать пентагон
@aalekhnigam3865
@aalekhnigam3865 11 лет назад
What is the purpose of using dialog.h(QDialog) instead of main.h what is the diff between the two?
@stefanhansen8029
@stefanhansen8029 10 лет назад
Hi Voidrealms Do you think it is posible to have images in the list??
@essupublic4370
@essupublic4370 7 лет назад
Hey I need some help I want to make it so when I press a button it should check if "essu" already is inside the listbox
@gigagames21
@gigagames21 9 лет назад
7:50 what about multiple text in an WidgetItem ?
@dwaybardxerber1478
@dwaybardxerber1478 6 лет назад
Just noticed that I need to create a layout that the QListWidget is in. It doesn't seem to throw in a scroll bar otherwise.
@maddocrusmad464
@maddocrusmad464 4 года назад
Магешь!
@PatientInAffliction
@PatientInAffliction 6 лет назад
anyone know how to generate a random item upon pressing the pushbutton?
@elsassolon
@elsassolon 12 лет назад
how can you get a line to be editable? I wan to change the text in a line by just clicking on it! how can you set the flag editable?
@redheart419
@redheart419 12 лет назад
Does QListWidget support multi column?
@Beecherina
@Beecherina 12 лет назад
fuzzy bunny :X weeeee \:D/
@lompocus
@lompocus 12 лет назад
KDE doesn't use X-windows though, right?
@lompocus
@lompocus 12 лет назад
Assuming that it's a windowing issue. Apologies if irrelevant (since I posted before watching)
@nahiansharif4200
@nahiansharif4200 2 года назад
How can I assign every list to an array or vector?
@andersonunsonst
@andersonunsonst 12 лет назад
how to do a data grid ?
@VikingNightmare
@VikingNightmare 12 лет назад
@supadox Didn't know that m8!
@HichamBenkassem
@HichamBenkassem 11 лет назад
it doesn't see like it does. you would have to use QTableWidget/View
@Odysseus1
@Odysseus1 8 лет назад
How do I create a program that read a directory by user and add and delete files?
@XaveriusTarigan
@XaveriusTarigan 7 лет назад
use QDialog
@Kavukamari
@Kavukamari 6 лет назад
does your daughter like Invader Zim? if she hasn't seen it, I'm sure she'd love it
@SinanTalebi
@SinanTalebi 11 лет назад
Ubuntu 13.04, no issues.
@VikingNightmare
@VikingNightmare 13 лет назад
In case someone else watching this vid is using linux, did you notice that Qt doesn't respond as well with the type suggestions as in W7.
@AMACARTHURGARCIAD
@AMACARTHURGARCIAD 10 лет назад
Exelent!!! but how can I do if I have a table t_costumers (code,name) and I want to populate my QCombobox with it, I want to show the name of the costumer for selection and the code of the costumer is for the index of my selection, in order to use only de code of the costumer, I now that is easy for you, but I am new in this, please help me, and sorry about my bad inglish... :)
@AMACARTHURGARCIAD
@AMACARTHURGARCIAD 10 лет назад
ups!!! the answer here: CInterfLogin QConexion; // Class to open a new conexion to the DB QConexion.DBOpen(); QSqlQuery *qry = new QSqlQuery(QConexion.BaseDatos); qry->prepare("SELECT Code_Costumer,Name_Costumer FROM t_costumers;"); qry->exec(); bool ok; while(qry->next()) { ui->comboBox_Costumer->addItem(qry->value(1).toString(),QVariant(qry->value(0).toInt(&ok))); } QConexion.DBClose();
@QuilavaKing
@QuilavaKing 10 лет назад
None of the auto-resizing stuff works for me. =/
12 лет назад
Cant do this in dotnet in easy way.
Далее
C++ Qt 21 - QTreeWidget
9:07
Просмотров 121 тыс.
C++ Qt 50 - QItemDelegate - delegates in a QTableview
16:42
C++ Qt 12 - QFile
8:24
Просмотров 138 тыс.
C++ Qt 47 - Intro to model view programming
11:16
Просмотров 136 тыс.
How Qt Signals & Slots Work
20:10
Просмотров 23 тыс.
Use Arc Instead of Vec
15:21
Просмотров 138 тыс.
How to Do 90% of What Plugins Do (With Just Vim)
1:14:03
Просмотров 872 тыс.
How to integrate C++ and QML
13:26
Просмотров 9 тыс.