author | hash <hash> | 2002-10-24 08:17:22 (UTC) |
---|---|---|
committer | hash <hash> | 2002-10-24 08:17:22 (UTC) |
commit | 4e8f0ba4a0c43d3dc4f3c4f89f2d796c3f8e5990 (patch) (unidiff) | |
tree | f7c83378e657bcbae6ae505d25214bdac405641a | |
parent | 541035d4308ca1931d5068ced83b0cb5350b0766 (diff) | |
download | opie-4e8f0ba4a0c43d3dc4f3c4f89f2d796c3f8e5990.zip opie-4e8f0ba4a0c43d3dc4f3c4f89f2d796c3f8e5990.tar.gz opie-4e8f0ba4a0c43d3dc4f3c4f89f2d796c3f8e5990.tar.bz2 |
commented out the other button bar.
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 8e529a3..e2f4d12 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp | |||
@@ -151,55 +151,56 @@ void MainWindow::initUI() { | |||
151 | m_recordScript = new QAction(tr("Record Script"), QString::null, 0, this, 0); | 151 | m_recordScript = new QAction(tr("Record Script"), QString::null, 0, this, 0); |
152 | m_recordScript->addTo(m_scripts); | 152 | m_recordScript->addTo(m_scripts); |
153 | connect(m_recordScript, SIGNAL(activated()), this, SLOT(slotRecordScript())); | 153 | connect(m_recordScript, SIGNAL(activated()), this, SLOT(slotRecordScript())); |
154 | 154 | ||
155 | m_saveScript = new QAction(tr("Save Script"), QString::null, 0, this, 0); | 155 | m_saveScript = new QAction(tr("Save Script"), QString::null, 0, this, 0); |
156 | m_saveScript->addTo(m_scripts); | 156 | m_saveScript->addTo(m_scripts); |
157 | connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript())); | 157 | connect(m_saveScript, SIGNAL(activated()), this, SLOT(slotSaveScript())); |
158 | 158 | ||
159 | m_runScript = new QAction(tr("Run Script"), QString::null, 0, this, 0); | 159 | m_runScript = new QAction(tr("Run Script"), QString::null, 0, this, 0); |
160 | m_runScript->addTo(m_scripts); | 160 | m_runScript->addTo(m_scripts); |
161 | connect(m_runScript, SIGNAL(activated()), this, SLOT(slotRunScript())); | 161 | connect(m_runScript, SIGNAL(activated()), this, SLOT(slotRunScript())); |
162 | 162 | ||
163 | /* | 163 | /* |
164 | * action that open/closes the keyboard | 164 | * action that open/closes the keyboard |
165 | */ | 165 | */ |
166 | m_openKeys = new QAction (tr("Open Keyboard..."), | 166 | m_openKeys = new QAction (tr("Open Keyboard..."), |
167 | Resource::loadPixmap( "console/keyboard_icon.png" ), | 167 | Resource::loadPixmap( "down" ), |
168 | QString::null, 0, this, 0); | 168 | QString::null, 0, this, 0); |
169 | 169 | ||
170 | m_openKeys->setToggleAction(true); | 170 | m_openKeys->setToggleAction(true); |
171 | 171 | ||
172 | connect (m_openKeys, SIGNAL(toggled(bool)), | 172 | connect (m_openKeys, SIGNAL(toggled(bool)), |
173 | this, SLOT(slotOpenKeb(bool))); | 173 | this, SLOT(slotOpenKeb(bool))); |
174 | m_openKeys->addTo(m_icons); | 174 | m_openKeys->addTo(m_icons); |
175 | 175 | ||
176 | 176 | ||
177 | /* | 177 | /* |
178 | * action that open/closes the keyboard | 178 | * action that open/closes the keyboard |
179 | */ | 179 | |
180 | m_openButtons = new QAction ( tr( "Open Buttons..." ), | 180 | m_openButtons = new QAction ( tr( "Open Buttons..." ), |
181 | Resource::loadPixmap( "down" ), | 181 | Resource::loadPixmap( "" ), |
182 | QString::null, 0, this, 0 ); | 182 | QString::null, 0, this, 0 ); |
183 | 183 | ||
184 | m_openButtons->setToggleAction( true ); | 184 | m_openButtons->setToggleAction( true ); |
185 | 185 | ||
186 | connect ( m_openButtons, SIGNAL( toggled( bool ) ), | 186 | connect ( m_openButtons, SIGNAL( toggled( bool ) ), |
187 | this, SLOT( slotOpenButtons( bool ) ) ); | 187 | this, SLOT( slotOpenButtons( bool ) ) ); |
188 | m_openButtons->addTo( m_icons ); | 188 | m_openButtons->addTo( m_icons ); |
189 | 189 | ||
190 | */ | ||
190 | 191 | ||
191 | /* insert the submenu */ | 192 | /* insert the submenu */ |
192 | m_console->insertItem(tr("New from Profile"), m_sessionsPop, | 193 | m_console->insertItem(tr("New from Profile"), m_sessionsPop, |
193 | -1, 0); | 194 | -1, 0); |
194 | 195 | ||
195 | /* insert the connection menu */ | 196 | /* insert the connection menu */ |
196 | m_bar->insertItem( tr("Connection"), m_console ); | 197 | m_bar->insertItem( tr("Connection"), m_console ); |
197 | 198 | ||
198 | /* the scripts menu */ | 199 | /* the scripts menu */ |
199 | m_bar->insertItem( tr("Scripts"), m_scripts ); | 200 | m_bar->insertItem( tr("Scripts"), m_scripts ); |
200 | 201 | ||
201 | /* the settings menu */ | 202 | /* the settings menu */ |
202 | // m_bar->insertItem( tr("Settings"), m_settings ); | 203 | // m_bar->insertItem( tr("Settings"), m_settings ); |
203 | 204 | ||
204 | /* and the keyboard */ | 205 | /* and the keyboard */ |
205 | m_keyBar = new QToolBar(this); | 206 | m_keyBar = new QToolBar(this); |