equal
deleted
inserted
replaced
23 #include <QGraphicsLinearLayout> |
23 #include <QGraphicsLinearLayout> |
24 #include "hblistview.h" |
24 #include "hblistview.h" |
25 |
25 |
26 FmDriveQuery::FmDriveQuery( QGraphicsItem *parent ) : FmDialog( parent ) |
26 FmDriveQuery::FmDriveQuery( QGraphicsItem *parent ) : FmDialog( parent ) |
27 { |
27 { |
|
28 setObjectName( "driveQueryDialog" ); |
28 mContentWidget = new QGraphicsWidget(); |
29 mContentWidget = new QGraphicsWidget(); |
|
30 mContentWidget->setObjectName( "driveQueryContentWidget" ); |
29 setContentWidget(mContentWidget); |
31 setContentWidget(mContentWidget); |
30 |
32 |
31 QGraphicsLinearLayout *vLayout = new QGraphicsLinearLayout(); |
33 QGraphicsLinearLayout *vLayout = new QGraphicsLinearLayout(); |
32 vLayout->setOrientation( Qt::Vertical ); |
34 vLayout->setOrientation( Qt::Vertical ); |
33 |
35 |
34 mListView = new HbListView(); |
36 mListView = new HbListView(); |
|
37 mListView->setObjectName( "driveQueryListView" ); |
35 vLayout->addItem( mListView ); |
38 vLayout->addItem( mListView ); |
36 |
39 |
37 mListView->setFontSpec( HbFontSpec( HbFontSpec::Primary ) ); |
40 mListView->setFontSpec( HbFontSpec( HbFontSpec::Primary ) ); |
38 |
41 |
39 this->setTimeout( NoTimeout ); |
42 this->setTimeout( NoTimeout ); |