-rw-r--r-- | noncore/apps/opie-gutenbrowser/NetworkDialog.cpp | 30 | ||||
-rw-r--r-- | noncore/apps/opie-gutenbrowser/NetworkDialog.h | 14 | ||||
-rw-r--r-- | noncore/apps/opie-gutenbrowser/SearchDialog.cpp | 8 |
3 files changed, 26 insertions, 26 deletions
diff --git a/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp b/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp index 6e6b707..d629449 100644 --- a/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/NetworkDialog.cpp @@ -64,3 +64,3 @@ NetworkDialog::NetworkDialog( QWidget* parent, const char* name, bool modal, WF - resize(240,110); + resize(240,120); @@ -101,7 +101,7 @@ void NetworkDialog::initDialog() { - hbox->addStretch(1); - buttonOk = new QPushButton( Layout1, "buttonOk" ); - buttonOk->setText( tr( "&OK" ) ); - hbox->addWidget(buttonOk,0,AlignRight); - hbox->addSpacing(5); + // hbox->addStretch(1); +// buttonOk = new QPushButton( Layout1, "buttonOk" ); +// buttonOk->setText( tr( "&OK" ) ); +// hbox->addWidget(buttonOk,0,AlignRight); +// hbox->addSpacing(5); buttonCancel = new QPushButton( Layout1, "buttonCancel" ); @@ -112,5 +112,5 @@ void NetworkDialog::initDialog() { - ProgressBar1->setFixedSize(140,22); - buttonOk->setFixedSize(35,22); - buttonCancel->setFixedSize(35,22); + ProgressBar1->setFixedSize(150,25); +// buttonOk->setFixedSize(35,22); + buttonCancel->setFixedSize(50,25); warnLabel ->setGeometry( QRect( 5,1,230,25)); @@ -122,3 +122,3 @@ void NetworkDialog::initDialog() { - connect(buttonOk,SIGNAL(clicked()),this,SLOT(doOk())); +// connect(buttonOk,SIGNAL(clicked()),this,SLOT(doOk())); connect(buttonCancel,SIGNAL(clicked()),this,SLOT(reject())); @@ -126,7 +126,7 @@ void NetworkDialog::initDialog() { // connect( connectionTimer,SIGNAL( timeout()),this,SLOT( connectionTimeSlot())); - if(autoOk) { - owarn << "XXXXXXXXXXXXXXXXXXXXXXXX" << oendl; - buttonOk->setDown(true); - doOk(); - } +// if(autoOk) { +// buttonOk->setDown(true); + QTimer::singleShot( 1000, this, SLOT( doOk() )); +// } + } diff --git a/noncore/apps/opie-gutenbrowser/NetworkDialog.h b/noncore/apps/opie-gutenbrowser/NetworkDialog.h index 447979f..61595a8 100644 --- a/noncore/apps/opie-gutenbrowser/NetworkDialog.h +++ b/noncore/apps/opie-gutenbrowser/NetworkDialog.h @@ -32,3 +32,3 @@ class NetworkDialog : public QDialog -{ +{ Q_OBJECT @@ -39,3 +39,3 @@ public: ~NetworkDialog(); - + QFile fiole; @@ -44,3 +44,3 @@ public: int timerProgess; - bool posTimer; + bool posTimer; QString s_partialFileName, s_finally; @@ -54,5 +54,5 @@ public: QString ftp_base_dir; - QString dir, strUrl, networkUrl; - - QPushButton* buttonOk; + QString dir, strUrl, networkUrl; + +// QPushButton* buttonOk; QPushButton* buttonCancel; @@ -74,3 +74,3 @@ private slots: void doOk(); - + private: diff --git a/noncore/apps/opie-gutenbrowser/SearchDialog.cpp b/noncore/apps/opie-gutenbrowser/SearchDialog.cpp index d989304..055ffee 100644 --- a/noncore/apps/opie-gutenbrowser/SearchDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/SearchDialog.cpp @@ -32,4 +32,4 @@ SearchDialog::SearchDialog( QWidget* parent, const char* name, bool modal, WFla // FIXME - resize( 220,100); - + resize( 220,110); + QGridLayout *layout = new QGridLayout( this ); @@ -100,3 +100,3 @@ void SearchDialog::byeBye() searchString = get_text(); -// odebug << "Search string is "+searchString << oendl; +// odebug << "Search string is "+searchString << oendl; Config cfg("Gutenbrowser"); @@ -121,3 +121,3 @@ void SearchDialog::closed() searchString = get_text(); -// odebug << "Search string is "+searchString << oendl; +// odebug << "Search string is "+searchString << oendl; Config cfg("Gutenbrowser"); |