Hi all,

I have an arraylist. This arraylist hold QPushButton's name.

Qt Code:
  1. List<QString> buttunNameList = new List<QString>;
  2. buttonNameList<<"buttonname1"<<"buttonname2"<<"buttonname3";
To copy to clipboard, switch view to plain text mode 

I create button manuel.

Qt Code:
  1. QPushButton *buttonname1 = new QPushButton();
  2. QPushButton *buttonname2 = new QPushButton();
  3. QPushButton *buttonname3 = new QPushButton();
To copy to clipboard, switch view to plain text mode 

But I want to create button from arraylist. How can I create button from arraylist?