summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/mainwindow.cpp
authortille <tille>2002-04-25 21:06:23 (UTC)
committer tille <tille>2002-04-25 21:06:23 (UTC)
commit054b0f3268189d6f8f06135960042a7f51117223 (patch) (unidiff)
tree2ab5eef44d4e6604d6c0a45e51608390c8b3a521 /noncore/unsupported/oipkg/mainwindow.cpp
parentc06667cd62b945a05edce621aab34358ee0e964f (diff)
downloadopie-054b0f3268189d6f8f06135960042a7f51117223.zip
opie-054b0f3268189d6f8f06135960042a7f51117223.tar.gz
opie-054b0f3268189d6f8f06135960042a7f51117223.tar.bz2
installation messages working
Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp
index 997f449..54ee115 100644
--- a/noncore/unsupported/oipkg/mainwindow.cpp
+++ b/noncore/unsupported/oipkg/mainwindow.cpp
@@ -98,13 +98,13 @@ void MainWindow::makeMenu()
98 runAction->addTo( toolBar ); 98 runAction->addTo( toolBar );
99 runAction->addTo( srvMenu ); 99 runAction->addTo( srvMenu );
100 100
101 srvMenu->insertSeparator (); 101 srvMenu->insertSeparator ();
102 102
103 updateAction = new QAction( tr( "Update" ), 103 updateAction = new QAction( tr( "Update" ),
104 Resource::loadIconSet( "oipkg/repeat" ), 104 Resource::loadIconSet( "oipkg/update" ),
105 QString::null, 0, this, 0 ); 105 QString::null, 0, this, 0 );
106 connect( updateAction, SIGNAL( activated() ), 106 connect( updateAction, SIGNAL( activated() ),
107 this , SLOT( updateList() ) ); 107 this , SLOT( updateList() ) );
108 updateAction->addTo( toolBar ); 108 updateAction->addTo( toolBar );
109 updateAction->addTo( srvMenu ); 109 updateAction->addTo( srvMenu );
110 110
@@ -142,18 +142,18 @@ void MainWindow::makeMenu()
142 142
143 sectionBar = new QPEToolBar( this ); 143 sectionBar = new QPEToolBar( this );
144 addToolBar( sectionBar, "Section", QMainWindow::Top, TRUE ); 144 addToolBar( sectionBar, "Section", QMainWindow::Top, TRUE );
145 sectionBar->setHorizontalStretchable( true ); 145 sectionBar->setHorizontalStretchable( true );
146 QLabel *label = new QLabel( tr("Section: "), sectionBar ); 146 QLabel *label = new QLabel( tr("Section: "), sectionBar );
147 label->setBackgroundColor( sectionBar->backgroundColor() ); 147 label->setBackgroundColor( sectionBar->backgroundColor() );
148 sectionBar->setStretchableWidget( label );
148 section = new QComboBox( false, sectionBar ); 149 section = new QComboBox( false, sectionBar );
149// section->setBackgroundMode( PaletteBackground ); 150// section->setBackgroundMode( PaletteBackground );
150 label = new QLabel( " / ", sectionBar ); 151 label = new QLabel( " / ", sectionBar );
151 label->setBackgroundColor( sectionBar->backgroundColor() ); 152 label->setBackgroundColor( sectionBar->backgroundColor() );
152 subsection = new QComboBox( false, sectionBar ); 153 subsection = new QComboBox( false, sectionBar );
153 sectionBar->setStretchableWidget( label );
154 154
155 a = new QAction( tr( "Close Section" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); 155 a = new QAction( tr( "Close Section" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 );
156 connect( a, SIGNAL( activated() ), this, SLOT( sectionClose() ) ); 156 connect( a, SIGNAL( activated() ), this, SLOT( sectionClose() ) );
157 a->addTo( sectionBar ); 157 a->addTo( sectionBar );
158 158
159 sectionAction = new QAction( tr( "Sections" ), QString::null, 0, this, 0 ); 159 sectionAction = new QAction( tr( "Sections" ), QString::null, 0, this, 0 );
@@ -272,23 +272,23 @@ void MainWindow::setSubSections()
272} 272}
273 273
274 274
275void MainWindow::showSettings() 275void MainWindow::showSettings()
276{ 276{
277 if ( settings->showDialog( 0 ) ) 277 if ( settings->showDialog( 0 ) )
278 getList(); 278 updateList();
279} 279}
280void MainWindow::showSettingsSrv() 280void MainWindow::showSettingsSrv()
281{ 281{
282 if ( settings->showDialog( 1 ) ) 282 if ( settings->showDialog( 1 ) )
283 getList(); 283 updateList();
284} 284}
285void MainWindow::showSettingsDst() 285void MainWindow::showSettingsDst()
286{ 286{
287 if ( settings->showDialog( 2 ) ) 287 if ( settings->showDialog( 2 ) )
288 getList(); 288 updateList();
289} 289}
290 290
291 291
292void MainWindow::showDetails() 292void MainWindow::showDetails()
293{ 293{
294 if ( activePackage ) return; 294 if ( activePackage ) return;