summaryrefslogtreecommitdiff
path: root/noncore/settings/mediummount
authorharlekin <harlekin>2003-04-05 14:37:23 (UTC)
committer harlekin <harlekin>2003-04-05 14:37:23 (UTC)
commit32faa31960652ee538fd3bcc8c248c850aed1a4b (patch) (unidiff)
tree9406b29372c7622bbdfff58c3808f3c73597a5ed /noncore/settings/mediummount
parent80ad96b12a194089cfe11796579c3b973f3db41b (diff)
downloadopie-32faa31960652ee538fd3bcc8c248c850aed1a4b.zip
opie-32faa31960652ee538fd3bcc8c248c850aed1a4b.tar.gz
opie-32faa31960652ee538fd3bcc8c248c850aed1a4b.tar.bz2
show mediummount maximized
Diffstat (limited to 'noncore/settings/mediummount') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/main.cpp1
-rw-r--r--noncore/settings/mediummount/mediumwidget.cc8
2 files changed, 5 insertions, 4 deletions
diff --git a/noncore/settings/mediummount/main.cpp b/noncore/settings/mediummount/main.cpp
index e4443bd..118a725 100644
--- a/noncore/settings/mediummount/main.cpp
+++ b/noncore/settings/mediummount/main.cpp
@@ -8,9 +8,10 @@
8int main( int argc, char ** argv ) 8int main( int argc, char ** argv )
9{ 9{
10 QPEApplication a( argc, argv ); 10 QPEApplication a( argc, argv );
11 11
12 MediumMountSetting::MainWindow mw; 12 MediumMountSetting::MainWindow mw;
13 a.showMainWidget( &mw ); 13 a.showMainWidget( &mw );
14 mw.showMaximized();
14 15
15 return a.exec(); 16 return a.exec();
16} 17}
diff --git a/noncore/settings/mediummount/mediumwidget.cc b/noncore/settings/mediummount/mediumwidget.cc
index f98e637..eadf502 100644
--- a/noncore/settings/mediummount/mediumwidget.cc
+++ b/noncore/settings/mediummount/mediumwidget.cc
@@ -43,18 +43,18 @@ MediumMountWidget::MediumMountWidget(const QString &path,
43// now we fire up the GUI 43// now we fire up the GUI
44// if I would know what I'm doing ;) 44// if I would know what I'm doing ;)
45void MediumMountWidget::initGUI() 45void MediumMountWidget::initGUI()
46{ 46{
47 //main layout 47 //main layout
48 m_box = new QVBoxLayout( this , 5, 5 ); 48 m_box = new QVBoxLayout( this , 5, 5 );
49 m_box->setSpacing( 5 ); 49 //m_box->setSpacing( 5 );
50 //m_box->addStretch( -1 ); 50 //m_box->addStretch( -1 );
51 51
52 // picture + text 52 // picture + text
53 m_infoBox = new QHBox(this, "infobox" ); 53 m_infoBox = new QHBox(this, "infobox" );
54 m_infoBox->setSpacing( 4 ); 54 //m_infoBox->setSpacing( 4 );
55 m_label = new QLabel(m_infoBox ); 55 m_label = new QLabel(m_infoBox );
56 m_desc = new QLabel(m_infoBox ); 56 m_desc = new QLabel(m_infoBox );
57 m_desc->setTextFormat( Qt::RichText ); 57 m_desc->setTextFormat( Qt::RichText );
58 QWhatsThis::add( this, tr("Configure this medium. The changes will" 58 QWhatsThis::add( this, tr("Configure this medium. The changes will"
59 " go into effect when the application gets" 59 " go into effect when the application gets"
60 " closed. To update the Document Tab you need" 60 " closed. To update the Document Tab you need"
@@ -63,13 +63,13 @@ void MediumMountWidget::initGUI()
63 m_box->addWidget( m_infoBox ); // add the widget to the layout 63 m_box->addWidget( m_infoBox ); // add the widget to the layout
64 64
65 65
66 // groupbox 66 // groupbox
67 m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" ); 67 m_group = new QGroupBox(tr("Which media files"), this, "MediaFiles" );
68 m_checks = new QGridLayout( m_group, 4, 3 ); 68 m_checks = new QGridLayout( m_group, 4, 3 );
69 m_checks->setMargin( 12 ); 69 //m_checks->setMargin( 12 );
70 70
71 71
72 72
73 QSpacerItem *item2 = new QSpacerItem(5, 8, 73 QSpacerItem *item2 = new QSpacerItem(5, 8,
74 QSizePolicy::Fixed, 74 QSizePolicy::Fixed,
75 QSizePolicy::Fixed); 75 QSizePolicy::Fixed);
@@ -104,13 +104,13 @@ void MediumMountWidget::initGUI()
104 // label 104 // label
105 m_lblPath = new QLabel(tr("Limit search to:"), this ); 105 m_lblPath = new QLabel(tr("Limit search to:"), this );
106 m_box->addWidget( m_lblPath ); 106 m_box->addWidget( m_lblPath );
107 107
108 // add to 108 // add to
109 m_hboxAdd = new QHBox( this ); 109 m_hboxAdd = new QHBox( this );
110 m_hboxAdd->setSpacing( 10 ); 110 //m_hboxAdd->setSpacing( 10 );
111 m_edit = new QLineEdit(m_hboxAdd ); 111 m_edit = new QLineEdit(m_hboxAdd );
112 m_add = new QPushButton(m_hboxAdd ); 112 m_add = new QPushButton(m_hboxAdd );
113 m_add->setText( tr("Add") ); 113 m_add->setText( tr("Add") );
114 114
115 m_box->addWidget(m_hboxAdd ); 115 m_box->addWidget(m_hboxAdd );
116 116