Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/rev/90b6d676d59f
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 00:17:36 2012
Кодировка:
allpy: 90b6d676d59f

allpy

changeset 54:90b6d676d59f

Backed out changeset b26827ed945c no effect
author boris <bnagaev@gmail.com>
date Thu, 16 Sep 2010 00:11:07 +0400
parents b26827ed945c
children 0af20134116e
files blocks3d-wt-widget.C blocks3d-wt-widget.h
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line diff
     1.1 --- a/blocks3d-wt-widget.C	Wed Sep 15 23:51:09 2010 +0400
     1.2 +++ b/blocks3d-wt-widget.C	Thu Sep 16 00:11:07 2010 +0400
     1.3 @@ -80,7 +80,7 @@
     1.4  	
     1.5  	
     1.6  	new Wt::WBreak(this);
     1.7 -	go_button = new Wt::WPushButton("Run", this);
     1.8 +	Wt::WPushButton *go_button = new Wt::WPushButton("Run", this);
     1.9  	
    1.10  	new Wt::WBreak(this);
    1.11  	results_panel = new Wt::WContainerWidget(this);
    1.12 @@ -93,9 +93,6 @@
    1.13  	
    1.14  	alignment_upload->changed().connect(alignment_upload, &Wt::WFileUpload::upload);
    1.15  	conformity_upload->changed().connect(conformity_upload, &Wt::WFileUpload::upload);
    1.16 -	alignment_upload->changed().connect(go_button, &Wt::WPushButton::disable();
    1.17 -	conformity_upload->changed().connect(go_button, &Wt::WPushButton::disable();
    1.18 -	
    1.19  	
    1.20  	timer = new Wt::WTimer(this);
    1.21  	timer->timeout().connect(this, &Blocks3DWidget::timeout);
    1.22 @@ -133,8 +130,6 @@
    1.23  	
    1.24  	new Wt::WBreak(results_panel);
    1.25  	new Wt::WText("Upload finished", results_panel); 
    1.26 -	
    1.27 -	go_button->enable();
    1.28  }
    1.29  
    1.30  void Blocks3DWidget::alignment_uploaded()
     2.1 --- a/blocks3d-wt-widget.h	Wed Sep 15 23:51:09 2010 +0400
     2.2 +++ b/blocks3d-wt-widget.h	Thu Sep 16 00:11:07 2010 +0400
     2.3 @@ -40,7 +40,6 @@
     2.4    Wt::WContainerWidget* results_panel;
     2.5    Wt::WTimer* timer;
     2.6    Worktime* worktime;
     2.7 -  Wt::WPushButton* go_button;
     2.8    
     2.9    std::string tempfile_alignment;
    2.10    std::string tempfile_conformity;