hi,
i'm beginner to Qt.. there is a text box and list box,when u enter some characters in the text box and give enter to a push button,it should add all the characters to listbox.. so i had written code 4 tat,everything works fine,but adding characters to listbox is not wrkg fine.. the code for adding characters is given below,
pls check wats wrong with code
void show()
{
str=text1.text();
str1=length(str);
for(int i=0;i<str1;i++)
{
str2=insertText(list1.at(i));
i++;
}
display->setText(display->text()+str2);
}
void show()
{
QTextLength str1;
QTextStream str,str2;
str=text1.text();
str1=length(str);
for(int i=0;i<str1;i++)
{
str2=insertText(list1.at(i));
i++;
}
display->setText(display->text()+str2);
}
To copy to clipboard, switch view to plain text mode
Bookmarks