Version: unspecified (using KDE 4.5.1) OS: Linux I have created a form in Qt Designer with two rows. Each row has a QLabel on the left, and a QLineEdit box on the right. If I arrange these using QGridLayout, everything works as expected. If I use QFormLayout, two problems occur: 1. If I ask for a preview of the window in Qt Designer, the labels are shown on the left and the fields on the right, as expected. However, when I compile using uics and display the form in my c# application, the fields are shown underneath the labels. It looks as though the layoutRowWrapPolicy is getting set to WrapAllRows, even though Qt Designer claims that the policy is DontWrapRows. 2. To try and work around this, I set the layoutRowWrapPolicy to WrapAllRows, then back to DontWrapRows. Unfortunately this makes the problem worse. Uics now generates c# code that doesn't compile, in particular this line: formLayout.RowWrapPolicy = QFormLayout.RowWrapPolicy.DontWrapRows; Presumably this should be: formLayout.rowWrapPolicy = QFormLayout.RowWrapPolicy.DontWrapRows; This compiles although problem 1 still occurs. (BTW, this test was done with the Ubuntu Maverick beta, hence the odd combination of Ubuntu and KDE 4.5.1.) Reproducible: Always Steps to Reproduce: 1. Create form in Qt Designer with two rows, arranged using QFormLayout. 2. Compile the form using uics. 3. Use MonoDevelop to create an application which displays the form. 4. Run application. 5. Set layoutRowWrapPolicy to WrapAllRows, then back to DontWrapRows. 6. Compile the form using uics. 7. Run application. Actual Results: At step 4, fields will be displayed underneath labels. At step 7, a compile error will occur. Expected Results: At step 4, fields should be displayed to the right of the labels. At step 7 the uics-generated code should compile without errors.
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? Thank you for helping us make KDE software even better for everyone!
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you cazn reproduce the issue with a more recent software version? If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!