<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'courier'; font-size:10pt; font-weight:400; font-style:normal;">On Tuesday 06 Oct 2009 20:48:48 Alvaro Soliverez wrote:<br>
> I don't have much experience with Designer myself. What's the reason to<br>
> change the QDialog to QWidget and then embed this into a KDialog? Can't you<br>
> change QDialog to KDialog directly?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I tried that first; I finished with some buttons appearing in the middle of the dialog. It seems KDialog likes to control the positioning of the buttons.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Extract from the KDialog API:<br>
---------------------------------------------------- <br>
<span style=" font-weight:600;">Standard buttons (action buttons):</span><br /><br>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">You select which buttons should be displayed, but you do not choose the order in which they are displayed. This ensures a standard interface in <a href="http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/namespaceKDE.html"><span style=" text-decoration: underline; color:#0057ae;">KDE</span></a>.</p><p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">----------------------------------------------------</p>Actually the only reason I tried the conversion in the first place was that the Krazy check recommended it; I think it all worked quite well before!<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
Cheers,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>TonyB</p></body></html>