Subversion Repositories tpanel

Rev

Rev 181 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 181 Rev 182
Line 138... Line 138...
138
    QObjectList childs = children();
138
    QObjectList childs = children();
139
    QList<QObject *>::Iterator iter;
139
    QList<QObject *>::Iterator iter;
140
 
140
 
141
    for (iter = childs.begin(); iter != childs.end(); ++iter)
141
    for (iter = childs.begin(); iter != childs.end(); ++iter)
142
    {
142
    {
143
        QString name = iter.i->t()->objectName();
143
        QObject *obj = *iter;
144
        QObject *obj = iter.i->t();
144
        QString name = obj->objectName();
145
 
145
 
146
        if (name.startsWith("key_"))
146
        if (name.startsWith("key_"))
147
        {
147
        {
148
            QPushButton *bt = dynamic_cast<QPushButton *>(obj);
148
            QPushButton *bt = dynamic_cast<QPushButton *>(obj);
149
            size = bt->size();
149
            size = bt->size();