The idea of this thread is to help the beginning Python programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! The creators of Python are very active, improving the language all the time.… Discussion Thread by vegaseat in Software Development
… to a list and process qlist = search_str.split(None) list1 = [] for… q in qlist: if '+' in q: q = q… Reply by Ene Uran
10 Years Ago
…add more"); } else { Qlist[tail] = insert; tail = count…else { object toDelete; toDelete = Qlist[head]; Qlist[head] = null; head = count… Discussion Thread by JackDurden in Software Development
c#
8 Years Ago
…add more"); } else { Qlist[tail] = insert; tail = count…else { object toDelete; toDelete = Qlist[head]; Qlist[head] = null; head = count… Discussion Thread by JackDurden in Software Development
c#
… == 5[/icode], write [icode]tail == Qlist.Length[/icode], because your code… so that every element of qList is null, because that's… Reply by Rashakil Fol
8 Years Ago
I am new to python . The QList widget contain the list of files in a directory ...I want to select the name of the file and store it in a variablle.....How can i do that?... Discussion Thread by jgehlot09 in Software Development
7 Years Ago
…" CompositeItem::CompositeItem(QString id,QList<FieldItem *> _children) { children… Discussion Thread by onurozcelik in Software Development
7 Years Ago
…'m trying to create a QList that holds the last twenty… the list as follows: [CODE] QList<const QMimeData*> *copiedList… as follows: [CODE] copiedList = new QList<const QMimeData*>; [/CODE… to add this to the QList and then be able to… Discussion Thread by CanYouHandstand in Software Development
c++
7 Years Ago
…'m trying to create a QList that holds the last twenty… the list as follows: [CODE] QList<const QMimeData*> *copiedList… as follows: [CODE] copiedList = new QList<const QMimeData*>; [/CODE… to add this to the QList and then be able to… Discussion Thread by CanYouHandstand in Software Development
c++
… object), then make your list QList<const QMimeData* const>…, possibly, depending on the implementation QList, you might not be allowed…. So in that case, keep QList<const QMimeData*> and… Reply by mike_2000_17
7 Years Ago
…'m trying to create a QList that holds the last twenty… the list as follows: [CODE] QList<const QMimeData*> *copiedList… as follows: [CODE] copiedList = new QList<const QMimeData*>; [/CODE… to add this to the QList and then be able to… Discussion Thread by CanYouHandstand in Software Development
c++
Are you sure that the pointer returned by mimeData(modes) cannot be null? If not then you should probably test for NULL before inserting the pointer into the list. Also whenever you store pointers in a container you have to be careful that you do not in … Reply by Agni
7 Years Ago
Re: QT
heyy guys wats up !?? i am trying to convert a list(c++) in qt list... i have no idea how i can do that.... the list is a list of employee objects.... (id , name, rate) i want a list of qtlist which containts the employee objects or at least the id … Discussion Thread by shabir_24 in Software Development
c++
here we go : [url]http://doc.qt.nokia.com/3.3/classes.html[/url] like i knw how to go through a list... but i knw how to make my list of object to a Qlist... remember my employee list hold three thngs int ID , string name and int rate... Reply by shabir_24
7 Years Ago
Re: QT
heyy guys wats up !?? i am trying to convert a list(c++) in qt list... i have no idea how i can do that.... the list is a list of employee objects.... (id , name, rate) i want a list of qtlist which containts the employee objects or at least the id … Discussion Thread by shabir_24 in Software Development
c++
will this function help me to convert the list into a qlist QValueList ( const std::list<T> & l ) ? like i need to put all the employee id, name and rate into a Qlistbox and the qlistbox accept parameter of qlist of type qstring... Reply by shabir_24
7 Years Ago
…000; } /*---------QUESTION TABLE---------*/ table#qList{ border:1px #cccccc solid; }…#fff solid; } table#qList tr.tr_two td{ background:#…f0f0f0; } table#qList tr{ height:25px } tr… Discussion Thread by bhaskar.k in Web Development
php
7 Years Ago
…000; } /*---------QUESTION TABLE---------*/ table#qList{ border:1px #cccccc solid; }…#fff solid; } table#qList tr.tr_two td{ background:#…f0f0f0; } table#qList tr{ height:25px } tr… Discussion Thread by bhaskar.k in Web Development
php
On lines 232 AND 236 you have: [iCODE]<a href="<?php $_SERVER['PHP_SELF']?>index.php...[/iCODE] change them to: [iCODE]<a href="<?php [COLOR="Red"][B]echo [/B][/COLOR]$_SERVER['PHP_SELF'][COLOR="Red"][B];[/B][/… Reply by hielo
6 Years Ago
Hi. I have made a simple testing program which I'll use in another program later. I create the items of the QListWidget through looping and now I want to make changes in one of the items of the list, which the user clicks. But when I call a fucntion to … Discussion Thread by nine9hours in Software Development
…] you can just do: [code] QList< QListWidgetItem* > items = listWidget… Reply by ravenous
5 Years Ago
… Widget an item of type QList Widget Item in which I… bugging me: void MainWindow::itemsel(){ QList<QListWidgetItem*> itm=ui… Discussion Thread by Lucaci Andrew in Software Development
5 Years Ago
… Employeeform; Payroll(QWidget *parent = 0); QList <EmployeeData> *empList; EmployeeForm…;); nameList = new QListWidget; empList = new QList<EmployeeData>; registerForm = new… Discussion Thread by capton in Software Development
c++
5 Years Ago
At the moment I have one question about vectors but I want to leave this open ended so if I obtain more questions I can come back here. So I was looking at different containers for a player inventory that can be dynamically changed on the fly due to … Discussion Thread by Geowil in Software Development
… what `push_back` does). In fact `QList`, which is a vector-like… Reply by ravenous
5 Years Ago
… KEY (ID) )"; $qlist = mysql_query($sqllist); if(!$qlist) { echo "Creating List… Discussion Thread by davy_yg in Web Development
php
4 Years Ago
After appending an item to a QList which is pointed to by a QMutableListIterator, I find out the next value of the iterator points outside the list. Or can't i point the iterator to any where in the list except the beginning and end? Please i need help. Discussion Thread by capton in Software Development
4 Years Ago
After appending an item to a QList which is pointed to by a QMutableListIterator, I find out the next value of the iterator points outside the list. Or can't i point the iterator to any where in the list except the beginning and end? Please i need help. Discussion Thread by capton in Software Development
What is QList ? What is QMutableListIterator ? Can't understand your question correctly. Reply by np complete
4 Years Ago
…->addPage(formulaireCreationPersonnage); QList<QWizard::WizardButton>… QHBoxLayout *layoutFormulaireChoisirEquipement; QString texteSelectionnerChoisirClasse; QList<QLabel*> labelAfficherStatsHero; … Discussion Thread by J-P1988 in Software Development
c++
4 Years Ago
…->addPage(formulaireCreationPersonnage); QList<QWizard::WizardButton>… QHBoxLayout *layoutFormulaireChoisirEquipement; QString texteSelectionnerChoisirClasse; QList<QLabel*> labelAfficherStatsHero; … Discussion Thread by J-P1988 in Software Development
c++
The error indicates that you're trying to access part of the list that does not exist. For example, if the list is of size 3, and you ask for the object at position 3 (because the objects are labelled 0, 1, 2), this error will occur. Reply by Moschops
4 Years Ago
…->addPage(formulaireCreationPersonnage); QList<QWizard::WizardButton>… QHBoxLayout *layoutFormulaireChoisirEquipement; QString texteSelectionnerChoisirClasse; QList<QLabel*> labelAfficherStatsHero; … Discussion Thread by J-P1988 in Software Development
c++
i'll try to put an predefined size Reply by J-P1988
4 Years Ago
…->addPage(formulaireCreationPersonnage); QList<QWizard::WizardButton>… QHBoxLayout *layoutFormulaireChoisirEquipement; QString texteSelectionnerChoisirClasse; QList<QLabel*> labelAfficherStatsHero; … Discussion Thread by J-P1988 in Software Development
c++
finally i'll find an way to get indexes existant Thank Moschops for the clue Reply by J-P1988
4 Years Ago
…wizardFormulaireCreationPersonnage->addPage(formulaireCreationPersonnage); QList<QWizard::WizardButton>… *layoutFormulaireChoisirEquipement; QString texteSelectionnerChoisirClasse; QList<QLabel*> labelAfficherStatsHero;… Discussion Thread by J-P1988 in Software Development
4 Years Ago
…wizardFormulaireCreationPersonnage->addPage(formulaireCreationPersonnage); QList<QWizard::WizardButton>… *layoutFormulaireChoisirEquipement; QString texteSelectionnerChoisirClasse; QList<QLabel*> labelAfficherStatsHero;… Discussion Thread by J-P1988 in Software Development
changerSignal is not a member of QLabel, it is a member of FenPrincipale but at line 173 you try this `QObject::connect(labelAfficherStatsHero[1], SIGNAL(changerSignal()), signalStatsHero , SLOT(heroNomChanger()));` labelAfficherStatsHero[1] is a QLabel … Reply by Banfa
4 Years Ago
1- code when user send !q the bot send random of question for example : What is the most expensive metals in the world? A - Gold B - iron C - radium . if user send the true answer the bot choose him and write his name and ID if user send false answer… Discussion Thread by Zezo_1 in Software Development
c#
…List<Question> qlist,ref Question newq) {…null) { foreach (Question q in qlist) { if (!q.Used) { newq… Reply by tinstaafl
4 Years Ago
…, " ").split(" "); QList <QVector3D> vertecies, normals…; QList <QPointF> texcoords; QList <faceindexgroup>… Discussion Thread by James19142 in Software Development
3 Years Ago
…? simple replica: class FractionList : public QList<Fraction*> { public: ~FractionList… Discussion Thread by Vasthor in Software Development
c++
3 Years Ago
…? simple replica: class FractionList : public QList<Fraction*> { public: ~FractionList… Discussion Thread by Vasthor in Software Development
c++
…1. If you use `QList` to hold stuff, then …the `QList` is actually holding pointers…should just have a `QList` of the objects themselves.…So, not `QList< Fraction* >`, but `QList< Fraction &… Don't inherit from `QList`, it's not designed … Reply by ravenous
3 Years Ago
…(); QString frequentTransactionType() const; QList<Transaction*> transactionsOnADate(…: QString m_CustomerName; QString m_AccountNumber; QList<Transaction*> m_TransactionList; };… Discussion Thread by Reg74 in Software Development
c++
2 Years Ago