Bo Peng wrote: >> +bool InsetListingsParams::fromEncodedString(string const & in) >> +{ >> + // Decode string! >> + // Do nothing because " was silently ignored. >> + setParams(in); >> +} >> >> msvc needs a return value. > > Thanks. I will correct that. bool was used in many places to see if a > parameter string is correct, but I switched to exception later. > > I now tend to throw std::exception instead of > support::ExceptioMmessage because I do not need the title from > ExceptionMessage.what(). I guess even std::string can do the job. > > Peter, may I ask how to properly put QEditBox'es in QGroupBox? When I > put the object in QGroupBox and use layout->vertically, the QGroupBox > will be squeezed to a narrow band. How can I let QGroupBox have the > verticle size of its inside objects? Adjust size does not work.
Starting with your ui file I get a design which seems ok when I click 1. in the QGroupBoxlayout->vertical (then I see the narrow band) 2. again layout->vertical on the empty space on the right of the QGroupBox 3. and change the sizePolicy property of listingTB to expanding I hope I get you right. > > Bo > -- Peter Kümmel