- Timestamp:
- 08/05/11 13:07:57 (13 years ago)
- Location:
- trunk/FACT++/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11779 r11782 1432 1432 const float *ptr = d.ptr<float>(); 1433 1433 1434 TCanvas *c = fEventCanv->GetCanvas();1435 Camera *cam1 = (Camera*)c->GetPad(1)->FindObject("Camera");1436 Camera *cam2 = (Camera*)c->GetPad(2)->FindObject("Camera");1437 Camera *cam3 = (Camera*)c->GetPad(3)->FindObject("Camera");1438 Camera *cam4 = (Camera*)c->GetPad(4)->FindObject("Camera");1434 // TCanvas *c = fEventCanv->GetCanvas(); 1435 Camera *cam1 = fEventCanv1;//(Camera*)c->GetPad(1)->FindObject("Camera"); 1436 Camera *cam2 = fEventCanv2;//(Camera*)c->GetPad(2)->FindObject("Camera"); 1437 Camera *cam3 = fEventCanv3;//(Camera*)c->GetPad(3)->FindObject("Camera"); 1438 Camera *cam4 = fEventCanv4;//(Camera*)c->GetPad(4)->FindObject("Camera"); 1439 1439 1440 1440 valarray<double> arr1(1440); … … 1456 1456 cam4->SetData(arr4); 1457 1457 1458 c->GetPad(1)->Modified();1459 c->GetPad(2)->Modified();1458 // c->GetPad(1)->Modified(); 1459 // c->GetPad(2)->Modified(); 1460 1460 // c->GetPad(3)->Modified(); 1461 1461 // c->GetPad(4)->Modified(); 1462 1462 1463 c->Update();1463 // c->Update(); 1464 1464 } 1465 1465 … … 3396 3396 // -------------------------------------------------------------------------- 3397 3397 3398 c = fEventCanv->GetCanvas();3398 /* c = fEventCanv->GetCanvas(); 3399 3399 c->SetBit(TCanvas::kNoContextMenu); 3400 3400 c->SetBorderMode(0); … … 3432 3432 // cam4->Draw(); 3433 3433 3434 3434 */ 3435 3435 3436 3436 // Create histogram? -
trunk/FACT++/gui/design.ui
r11779 r11782 11 11 <x>0</x> 12 12 <y>0</y> 13 <width>1 144</width>14 <height> 838</height>13 <width>1316</width> 14 <height>965</height> 15 15 </rect> 16 16 </property> … … 53 53 </property> 54 54 <property name="currentIndex"> 55 <number> 0</number>55 <number>6</number> 56 56 </property> 57 57 <property name="documentMode"> … … 6955 6955 </property> 6956 6956 <layout class="QGridLayout" name="gridLayout_67"> 6957 <property name="margin">6958 <number>3</number>6959 </property>6960 6957 <item row="0" column="0"> 6961 <widget class="RootWidget" name="fEventCanv" native="true"/> 6958 <widget class="QCameraWidget" name="fEventCanv1" native="true"/> 6959 </item> 6960 <item row="0" column="1"> 6961 <widget class="QCameraWidget" name="fEventCanv2" native="true"/> 6962 </item> 6963 <item row="2" column="0"> 6964 <widget class="QCameraWidget" name="fEventCanv3" native="true"/> 6965 </item> 6966 <item row="2" column="1"> 6967 <widget class="QCameraWidget" name="fEventCanv4" native="true"/> 6962 6968 </item> 6963 6969 </layout> … … 8680 8686 <html><head><meta name="qrichtext" content="1" /><style type="text/css"> 8681 8687 p, li { white-space: pre-wrap; } 8682 </style></head><body style=" font-family:'Ubuntu'; font-size: 9pt; font-weight:400; font-style:normal;">8683 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "></p></body></html></string>8688 </style></head><body style=" font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;"> 8689 <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"></p></body></html></string> 8684 8690 </property> 8685 8691 <property name="textInteractionFlags"> … … 8733 8739 <x>0</x> 8734 8740 <y>0</y> 8735 <width>1 144</width>8736 <height>2 1</height>8741 <width>1316</width> 8742 <height>25</height> 8737 8743 </rect> 8738 8744 </property> … … 8769 8775 <property name="minimumSize"> 8770 8776 <size> 8771 <width> 408</width>8772 <height> 97</height>8777 <width>511</width> 8778 <height>109</height> 8773 8779 </size> 8774 8780 </property> … … 8974 8980 <property name="minimumSize"> 8975 8981 <size> 8976 <width>2 41</width>8977 <height> 687</height>8982 <width>287</width> 8983 <height>803</height> 8978 8984 </size> 8979 8985 </property> … … 9874 9880 <container>1</container> 9875 9881 </customwidget> 9876 <customwidget> 9882 <customwidget> 9883 <class>SpinBox4ns</class> 9884 <extends>QSpinBox</extends> 9885 <header>SpinBox4ns.h</header> 9886 </customwidget> 9887 <customwidget> 9888 <class>SpinBoxHex</class> 9889 <extends>QSpinBox</extends> 9890 <header>SpinBoxHex.h</header> 9891 </customwidget> 9892 <customwidget> 9877 9893 <class>QGLWidget</class> 9878 9894 <extends>QWidget</extends> … … 9888 9904 <extends>BasicGlCamera</extends> 9889 9905 <header>QCameraWidget.h</header> 9890 </customwidget>9891 <customwidget>9892 <class>SpinBox4ns</class>9893 <extends>QSpinBox</extends>9894 <header>SpinBox4ns.h</header>9895 </customwidget>9896 <customwidget>9897 <class>SpinBoxHex</class>9898 <extends>QSpinBox</extends>9899 <header>SpinBoxHex.h</header>9900 9906 </customwidget> 9901 9907 </customwidgets>
Note:
See TracChangeset
for help on using the changeset viewer.