Java to Qt code convert
- by user289175
Hello,
I'm teaching my self Qt; in the same time I don't want to lose my Java skills in Qt.
I stacked in some codes to do it in Qt, I tried many times as well as search in the net.
Code # 1
Object[] names = jList1.getSelectedValues();
String msg = "";
for (Object o : names)
msg += o;
Code # 2
DefaultListModel model;
model = new DefaultListModel();
jList1.setModel(model);
Code # 3
if(!jList1.isSelectionEmpty())
I didn't find Empty method :-(
I'm going to do some Qt's video tutorials on youtube, but before that I need to solve the above codes.
If any programmer can help I will be thankful;
Thanks in advance
At the end I would like to thanks the experts who are spent thier value times to help others