Changeset b667db5


Ignore:
Timestamp:
01/27/10 17:31:42 (12 years ago)
Author:
timkoma <timkoma@…>
Branches:
master, qt5
Children:
bc88043
Parents:
a790a90
Message:

search fix

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/gui/searchtabcontainer.cpp

    ra790a90 rb667db5  
    88    header = new SearchHead(this);
    99    header->setObjectName(QString::fromUtf8("header"));
    10     QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
     10    QSizePolicy sizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
    1111    sizePolicy.setHorizontalStretch(0);
    1212    sizePolicy.setVerticalStretch(0);
     
    3333    verticalLayout_2->insertWidget(0,searchAgainButton);
    3434
    35     searchAgainButton->show();
     35    searchAgainButton->hide();
     36    treeView->hide();
    3637
    3738    connect( header, SIGNAL(searchClicked()), SLOT(searchButtonClicked()));
  • src/gui/tabcontainer.ui

    ra790a90 rb667db5  
    2727    <layout class="QVBoxLayout" name="verticalLayout">
    2828     <item>
    29       <widget class="TreeView" name="treeView"/>
     29      <widget class="TreeView" name="treeView">
     30       <property name="sizePolicy">
     31        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
     32         <horstretch>0</horstretch>
     33         <verstretch>1</verstretch>
     34        </sizepolicy>
     35       </property>
     36      </widget>
    3037     </item>
    3138    </layout>
  • src/orm/ormrecord.h

    ra790a90 rb667db5  
    135135        else
    136136        {
    137             //qDebug() << "SQL OK";
     137            qDebug() << "SQL OK";
    138138        }
    139139    }
     
    144144        objects << hydrate(query.record());
    145145    }
    146     //qDebug() << "Fetch done";
     146    qDebug() << "Fetch done";
    147147    return objects;
    148148}
Note: See TracChangeset for help on using the changeset viewer.