Diffstat (limited to 'noncore/unsupported/oipkg/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/unsupported/oipkg/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp index 9c4c752..27c9f4c 100644 --- a/noncore/unsupported/oipkg/mainwindow.cpp +++ b/noncore/unsupported/oipkg/mainwindow.cpp | |||
@@ -130,38 +130,38 @@ void MainWindow::makeMenu() | |||
130 | connect( cfgact, SIGNAL( activated() ), | 130 | connect( cfgact, SIGNAL( activated() ), |
131 | SLOT( showSettingsDst() ) ); | 131 | SLOT( showSettingsDst() ) ); |
132 | cfgact->addTo( cfgMenu ); | 132 | cfgact->addTo( cfgMenu ); |
133 | 133 | ||
134 | QAction *a; | 134 | QAction *a; |
135 | 135 | ||
136 | // SECTIONS | 136 | // SECTIONS |
137 | sectionBar = new QPEToolBar( this ); | 137 | sectionBar = new QPEToolBar( this ); |
138 | addToolBar( sectionBar, "Section", QMainWindow::Top, TRUE ); | 138 | addToolBar( sectionBar, "Section", QMainWindow::Top, TRUE ); |
139 | sectionBar->setHorizontalStretchable( true ); | 139 | sectionBar->setHorizontalStretchable( true ); |
140 | QLabel *label = new QLabel( tr("Section: "), sectionBar ); | 140 | QLabel *label = new QLabel( tr("Section: "), sectionBar ); |
141 | label->setBackgroundColor( sectionBar->backgroundColor() ); | 141 | label->setBackgroundColor( sectionBar->backgroundColor() ); |
142 | sectionBar->setStretchableWidget( label ); | ||
143 | section = new QComboBox( false, sectionBar ); | 142 | section = new QComboBox( false, sectionBar ); |
144 | label = new QLabel( " / ", sectionBar ); | 143 | label = new QLabel( " / ", sectionBar ); |
145 | label->setBackgroundColor( sectionBar->backgroundColor() ); | 144 | label->setBackgroundColor( sectionBar->backgroundColor() ); |
146 | subsection = new QComboBox( false, sectionBar ); | 145 | subsection = new QComboBox( false, sectionBar ); |
147 | a = new QAction( tr( "Close Section" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); | 146 | a = new QAction( tr( "Close Section" ), Resource::loadPixmap( "close" ), QString::null, 0, this, 0 ); |
148 | connect( a, SIGNAL( activated() ), this, SLOT( sectionClose() ) ); | 147 | connect( a, SIGNAL( activated() ), this, SLOT( sectionClose() ) ); |
149 | a->addTo( sectionBar ); | 148 | a->addTo( sectionBar ); |
150 | setSections(); | 149 | setSections(); |
151 | setSubSections(); | 150 | setSubSections(); |
152 | sectionAction = new QAction( tr( "Sections" ), QString::null, 0, this, 0 ); | 151 | sectionAction = new QAction( tr( "Sections" ), QString::null, 0, this, 0 ); |
153 | connect( sectionAction, SIGNAL( toggled(bool) ), this, SLOT( sectionShow(bool) ) ); | 152 | connect( sectionAction, SIGNAL( toggled(bool) ), this, SLOT( sectionShow(bool) ) ); |
154 | sectionAction->setToggleAction( true ); | 153 | sectionAction->setToggleAction( true ); |
155 | sectionAction->addTo( viewMenu ); | 154 | sectionAction->addTo( viewMenu ); |
155 | sectionBar->setStretchableWidget( section ); | ||
156 | 156 | ||
157 | //FIND | 157 | //FIND |
158 | findBar = new QPEToolBar(this); | 158 | findBar = new QPEToolBar(this); |
159 | addToolBar( findBar, "Filter", QMainWindow::Top, TRUE ); | 159 | addToolBar( findBar, "Filter", QMainWindow::Top, TRUE ); |
160 | label = new QLabel( tr("Filter: "), findBar ); | 160 | label = new QLabel( tr("Filter: "), findBar ); |
161 | label->setBackgroundColor( findBar->backgroundColor() ); | 161 | label->setBackgroundColor( findBar->backgroundColor() ); |
162 | findBar->setHorizontalStretchable( TRUE ); | 162 | findBar->setHorizontalStretchable( TRUE ); |
163 | findEdit = new QLineEdit( findBar, "findEdit" ); | 163 | findEdit = new QLineEdit( findBar, "findEdit" ); |
164 | findBar->setStretchableWidget( findEdit ); | 164 | findBar->setStretchableWidget( findEdit ); |
165 | connect( findEdit, SIGNAL( textChanged( const QString & ) ), | 165 | connect( findEdit, SIGNAL( textChanged( const QString & ) ), |
166 | this, SLOT( displayList() ) ); | 166 | this, SLOT( displayList() ) ); |
167 | a = new QAction( tr( "Clear Find" ), Resource::loadPixmap( "back" ), QString::null, 0, this, 0 ); | 167 | a = new QAction( tr( "Clear Find" ), Resource::loadPixmap( "back" ), QString::null, 0, this, 0 ); |