Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.7.0
-
None
Description
Hello, can you add method to append 2 QFromLayout in respect the view (the widget can be created not in order into the designer but it work), then that's will put the first QFormLayout rows and the second rows after the first QFormLayout.
Thanks.
QFormLayout::addRows(QFormLayout * layoutToAppend)
For example append 2 QFormLayout desgined into Qt Designer and loaded from c++.
Do like that's:
[code] int interfaceMaxCount=interface->layout()->count();
while(interface->layout()->count()>=2)
{
QLayoutItem *layoutA;
QLayoutItem *layoutB;
int index=0;
do
while((layoutA==NULL || layoutB==NULL) && (index*2)<=interfaceMaxCount);
if(layoutA==NULL || layoutB==NULL)
break;
else
}[/code]
For exemple I will append:
http://files.first-world.info/ultracopier/other/LanguagesOptions.ui
with:
http://files.first-world.info/ultracopier/other/ThemesOptions.ui
To do:
http://files.first-world.info/ultracopier/other/screenshot48.png