mapeditor.cpp
changeset 788 78ba80b54bc4
parent 787 c6bb4fdcc55f
child 790 133e2ed6b9c5
     1.1 --- a/mapeditor.cpp	Sat Aug 08 21:58:26 2009 +0000
     1.2 +++ b/mapeditor.cpp	Tue Aug 18 12:39:07 2009 +0000
     1.3 @@ -452,7 +452,7 @@
     1.4  
     1.5  void MapEditor::testFunction1()
     1.6  {
     1.7 -	
     1.8 +	/*
     1.9  	// Code copied from Qt sources
    1.10  	QRectF rect=model->getSelectedBranchObj()->getBBox();
    1.11  	int xmargin=50;
    1.12 @@ -490,6 +490,8 @@
    1.13  	cout << "test1:  hor="<<horizontalScrollBar()->value()<<endl;
    1.14  	cout << "test1:  ver="<<verticalScrollBar()->value()<<endl;
    1.15  }
    1.16 +
    1.17 +*/
    1.18  /*
    1.19  	 QtPropertyAnimation *animation=new QtPropertyAnimation(this, "sceneRect");
    1.20  	 animation->setDuration(5000);
    1.21 @@ -542,6 +544,7 @@
    1.22  	}	
    1.23  	cout <<"  hidemode="<<hidemode<<endl;
    1.24  	*/
    1.25 +}
    1.26  	
    1.27  void MapEditor::testFunction2()
    1.28  {