[Qt-interest] Vertical tabs with icons instead text, tables with buttons, animated pictures on buttons
Николай Шатохин
n.shatokhin at gmail.com
Tue Mar 29 20:18:16 CEST 2011
How to insert items to QTableWidget? I don't now how many items in XML
document, but I need insert all to table.
Table create numbers of rows. How to off it? How to insert button to
the table's cell?
2011/3/26 Adam Light <aclight at gmail.com>:
> On Fri, Mar 25, 2011 at 4:19 PM, Nicholas Shatokhin
> <n.shatokhin at gmail.com> wrote:
>> But problems with tabs. I can't set layouts on its. Every time changes
>> layout of centralWindet, not Tab. What's wrong? I add layout to Tab
>> manually, but how can I set autoresizing of it?
>
> I have had this problem with QStackedWidget and QTabWidget widgets for
> a while also, but I recently figured out how to set the layout for
> each tab/page using Qt Designer 2.1. You first need to select the
> proper tab/page from the list of objects on the right side of
> designer. Then you must click on the parent widget in that list (the
> QTabWidget or QStackedWidget). Then you can set the layout on the
> tab/page by clicking one of the different layout buttons in the
> toolbar. Note that you only select one item at a time--you don't want
> to select *both* the tab/page and it's parent
> QTabWidget/QStackedWidget.
>
> I don't think this is very intuitive, but it was nice to finally
> figure out how to make it work.
>
> Adam
>
More information about the Qt-interest-old
mailing list