author | harlekin <harlekin> | 2002-10-24 14:02:21 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-24 14:02:21 (UTC) |
commit | a33f6eae4730a7ca0bec18b72becd3bc73a20aa5 (patch) (side-by-side diff) | |
tree | 2bc87e75f01105ed3b5caa03743f682bb8403897 | |
parent | 9de347605b9457a0d5b56e1f951c143a71acf6ac (diff) | |
download | opie-a33f6eae4730a7ca0bec18b72becd3bc73a20aa5.zip opie-a33f6eae4730a7ca0bec18b72becd3bc73a20aa5.tar.gz opie-a33f6eae4730a7ca0bec18b72becd3bc73a20aa5.tar.bz2 |
de- /active script entries right
-rw-r--r-- | noncore/apps/opie-console/BUGS | 3 | ||||
-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 22 |
2 files changed, 22 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/BUGS b/noncore/apps/opie-console/BUGS index 8195dc5..694bc8b 100644 --- a/noncore/apps/opie-console/BUGS +++ b/noncore/apps/opie-console/BUGS @@ -30,3 +30,6 @@ connection its used on - keys button +- dial dialog - ugly , better use a qlineedit there to for showing or + disable + - exit / strg + d does not close conection / tab
\ No newline at end of file diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index c7750be..406586c 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -338,4 +338,7 @@ void MainWindow::slotConnect() { m_disconnect->setEnabled( true ); m_transfer->setEnabled( true ); + m_recordScript->setEnabled( true ); + m_saveScript->setEnabled( true ); + m_runScript->setEnabled( true ); } } @@ -348,4 +351,7 @@ void MainWindow::slotDisconnect() { m_disconnect->setEnabled( false ); m_transfer->setEnabled( false ); + m_recordScript->setEnabled( false); + m_saveScript->setEnabled( false ); + m_runScript->setEnabled( false ); } } @@ -434,10 +440,10 @@ void MainWindow::create( const Profile& prof ) { m_disconnect->setEnabled( false ); m_terminate->setEnabled( true ); - m_recordScript->setEnabled( true ); - m_saveScript->setEnabled( true ); - m_runScript->setEnabled( true ); m_fullscreen->setEnabled( true ); m_closewindow->setEnabled( true ); m_transfer->setEnabled( false ); + m_recordScript->setEnabled( false ); + m_saveScript->setEnabled( false ); + m_runScript->setEnabled( false ); // is io_layer wants direct connection, then autoconnect @@ -491,7 +497,13 @@ void MainWindow::slotSessionChanged( Session* ses ) { m_connect->setEnabled( false ); m_disconnect->setEnabled( true ); + m_recordScript->setEnabled( true ); + m_saveScript->setEnabled( true ); + m_runScript->setEnabled( true ); } else { m_connect->setEnabled( true ); m_disconnect->setEnabled( false ); + m_recordScript->setEnabled( false ); + m_saveScript->setEnabled( false ); + m_runScript->setEnabled( false ); } @@ -502,4 +514,8 @@ void MainWindow::slotSessionChanged( Session* ses ) { } + + + + QWidget *w = m_curSession->widget(); if(w) w->setFocus(); |