[MOAB-dev] r1248 - MOAB/trunk/tools/qvdual

tautges at mcs.anl.gov tautges at mcs.anl.gov
Thu Aug 23 07:20:34 CDT 2007


Author: tautges
Date: 2007-08-23 07:20:34 -0500 (Thu, 23 Aug 2007)
New Revision: 1248

Added:
   MOAB/trunk/tools/qvdual/CropToolpopup.cpp
   MOAB/trunk/tools/qvdual/CropToolpopup.h
   MOAB/trunk/tools/qvdual/SheetDiagramPopup.cpp
   MOAB/trunk/tools/qvdual/SheetDiagramPopup.h
   MOAB/trunk/tools/qvdual/moc_CropToolpopup.cpp
   MOAB/trunk/tools/qvdual/moc_SheetDiagramPopup.cpp
   MOAB/trunk/tools/qvdual/moc_uiQVDual.cpp
   MOAB/trunk/tools/qvdual/uiQVDual.h
Log:
Adding some files previously kept in a hidden subdir, generated by qt.



Added: MOAB/trunk/tools/qvdual/CropToolpopup.cpp
===================================================================
--- MOAB/trunk/tools/qvdual/CropToolpopup.cpp	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/CropToolpopup.cpp	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,254 @@
+/****************************************************************************
+** Form implementation generated from reading ui file 'CropToolpopup.ui'
+**
+** Created: Wed Aug 22 09:12:41 2007
+**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#include "CropToolpopup.h"
+
+#include <qvariant.h>
+#include <qlabel.h>
+#include <qcombobox.h>
+#include <qspinbox.h>
+#include <qcheckbox.h>
+#include <qlayout.h>
+#include <qtooltip.h>
+#include <qwhatsthis.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "CropTool.hpp"
+#include "QVTKWidget.h"
+#include "vtkRenderWindow.h"
+#include "CropToolpopup.ui.h"
+/*
+ *  Constructs a CropToolPopup as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  TRUE to construct a modal dialog.
+ */
+CropToolPopup::CropToolPopup( QWidget* parent, const char* name, bool modal, WFlags fl )
+    : QDialog( parent, name, modal, fl )
+{
+    if ( !name )
+	setName( "CropToolPopup" );
+    setFocusPolicy( QDialog::StrongFocus );
+
+    textLabel1_2 = new QLabel( this, "textLabel1_2" );
+    textLabel1_2->setGeometry( QRect( 260, 10, 20, 21 ) );
+
+    textLabel1 = new QLabel( this, "textLabel1" );
+    textLabel1->setGeometry( QRect( 190, 10, 20, 21 ) );
+
+    textLabel1_3_2_2_2 = new QLabel( this, "textLabel1_3_2_2_2" );
+    textLabel1_3_2_2_2->setGeometry( QRect( 10, 10, 37, 21 ) );
+
+    textLabel1_3 = new QLabel( this, "textLabel1_3" );
+    textLabel1_3->setGeometry( QRect( 330, 10, 20, 21 ) );
+
+    CropToolType2 = new QComboBox( FALSE, this, "CropToolType2" );
+    CropToolType2->setGeometry( QRect( 0, 100, 90, 21 ) );
+
+    CropToolType3 = new QComboBox( FALSE, this, "CropToolType3" );
+    CropToolType3->setGeometry( QRect( 0, 160, 90, 21 ) );
+
+    Yval1 = new QSpinBox( this, "Yval1" );
+    Yval1->setGeometry( QRect( 240, 40, 59, 21 ) );
+    Yval1->setMaxValue( 10000 );
+    Yval1->setMinValue( -10000 );
+
+    Zval1 = new QSpinBox( this, "Zval1" );
+    Zval1->setGeometry( QRect( 310, 40, 59, 21 ) );
+    Zval1->setMaxValue( 10000 );
+    Zval1->setMinValue( -10000 );
+
+    Xval2 = new QSpinBox( this, "Xval2" );
+    Xval2->setGeometry( QRect( 170, 100, 59, 21 ) );
+    Xval2->setMaxValue( 10000 );
+    Xval2->setMinValue( -10000 );
+
+    Yval2 = new QSpinBox( this, "Yval2" );
+    Yval2->setGeometry( QRect( 240, 100, 59, 21 ) );
+    Yval2->setMaxValue( 10000 );
+    Yval2->setMinValue( -10000 );
+
+    Zval2 = new QSpinBox( this, "Zval2" );
+    Zval2->setGeometry( QRect( 310, 100, 59, 21 ) );
+    Zval2->setMaxValue( 10000 );
+    Zval2->setMinValue( -10000 );
+
+    Xval3 = new QSpinBox( this, "Xval3" );
+    Xval3->setGeometry( QRect( 170, 160, 59, 21 ) );
+    Xval3->setMaxValue( 10000 );
+    Xval3->setMinValue( -10000 );
+
+    Yval3 = new QSpinBox( this, "Yval3" );
+    Yval3->setGeometry( QRect( 240, 160, 59, 21 ) );
+    Yval3->setMaxValue( 10000 );
+    Yval3->setMinValue( -10000 );
+
+    Zval3 = new QSpinBox( this, "Zval3" );
+    Zval3->setGeometry( QRect( 310, 160, 59, 21 ) );
+    Zval3->setMaxValue( 10000 );
+    Zval3->setMinValue( -10000 );
+
+    textLabel1_3_2 = new QLabel( this, "textLabel1_3_2" );
+    textLabel1_3_2->setGeometry( QRect( 400, 10, 37, 21 ) );
+
+    textLabel1_3_2_3 = new QLabel( this, "textLabel1_3_2_3" );
+    textLabel1_3_2_3->setGeometry( QRect( 460, 10, 37, 21 ) );
+
+    Rev1 = new QCheckBox( this, "Rev1" );
+    Rev1->setGeometry( QRect( 470, 40, 20, 20 ) );
+
+    Rev2 = new QCheckBox( this, "Rev2" );
+    Rev2->setGeometry( QRect( 470, 100, 20, 20 ) );
+
+    Rev3 = new QCheckBox( this, "Rev3" );
+    Rev3->setGeometry( QRect( 470, 160, 20, 20 ) );
+
+    radius3 = new QSpinBox( this, "radius3" );
+    radius3->setGeometry( QRect( 100, 160, 59, 21 ) );
+    radius3->setMaxValue( 10000 );
+    radius3->setMinValue( 0 );
+    radius3->setValue( 1 );
+
+    radius2 = new QSpinBox( this, "radius2" );
+    radius2->setGeometry( QRect( 100, 100, 59, 21 ) );
+    radius2->setMaxValue( 10000 );
+    radius2->setMinValue( 0 );
+    radius2->setValue( 1 );
+
+    radius1 = new QSpinBox( this, "radius1" );
+    radius1->setGeometry( QRect( 100, 40, 59, 21 ) );
+    radius1->setMaxValue( 10000 );
+    radius1->setMinValue( 0 );
+    radius1->setValue( 1 );
+
+    textLabel1_3_2_2 = new QLabel( this, "textLabel1_3_2_2" );
+    textLabel1_3_2_2->setGeometry( QRect( 110, 10, 30, 21 ) );
+
+    CropToolType1 = new QComboBox( FALSE, this, "CropToolType1" );
+    CropToolType1->setGeometry( QRect( 0, 40, 90, 21 ) );
+
+    Xval1 = new QSpinBox( this, "Xval1" );
+    Xval1->setGeometry( QRect( 170, 40, 59, 21 ) );
+    Xval1->setMaxValue( 10000 );
+    Xval1->setMinValue( -10000 );
+
+    Rot1a = new QSpinBox( this, "Rot1a" );
+    Rot1a->setGeometry( QRect( 390, 40, 59, 21 ) );
+    Rot1a->setMaxValue( 180 );
+    Rot1a->setMinValue( -180 );
+    Rot1a->setLineStep( 5 );
+
+    Rot1b = new QSpinBox( this, "Rot1b" );
+    Rot1b->setGeometry( QRect( 390, 60, 59, 21 ) );
+    Rot1b->setMaxValue( 180 );
+    Rot1b->setMinValue( -180 );
+    Rot1b->setLineStep( 5 );
+
+    Rot2a = new QSpinBox( this, "Rot2a" );
+    Rot2a->setGeometry( QRect( 390, 100, 59, 21 ) );
+    Rot2a->setMaxValue( 180 );
+    Rot2a->setMinValue( -180 );
+    Rot2a->setLineStep( 5 );
+
+    Rot2b = new QSpinBox( this, "Rot2b" );
+    Rot2b->setGeometry( QRect( 390, 120, 59, 21 ) );
+    Rot2b->setMaxValue( 180 );
+    Rot2b->setMinValue( -180 );
+    Rot2b->setLineStep( 5 );
+
+    Rot3a = new QSpinBox( this, "Rot3a" );
+    Rot3a->setGeometry( QRect( 390, 160, 59, 21 ) );
+    Rot3a->setMaxValue( 180 );
+    Rot3a->setMinValue( -180 );
+    Rot3a->setLineStep( 5 );
+
+    Rot3b = new QSpinBox( this, "Rot3b" );
+    Rot3b->setGeometry( QRect( 390, 180, 59, 21 ) );
+    Rot3b->setMaxValue( 180 );
+    Rot3b->setMinValue( -180 );
+    Rot3b->setLineStep( 5 );
+    languageChange();
+    resize( QSize(511, 220).expandedTo(minimumSizeHint()) );
+    clearWState( WState_Polished );
+
+    // signals and slots connections
+    connect( radius1, SIGNAL( valueChanged(int) ), this, SLOT( radius1_valueChanged(int) ) );
+    connect( Xval1, SIGNAL( valueChanged(int) ), this, SLOT( Xval1_valueChanged(int) ) );
+    connect( Yval1, SIGNAL( valueChanged(int) ), this, SLOT( Yval1_valueChanged(int) ) );
+    connect( Zval1, SIGNAL( valueChanged(int) ), this, SLOT( Zval1_valueChanged(int) ) );
+    connect( Rot1a, SIGNAL( valueChanged(int) ), this, SLOT( Rot1a_valueChanged(int) ) );
+    connect( Rot1b, SIGNAL( valueChanged(int) ), this, SLOT( Rot1b_valueChanged(int) ) );
+    connect( radius2, SIGNAL( valueChanged(int) ), this, SLOT( radius2_valueChanged(int) ) );
+    connect( Xval2, SIGNAL( valueChanged(int) ), this, SLOT( Xval2_valueChanged(int) ) );
+    connect( Yval2, SIGNAL( valueChanged(int) ), this, SLOT( Yval2_valueChanged(int) ) );
+    connect( Zval2, SIGNAL( valueChanged(int) ), this, SLOT( Zval2_valueChanged(int) ) );
+    connect( Rot2a, SIGNAL( valueChanged(int) ), this, SLOT( Rot2a_valueChanged(int) ) );
+    connect( Rot2b, SIGNAL( valueChanged(int) ), this, SLOT( Rot2b_valueChanged(int) ) );
+    connect( radius3, SIGNAL( valueChanged(int) ), this, SLOT( radius3_valueChanged(int) ) );
+    connect( Xval3, SIGNAL( valueChanged(int) ), this, SLOT( Xval3_valueChanged(int) ) );
+    connect( Yval3, SIGNAL( valueChanged(int) ), this, SLOT( Yval3_valueChanged(int) ) );
+    connect( Zval3, SIGNAL( valueChanged(int) ), this, SLOT( Zval3_valueChanged(int) ) );
+    connect( Rot3a, SIGNAL( valueChanged(int) ), this, SLOT( Rot3a_valueChanged(int) ) );
+    connect( Rot3b, SIGNAL( valueChanged(int) ), this, SLOT( Rot3b_valueChanged(int) ) );
+    connect( Rev1, SIGNAL( toggled(bool) ), this, SLOT( Rev1_toggled(bool) ) );
+    connect( Rev2, SIGNAL( toggled(bool) ), this, SLOT( Rev2_toggled(bool) ) );
+    connect( Rev3, SIGNAL( toggled(bool) ), this, SLOT( Rev3_toggled(bool) ) );
+    connect( CropToolType1, SIGNAL( highlighted(int) ), this, SLOT( CropToolType1_highlighted(int) ) );
+    connect( CropToolType2, SIGNAL( highlighted(int) ), this, SLOT( CropToolType2_highlighted(int) ) );
+    connect( CropToolType3, SIGNAL( highlighted(int) ), this, SLOT( CropToolType3_highlighted(int) ) );
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+CropToolPopup::~CropToolPopup()
+{
+    destroy();
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void CropToolPopup::languageChange()
+{
+    setCaption( tr( "Crop" ) );
+    textLabel1_2->setText( tr( "Y" ) );
+    textLabel1->setText( tr( "X" ) );
+    textLabel1_3_2_2_2->setText( tr( "Type" ) );
+    textLabel1_3->setText( tr( "Z" ) );
+    CropToolType2->clear();
+    CropToolType2->insertItem( tr( "None" ) );
+    CropToolType2->insertItem( tr( "Plane" ) );
+    CropToolType2->insertItem( tr( "Cylinder" ) );
+    CropToolType2->insertItem( tr( "Sphere" ) );
+    CropToolType3->clear();
+    CropToolType3->insertItem( tr( "None" ) );
+    CropToolType3->insertItem( tr( "Plane" ) );
+    CropToolType3->insertItem( tr( "Cylinder" ) );
+    CropToolType3->insertItem( tr( "Sphere" ) );
+    textLabel1_3_2->setText( tr( "Rot" ) );
+    textLabel1_3_2_3->setText( tr( "Rev" ) );
+    Rev1->setText( tr( "checkBox1" ) );
+    Rev2->setText( tr( "checkBox1" ) );
+    Rev3->setText( tr( "checkBox1" ) );
+    textLabel1_3_2_2->setText( tr( "Rad" ) );
+    CropToolType1->clear();
+    CropToolType1->insertItem( tr( "None" ) );
+    CropToolType1->insertItem( tr( "PlaneX" ) );
+    CropToolType1->insertItem( tr( "PlaneY" ) );
+    CropToolType1->insertItem( tr( "PlaneZ" ) );
+    CropToolType1->insertItem( tr( "Cylinder" ) );
+    CropToolType1->insertItem( tr( "Sphere" ) );
+}
+

Added: MOAB/trunk/tools/qvdual/CropToolpopup.h
===================================================================
--- MOAB/trunk/tools/qvdual/CropToolpopup.h	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/CropToolpopup.h	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,109 @@
+/****************************************************************************
+** Form interface generated from reading ui file 'CropToolpopup.ui'
+**
+** Created: Tue Aug 7 10:19:10 2007
+**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#ifndef CROPTOOLPOPUP_H
+#define CROPTOOLPOPUP_H
+
+#include <qvariant.h>
+#include <qdialog.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QSpacerItem;
+class QLabel;
+class QComboBox;
+class QSpinBox;
+class QCheckBox;
+class CropTool;
+class QVTKWidget;
+
+class CropToolPopup : public QDialog
+{
+    Q_OBJECT
+
+public:
+    CropToolPopup( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+    ~CropToolPopup();
+
+    QLabel* textLabel1_2;
+    QLabel* textLabel1;
+    QLabel* textLabel1_3_2_2_2;
+    QLabel* textLabel1_3;
+    QComboBox* CropToolType2;
+    QComboBox* CropToolType3;
+    QSpinBox* Yval1;
+    QSpinBox* Zval1;
+    QSpinBox* Xval2;
+    QSpinBox* Yval2;
+    QSpinBox* Zval2;
+    QSpinBox* Xval3;
+    QSpinBox* Yval3;
+    QSpinBox* Zval3;
+    QLabel* textLabel1_3_2;
+    QLabel* textLabel1_3_2_3;
+    QCheckBox* Rev1;
+    QCheckBox* Rev2;
+    QCheckBox* Rev3;
+    QSpinBox* radius3;
+    QSpinBox* radius2;
+    QSpinBox* radius1;
+    QLabel* textLabel1_3_2_2;
+    QComboBox* CropToolType1;
+    QSpinBox* Xval1;
+    QSpinBox* Rot1a;
+    QSpinBox* Rot1b;
+    QSpinBox* Rot2a;
+    QSpinBox* Rot2b;
+    QSpinBox* Rot3a;
+    QSpinBox* Rot3b;
+
+    virtual void init();
+    virtual void destroy();
+
+public slots:
+    virtual void radius1_valueChanged( int num );
+    virtual void Xval1_valueChanged( int num );
+    virtual void Yval1_valueChanged( int num );
+    virtual void Zval1_valueChanged( int num );
+    virtual void Rot1a_valueChanged( int num );
+    virtual void Rot1b_valueChanged( int num );
+    virtual void radius2_valueChanged( int num );
+    virtual void Xval2_valueChanged( int num );
+    virtual void Yval2_valueChanged( int num );
+    virtual void Zval2_valueChanged( int num );
+    virtual void Rot2a_valueChanged( int num );
+    virtual void Rot2b_valueChanged( int num );
+    virtual void radius3_valueChanged( int num );
+    virtual void Xval3_valueChanged( int num );
+    virtual void Yval3_valueChanged( int num );
+    virtual void Zval3_valueChanged( int num );
+    virtual void Rot3a_valueChanged( int num );
+    virtual void Rot3b_valueChanged( int num );
+    virtual void Rev1_toggled( bool togg );
+    virtual void Rev2_toggled( bool togg );
+    virtual void Rev3_toggled( bool togg );
+    virtual void CropToolType1_highlighted( int num );
+    virtual void CropToolType2_highlighted( int num );
+    virtual void CropToolType3_highlighted( int num );
+    virtual void vtk_widget( QVTKWidget * vtkw );
+
+protected:
+    QVTKWidget *vtkWidget;
+
+
+protected slots:
+    virtual void languageChange();
+
+private:
+    CropTool *cropTool;
+
+};
+
+#endif // CROPTOOLPOPUP_H

Added: MOAB/trunk/tools/qvdual/SheetDiagramPopup.cpp
===================================================================
--- MOAB/trunk/tools/qvdual/SheetDiagramPopup.cpp	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/SheetDiagramPopup.cpp	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,63 @@
+/****************************************************************************
+** Form implementation generated from reading ui file 'SheetDiagramPopup.ui'
+**
+** Created: Wed Aug 22 09:12:45 2007
+**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#include "SheetDiagramPopup.h"
+
+#include <qvariant.h>
+#include <QVTKWidget.h>
+#include <qlayout.h>
+#include <qtooltip.h>
+#include <qwhatsthis.h>
+#include <qimage.h>
+#include <qpixmap.h>
+
+#include "QVTKWidget.h"
+#include "SheetDiagramPopup.ui.h"
+/*
+ *  Constructs a SheetDiagramPopup as a child of 'parent', with the
+ *  name 'name' and widget flags set to 'f'.
+ *
+ *  The dialog will by default be modeless, unless you set 'modal' to
+ *  TRUE to construct a modal dialog.
+ */
+SheetDiagramPopup::SheetDiagramPopup( QWidget* parent, const char* name, bool modal, WFlags fl )
+    : QDialog( parent, name, modal, fl )
+{
+    if ( !name )
+	setName( "SheetDiagramPopup" );
+    setMouseTracking( FALSE );
+    setFocusPolicy( QDialog::NoFocus );
+
+    sheetDiagram = new QVTKWidget( this, "sheetDiagram" );
+    sheetDiagram->setGeometry( QRect( 0, 0, 250, 250 ) );
+    sheetDiagram->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, sheetDiagram->sizePolicy().hasHeightForWidth() ) );
+    sheetDiagram->setBackgroundOrigin( QVTKWidget::WindowOrigin );
+    languageChange();
+    resize( QSize(494, 484).expandedTo(minimumSizeHint()) );
+    clearWState( WState_Polished );
+    init();
+}
+
+/*
+ *  Destroys the object and frees any allocated resources
+ */
+SheetDiagramPopup::~SheetDiagramPopup()
+{
+    // no need to delete child widgets, Qt does it all for us
+}
+
+/*
+ *  Sets the strings of the subwidgets using the current
+ *  language.
+ */
+void SheetDiagramPopup::languageChange()
+{
+    setCaption( tr( "Sheet Diagram" ) );
+}
+

Added: MOAB/trunk/tools/qvdual/SheetDiagramPopup.h
===================================================================
--- MOAB/trunk/tools/qvdual/SheetDiagramPopup.h	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/SheetDiagramPopup.h	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,42 @@
+/****************************************************************************
+** Form interface generated from reading ui file 'SheetDiagramPopup.ui'
+**
+** Created: Wed Aug 8 03:15:32 2007
+**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#ifndef SHEETDIAGRAMPOPUP_H
+#define SHEETDIAGRAMPOPUP_H
+
+#include <qvariant.h>
+#include <qdialog.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QSpacerItem;
+class QVTKWidget;
+
+class SheetDiagramPopup : public QDialog
+{
+    Q_OBJECT
+
+public:
+    SheetDiagramPopup( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+    ~SheetDiagramPopup();
+
+    QVTKWidget* sheetDiagram;
+
+    virtual void init();
+    virtual QVTKWidget * sheet_diagram();
+
+protected:
+
+protected slots:
+    virtual void languageChange();
+
+};
+
+#endif // SHEETDIAGRAMPOPUP_H

Added: MOAB/trunk/tools/qvdual/moc_CropToolpopup.cpp
===================================================================
--- MOAB/trunk/tools/qvdual/moc_CropToolpopup.cpp	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/moc_CropToolpopup.cpp	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,251 @@
+/****************************************************************************
+** CropToolPopup meta object code from reading C++ file 'CropToolpopup.h'
+**
+** Created: Wed Aug 22 09:12:44 2007
+**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#undef QT_NO_COMPAT
+#include "CropToolpopup.h"
+#include <qmetaobject.h>
+#include <qapplication.h>
+
+#include <private/qucomextra_p.h>
+#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
+#error "This file was generated using the moc from 3.3.7. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+const char *CropToolPopup::className() const
+{
+    return "CropToolPopup";
+}
+
+QMetaObject *CropToolPopup::metaObj = 0;
+static QMetaObjectCleanUp cleanUp_CropToolPopup( "CropToolPopup", &CropToolPopup::staticMetaObject );
+
+#ifndef QT_NO_TRANSLATION
+QString CropToolPopup::tr( const char *s, const char *c )
+{
+    if ( qApp )
+	return qApp->translate( "CropToolPopup", s, c, QApplication::DefaultCodec );
+    else
+	return QString::fromLatin1( s );
+}
+#ifndef QT_NO_TRANSLATION_UTF8
+QString CropToolPopup::trUtf8( const char *s, const char *c )
+{
+    if ( qApp )
+	return qApp->translate( "CropToolPopup", s, c, QApplication::UnicodeUTF8 );
+    else
+	return QString::fromUtf8( s );
+}
+#endif // QT_NO_TRANSLATION_UTF8
+
+#endif // QT_NO_TRANSLATION
+
+QMetaObject* CropToolPopup::staticMetaObject()
+{
+    if ( metaObj )
+	return metaObj;
+    QMetaObject* parentObject = QDialog::staticMetaObject();
+    static const QUParameter param_slot_0[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_0 = {"radius1_valueChanged", 1, param_slot_0 };
+    static const QUParameter param_slot_1[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_1 = {"Xval1_valueChanged", 1, param_slot_1 };
+    static const QUParameter param_slot_2[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_2 = {"Yval1_valueChanged", 1, param_slot_2 };
+    static const QUParameter param_slot_3[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_3 = {"Zval1_valueChanged", 1, param_slot_3 };
+    static const QUParameter param_slot_4[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_4 = {"Rot1a_valueChanged", 1, param_slot_4 };
+    static const QUParameter param_slot_5[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_5 = {"Rot1b_valueChanged", 1, param_slot_5 };
+    static const QUParameter param_slot_6[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_6 = {"radius2_valueChanged", 1, param_slot_6 };
+    static const QUParameter param_slot_7[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_7 = {"Xval2_valueChanged", 1, param_slot_7 };
+    static const QUParameter param_slot_8[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_8 = {"Yval2_valueChanged", 1, param_slot_8 };
+    static const QUParameter param_slot_9[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_9 = {"Zval2_valueChanged", 1, param_slot_9 };
+    static const QUParameter param_slot_10[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_10 = {"Rot2a_valueChanged", 1, param_slot_10 };
+    static const QUParameter param_slot_11[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_11 = {"Rot2b_valueChanged", 1, param_slot_11 };
+    static const QUParameter param_slot_12[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_12 = {"radius3_valueChanged", 1, param_slot_12 };
+    static const QUParameter param_slot_13[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_13 = {"Xval3_valueChanged", 1, param_slot_13 };
+    static const QUParameter param_slot_14[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_14 = {"Yval3_valueChanged", 1, param_slot_14 };
+    static const QUParameter param_slot_15[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_15 = {"Zval3_valueChanged", 1, param_slot_15 };
+    static const QUParameter param_slot_16[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_16 = {"Rot3a_valueChanged", 1, param_slot_16 };
+    static const QUParameter param_slot_17[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_17 = {"Rot3b_valueChanged", 1, param_slot_17 };
+    static const QUParameter param_slot_18[] = {
+	{ "togg", &static_QUType_bool, 0, QUParameter::In }
+    };
+    static const QUMethod slot_18 = {"Rev1_toggled", 1, param_slot_18 };
+    static const QUParameter param_slot_19[] = {
+	{ "togg", &static_QUType_bool, 0, QUParameter::In }
+    };
+    static const QUMethod slot_19 = {"Rev2_toggled", 1, param_slot_19 };
+    static const QUParameter param_slot_20[] = {
+	{ "togg", &static_QUType_bool, 0, QUParameter::In }
+    };
+    static const QUMethod slot_20 = {"Rev3_toggled", 1, param_slot_20 };
+    static const QUParameter param_slot_21[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_21 = {"CropToolType1_highlighted", 1, param_slot_21 };
+    static const QUParameter param_slot_22[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_22 = {"CropToolType2_highlighted", 1, param_slot_22 };
+    static const QUParameter param_slot_23[] = {
+	{ "num", &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_23 = {"CropToolType3_highlighted", 1, param_slot_23 };
+    static const QUParameter param_slot_24[] = {
+	{ "vtkw", &static_QUType_ptr, "QVTKWidget", QUParameter::In }
+    };
+    static const QUMethod slot_24 = {"vtk_widget", 1, param_slot_24 };
+    static const QUMethod slot_25 = {"languageChange", 0, 0 };
+    static const QMetaData slot_tbl[] = {
+	{ "radius1_valueChanged(int)", &slot_0, QMetaData::Public },
+	{ "Xval1_valueChanged(int)", &slot_1, QMetaData::Public },
+	{ "Yval1_valueChanged(int)", &slot_2, QMetaData::Public },
+	{ "Zval1_valueChanged(int)", &slot_3, QMetaData::Public },
+	{ "Rot1a_valueChanged(int)", &slot_4, QMetaData::Public },
+	{ "Rot1b_valueChanged(int)", &slot_5, QMetaData::Public },
+	{ "radius2_valueChanged(int)", &slot_6, QMetaData::Public },
+	{ "Xval2_valueChanged(int)", &slot_7, QMetaData::Public },
+	{ "Yval2_valueChanged(int)", &slot_8, QMetaData::Public },
+	{ "Zval2_valueChanged(int)", &slot_9, QMetaData::Public },
+	{ "Rot2a_valueChanged(int)", &slot_10, QMetaData::Public },
+	{ "Rot2b_valueChanged(int)", &slot_11, QMetaData::Public },
+	{ "radius3_valueChanged(int)", &slot_12, QMetaData::Public },
+	{ "Xval3_valueChanged(int)", &slot_13, QMetaData::Public },
+	{ "Yval3_valueChanged(int)", &slot_14, QMetaData::Public },
+	{ "Zval3_valueChanged(int)", &slot_15, QMetaData::Public },
+	{ "Rot3a_valueChanged(int)", &slot_16, QMetaData::Public },
+	{ "Rot3b_valueChanged(int)", &slot_17, QMetaData::Public },
+	{ "Rev1_toggled(bool)", &slot_18, QMetaData::Public },
+	{ "Rev2_toggled(bool)", &slot_19, QMetaData::Public },
+	{ "Rev3_toggled(bool)", &slot_20, QMetaData::Public },
+	{ "CropToolType1_highlighted(int)", &slot_21, QMetaData::Public },
+	{ "CropToolType2_highlighted(int)", &slot_22, QMetaData::Public },
+	{ "CropToolType3_highlighted(int)", &slot_23, QMetaData::Public },
+	{ "vtk_widget(QVTKWidget*)", &slot_24, QMetaData::Public },
+	{ "languageChange()", &slot_25, QMetaData::Protected }
+    };
+    metaObj = QMetaObject::new_metaobject(
+	"CropToolPopup", parentObject,
+	slot_tbl, 26,
+	0, 0,
+#ifndef QT_NO_PROPERTIES
+	0, 0,
+	0, 0,
+#endif // QT_NO_PROPERTIES
+	0, 0 );
+    cleanUp_CropToolPopup.setMetaObject( metaObj );
+    return metaObj;
+}
+
+void* CropToolPopup::qt_cast( const char* clname )
+{
+    if ( !qstrcmp( clname, "CropToolPopup" ) )
+	return this;
+    return QDialog::qt_cast( clname );
+}
+
+bool CropToolPopup::qt_invoke( int _id, QUObject* _o )
+{
+    switch ( _id - staticMetaObject()->slotOffset() ) {
+    case 0: radius1_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 1: Xval1_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 2: Yval1_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 3: Zval1_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 4: Rot1a_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 5: Rot1b_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 6: radius2_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 7: Xval2_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 8: Yval2_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 9: Zval2_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 10: Rot2a_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 11: Rot2b_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 12: radius3_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 13: Xval3_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 14: Yval3_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 15: Zval3_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 16: Rot3a_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 17: Rot3b_valueChanged((int)static_QUType_int.get(_o+1)); break;
+    case 18: Rev1_toggled((bool)static_QUType_bool.get(_o+1)); break;
+    case 19: Rev2_toggled((bool)static_QUType_bool.get(_o+1)); break;
+    case 20: Rev3_toggled((bool)static_QUType_bool.get(_o+1)); break;
+    case 21: CropToolType1_highlighted((int)static_QUType_int.get(_o+1)); break;
+    case 22: CropToolType2_highlighted((int)static_QUType_int.get(_o+1)); break;
+    case 23: CropToolType3_highlighted((int)static_QUType_int.get(_o+1)); break;
+    case 24: vtk_widget((QVTKWidget*)static_QUType_ptr.get(_o+1)); break;
+    case 25: languageChange(); break;
+    default:
+	return QDialog::qt_invoke( _id, _o );
+    }
+    return TRUE;
+}
+
+bool CropToolPopup::qt_emit( int _id, QUObject* _o )
+{
+    return QDialog::qt_emit(_id,_o);
+}
+#ifndef QT_NO_PROPERTIES
+
+bool CropToolPopup::qt_property( int id, int f, QVariant* v)
+{
+    return QDialog::qt_property( id, f, v);
+}
+
+bool CropToolPopup::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
+#endif // QT_NO_PROPERTIES

Added: MOAB/trunk/tools/qvdual/moc_SheetDiagramPopup.cpp
===================================================================
--- MOAB/trunk/tools/qvdual/moc_SheetDiagramPopup.cpp	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/moc_SheetDiagramPopup.cpp	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,101 @@
+/****************************************************************************
+** SheetDiagramPopup meta object code from reading C++ file 'SheetDiagramPopup.h'
+**
+** Created: Wed Aug 22 09:12:46 2007
+**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#undef QT_NO_COMPAT
+#include "SheetDiagramPopup.h"
+#include <qmetaobject.h>
+#include <qapplication.h>
+
+#include <private/qucomextra_p.h>
+#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
+#error "This file was generated using the moc from 3.3.7. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+const char *SheetDiagramPopup::className() const
+{
+    return "SheetDiagramPopup";
+}
+
+QMetaObject *SheetDiagramPopup::metaObj = 0;
+static QMetaObjectCleanUp cleanUp_SheetDiagramPopup( "SheetDiagramPopup", &SheetDiagramPopup::staticMetaObject );
+
+#ifndef QT_NO_TRANSLATION
+QString SheetDiagramPopup::tr( const char *s, const char *c )
+{
+    if ( qApp )
+	return qApp->translate( "SheetDiagramPopup", s, c, QApplication::DefaultCodec );
+    else
+	return QString::fromLatin1( s );
+}
+#ifndef QT_NO_TRANSLATION_UTF8
+QString SheetDiagramPopup::trUtf8( const char *s, const char *c )
+{
+    if ( qApp )
+	return qApp->translate( "SheetDiagramPopup", s, c, QApplication::UnicodeUTF8 );
+    else
+	return QString::fromUtf8( s );
+}
+#endif // QT_NO_TRANSLATION_UTF8
+
+#endif // QT_NO_TRANSLATION
+
+QMetaObject* SheetDiagramPopup::staticMetaObject()
+{
+    if ( metaObj )
+	return metaObj;
+    QMetaObject* parentObject = QDialog::staticMetaObject();
+    static const QUMethod slot_0 = {"languageChange", 0, 0 };
+    static const QMetaData slot_tbl[] = {
+	{ "languageChange()", &slot_0, QMetaData::Protected }
+    };
+    metaObj = QMetaObject::new_metaobject(
+	"SheetDiagramPopup", parentObject,
+	slot_tbl, 1,
+	0, 0,
+#ifndef QT_NO_PROPERTIES
+	0, 0,
+	0, 0,
+#endif // QT_NO_PROPERTIES
+	0, 0 );
+    cleanUp_SheetDiagramPopup.setMetaObject( metaObj );
+    return metaObj;
+}
+
+void* SheetDiagramPopup::qt_cast( const char* clname )
+{
+    if ( !qstrcmp( clname, "SheetDiagramPopup" ) )
+	return this;
+    return QDialog::qt_cast( clname );
+}
+
+bool SheetDiagramPopup::qt_invoke( int _id, QUObject* _o )
+{
+    switch ( _id - staticMetaObject()->slotOffset() ) {
+    case 0: languageChange(); break;
+    default:
+	return QDialog::qt_invoke( _id, _o );
+    }
+    return TRUE;
+}
+
+bool SheetDiagramPopup::qt_emit( int _id, QUObject* _o )
+{
+    return QDialog::qt_emit(_id,_o);
+}
+#ifndef QT_NO_PROPERTIES
+
+bool SheetDiagramPopup::qt_property( int id, int f, QVariant* v)
+{
+    return QDialog::qt_property( id, f, v);
+}
+
+bool SheetDiagramPopup::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
+#endif // QT_NO_PROPERTIES

Added: MOAB/trunk/tools/qvdual/moc_uiQVDual.cpp
===================================================================
--- MOAB/trunk/tools/qvdual/moc_uiQVDual.cpp	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/moc_uiQVDual.cpp	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,231 @@
+/****************************************************************************
+** uiQVDual meta object code from reading C++ file 'uiQVDual.h'
+**
+** Created: Wed Aug 22 09:12:40 2007
+**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.7   edited Oct 19 16:22 $)
+**
+** WARNING! All changes made in this file will be lost!
+*****************************************************************************/
+
+#undef QT_NO_COMPAT
+#include "uiQVDual.h"
+#include <qmetaobject.h>
+#include <qapplication.h>
+
+#include <private/qucomextra_p.h>
+#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
+#error "This file was generated using the moc from 3.3.7. It"
+#error "cannot be used with the include files from this version of Qt."
+#error "(The moc has changed too much.)"
+#endif
+
+const char *uiQVDual::className() const
+{
+    return "uiQVDual";
+}
+
+QMetaObject *uiQVDual::metaObj = 0;
+static QMetaObjectCleanUp cleanUp_uiQVDual( "uiQVDual", &uiQVDual::staticMetaObject );
+
+#ifndef QT_NO_TRANSLATION
+QString uiQVDual::tr( const char *s, const char *c )
+{
+    if ( qApp )
+	return qApp->translate( "uiQVDual", s, c, QApplication::DefaultCodec );
+    else
+	return QString::fromLatin1( s );
+}
+#ifndef QT_NO_TRANSLATION_UTF8
+QString uiQVDual::trUtf8( const char *s, const char *c )
+{
+    if ( qApp )
+	return qApp->translate( "uiQVDual", s, c, QApplication::UnicodeUTF8 );
+    else
+	return QString::fromUtf8( s );
+}
+#endif // QT_NO_TRANSLATION_UTF8
+
+#endif // QT_NO_TRANSLATION
+
+QMetaObject* uiQVDual::staticMetaObject()
+{
+    if ( metaObj )
+	return metaObj;
+    QMetaObject* parentObject = QMainWindow::staticMetaObject();
+    static const QUMethod slot_0 = {"fileNew", 0, 0 };
+    static const QUMethod slot_1 = {"fileOpen", 0, 0 };
+    static const QUParameter param_slot_2[] = {
+	{ "filename", &static_QUType_QString, 0, QUParameter::In }
+    };
+    static const QUMethod slot_2 = {"fileOpen", 1, param_slot_2 };
+    static const QUMethod slot_3 = {"fileSave", 0, 0 };
+    static const QUParameter param_slot_4[] = {
+	{ "filename", &static_QUType_QString, 0, QUParameter::In }
+    };
+    static const QUMethod slot_4 = {"fileSaveAs", 1, param_slot_4 };
+    static const QUMethod slot_5 = {"filePrint", 0, 0 };
+    static const QUMethod slot_6 = {"fileExit", 0, 0 };
+    static const QUMethod slot_7 = {"helpIndex", 0, 0 };
+    static const QUMethod slot_8 = {"helpContents", 0, 0 };
+    static const QUMethod slot_9 = {"helpAbout", 0, 0 };
+    static const QUMethod slot_10 = {"constructDual", 0, 0 };
+    static const QUMethod slot_11 = {"updateMesh", 0, 0 };
+    static const QUMethod slot_12 = {"DebugButton_pressed", 0, 0 };
+    static const QUMethod slot_13 = {"ActorTreeView_selectionChanged", 0, 0 };
+    static const QUMethod slot_14 = {"TagTreeView_selectionChanged", 0, 0 };
+    static const QUMethod slot_15 = {"displayVisible", 0, 0 };
+    static const QUMethod slot_16 = {"displayDraw", 0, 0 };
+    static const QUMethod slot_17 = {"displayWireframeShaded", 0, 0 };
+    static const QUMethod slot_18 = {"displayInvertSelection", 0, 0 };
+    static const QUParameter param_slot_19[] = {
+	{ "item", &static_QUType_ptr, "QListViewItem", QUParameter::In },
+	{ 0, &static_QUType_varptr, "\x0e", QUParameter::In },
+	{ 0, &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_19 = {"ActorListView1_rightButtonPressed", 3, param_slot_19 };
+    static const QUMethod slot_20 = {"displayInvisible", 0, 0 };
+    static const QUParameter param_slot_21[] = {
+	{ 0, &static_QUType_ptr, "QListViewItem", QUParameter::In },
+	{ 0, &static_QUType_varptr, "\x0e", QUParameter::In },
+	{ 0, &static_QUType_int, 0, QUParameter::In }
+    };
+    static const QUMethod slot_21 = {"TagListView1_rightButtonPressed", 3, param_slot_21 };
+    static const QUMethod slot_22 = {"displayDisplayAll", 0, 0 };
+    static const QUMethod slot_23 = {"CropToolButton_clicked", 0, 0 };
+    static const QUMethod slot_24 = {"displayDrawSheetAction_activated", 0, 0 };
+    static const QUMethod slot_25 = {"APbutton_clicked", 0, 0 };
+    static const QUMethod slot_26 = {"negAPbutton_clicked", 0, 0 };
+    static const QUMethod slot_27 = {"FOCbutton_clicked", 0, 0 };
+    static const QUMethod slot_28 = {"FSbutton_clicked", 0, 0 };
+    static const QUMethod slot_29 = {"negFCbutton_clicked", 0, 0 };
+    static const QUMethod slot_30 = {"fileSaveAs", 0, 0 };
+    static const QUMethod slot_31 = {"resetDisplay", 0, 0 };
+    static const QUMethod slot_32 = {"redrawDisplay", 0, 0 };
+    static const QUMethod slot_33 = {"languageChange", 0, 0 };
+    static const QMetaData slot_tbl[] = {
+	{ "fileNew()", &slot_0, QMetaData::Public },
+	{ "fileOpen()", &slot_1, QMetaData::Public },
+	{ "fileOpen(const QString&)", &slot_2, QMetaData::Public },
+	{ "fileSave()", &slot_3, QMetaData::Public },
+	{ "fileSaveAs(const QString&)", &slot_4, QMetaData::Public },
+	{ "filePrint()", &slot_5, QMetaData::Public },
+	{ "fileExit()", &slot_6, QMetaData::Public },
+	{ "helpIndex()", &slot_7, QMetaData::Public },
+	{ "helpContents()", &slot_8, QMetaData::Public },
+	{ "helpAbout()", &slot_9, QMetaData::Public },
+	{ "constructDual()", &slot_10, QMetaData::Public },
+	{ "updateMesh()", &slot_11, QMetaData::Public },
+	{ "DebugButton_pressed()", &slot_12, QMetaData::Public },
+	{ "ActorTreeView_selectionChanged()", &slot_13, QMetaData::Public },
+	{ "TagTreeView_selectionChanged()", &slot_14, QMetaData::Public },
+	{ "displayVisible()", &slot_15, QMetaData::Public },
+	{ "displayDraw()", &slot_16, QMetaData::Public },
+	{ "displayWireframeShaded()", &slot_17, QMetaData::Public },
+	{ "displayInvertSelection()", &slot_18, QMetaData::Public },
+	{ "ActorListView1_rightButtonPressed(QListViewItem*,const QPoint&,int)", &slot_19, QMetaData::Public },
+	{ "displayInvisible()", &slot_20, QMetaData::Public },
+	{ "TagListView1_rightButtonPressed(QListViewItem*,const QPoint&,int)", &slot_21, QMetaData::Public },
+	{ "displayDisplayAll()", &slot_22, QMetaData::Public },
+	{ "CropToolButton_clicked()", &slot_23, QMetaData::Public },
+	{ "displayDrawSheetAction_activated()", &slot_24, QMetaData::Public },
+	{ "APbutton_clicked()", &slot_25, QMetaData::Public },
+	{ "negAPbutton_clicked()", &slot_26, QMetaData::Public },
+	{ "FOCbutton_clicked()", &slot_27, QMetaData::Public },
+	{ "FSbutton_clicked()", &slot_28, QMetaData::Public },
+	{ "negFCbutton_clicked()", &slot_29, QMetaData::Public },
+	{ "fileSaveAs()", &slot_30, QMetaData::Public },
+	{ "resetDisplay()", &slot_31, QMetaData::Public },
+	{ "redrawDisplay()", &slot_32, QMetaData::Public },
+	{ "languageChange()", &slot_33, QMetaData::Protected }
+    };
+    static const QUMethod signal_0 = {"toggled", 0, 0 };
+    static const QMetaData signal_tbl[] = {
+	{ "toggled()", &signal_0, QMetaData::Public }
+    };
+    metaObj = QMetaObject::new_metaobject(
+	"uiQVDual", parentObject,
+	slot_tbl, 34,
+	signal_tbl, 1,
+#ifndef QT_NO_PROPERTIES
+	0, 0,
+	0, 0,
+#endif // QT_NO_PROPERTIES
+	0, 0 );
+    cleanUp_uiQVDual.setMetaObject( metaObj );
+    return metaObj;
+}
+
+void* uiQVDual::qt_cast( const char* clname )
+{
+    if ( !qstrcmp( clname, "uiQVDual" ) )
+	return this;
+    return QMainWindow::qt_cast( clname );
+}
+
+// SIGNAL toggled
+void uiQVDual::toggled()
+{
+    activate_signal( staticMetaObject()->signalOffset() + 0 );
+}
+
+bool uiQVDual::qt_invoke( int _id, QUObject* _o )
+{
+    switch ( _id - staticMetaObject()->slotOffset() ) {
+    case 0: fileNew(); break;
+    case 1: fileOpen(); break;
+    case 2: fileOpen((const QString&)static_QUType_QString.get(_o+1)); break;
+    case 3: fileSave(); break;
+    case 4: fileSaveAs((const QString&)static_QUType_QString.get(_o+1)); break;
+    case 5: filePrint(); break;
+    case 6: fileExit(); break;
+    case 7: helpIndex(); break;
+    case 8: helpContents(); break;
+    case 9: helpAbout(); break;
+    case 10: constructDual(); break;
+    case 11: updateMesh(); break;
+    case 12: DebugButton_pressed(); break;
+    case 13: ActorTreeView_selectionChanged(); break;
+    case 14: TagTreeView_selectionChanged(); break;
+    case 15: displayVisible(); break;
+    case 16: displayDraw(); break;
+    case 17: displayWireframeShaded(); break;
+    case 18: displayInvertSelection(); break;
+    case 19: ActorListView1_rightButtonPressed((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
+    case 20: displayInvisible(); break;
+    case 21: TagListView1_rightButtonPressed((QListViewItem*)static_QUType_ptr.get(_o+1),(const QPoint&)*((const QPoint*)static_QUType_ptr.get(_o+2)),(int)static_QUType_int.get(_o+3)); break;
+    case 22: displayDisplayAll(); break;
+    case 23: CropToolButton_clicked(); break;
+    case 24: displayDrawSheetAction_activated(); break;
+    case 25: APbutton_clicked(); break;
+    case 26: negAPbutton_clicked(); break;
+    case 27: FOCbutton_clicked(); break;
+    case 28: FSbutton_clicked(); break;
+    case 29: negFCbutton_clicked(); break;
+    case 30: fileSaveAs(); break;
+    case 31: resetDisplay(); break;
+    case 32: redrawDisplay(); break;
+    case 33: languageChange(); break;
+    default:
+	return QMainWindow::qt_invoke( _id, _o );
+    }
+    return TRUE;
+}
+
+bool uiQVDual::qt_emit( int _id, QUObject* _o )
+{
+    switch ( _id - staticMetaObject()->signalOffset() ) {
+    case 0: toggled(); break;
+    default:
+	return QMainWindow::qt_emit(_id,_o);
+    }
+    return TRUE;
+}
+#ifndef QT_NO_PROPERTIES
+
+bool uiQVDual::qt_property( int id, int f, QVariant* v)
+{
+    return QMainWindow::qt_property( id, f, v);
+}
+
+bool uiQVDual::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
+#endif // QT_NO_PROPERTIES

Added: MOAB/trunk/tools/qvdual/uiQVDual.h
===================================================================
--- MOAB/trunk/tools/qvdual/uiQVDual.h	                        (rev 0)
+++ MOAB/trunk/tools/qvdual/uiQVDual.h	2007-08-23 12:20:34 UTC (rev 1248)
@@ -0,0 +1,163 @@
+/****************************************************************************
+** Form interface generated from reading ui file 'uiQVDual.ui'
+**
+** Created: Wed Aug 8 03:15:38 2007
+**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.7   edited Aug 31 2005 $)
+**
+** WARNING! All changes made in this file will be lost!
+****************************************************************************/
+
+#ifndef UIQVDUAL_H
+#define UIQVDUAL_H
+
+#include <qvariant.h>
+#include <qmainwindow.h>
+#include <map>
+#include <set>
+#include "MBInterface.hpp"
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QSpacerItem;
+class QAction;
+class QActionGroup;
+class QToolBar;
+class QPopupMenu;
+class QListView;
+class QListViewItem;
+class QPushButton;
+class QLabel;
+class QLineEdit;
+class QVTKWidget;
+class vtkUnstructuredGrid;
+class vtkRenderer;
+class vtkRenderWindowInteractor;
+class vtkProperty;
+class CropToolPopup;
+class DrawDual;
+
+class uiQVDual : public QMainWindow
+{
+    Q_OBJECT
+
+public:
+    uiQVDual( QWidget* parent = 0, const char* name = 0, WFlags fl = WType_TopLevel );
+    ~uiQVDual();
+
+    QListView* ActorListView1;
+    QListView* TagListView1;
+    QPushButton* APbutton;
+    QPushButton* FOCbutton;
+    QPushButton* FSbutton;
+    QPushButton* Create_Dual_Button;
+    QPushButton* DebugButton;
+    QPushButton* negAPbutton;
+    QPushButton* negFOCbutton;
+    QPushButton* negFCbutton;
+    QPushButton* CropTool;
+    QPushButton* CropToolButton;
+    QLabel* picklabel1;
+    QLineEdit* pickline1;
+    QLabel* picklabel2;
+    QLineEdit* pickline2;
+    QVTKWidget* vtkWidget;
+    QMenuBar *MenuBar;
+    QPopupMenu *fileMenu;
+    QPopupMenu *helpMenu;
+    QPopupMenu *Window;
+    QPopupMenu *Display;
+    QAction* fileNewAction;
+    QAction* fileOpenAction;
+    QAction* fileSaveAction;
+    QAction* fileSaveAsAction;
+    QAction* filePrintAction;
+    QAction* fileExitAction;
+    QAction* helpContentsAction;
+    QAction* helpIndexAction;
+    QAction* helpAboutAction;
+    QAction* windowTagViewAction;
+    QAction* windowSheetViewAction;
+    QAction* windowChordViewAction;
+    QAction* windowActorViewAction;
+    QAction* displayVisibleAction;
+    QAction* displayDrawAction;
+    QAction* displayWireframeShadedAction;
+    QAction* displayInvertSelectionAction;
+    QAction* displayInvisibleAction;
+    QAction* displayDisplayAllActions;
+    QAction* displayDrawSheetAction;
+
+    bool computeDual;
+
+public slots:
+    virtual void fileNew();
+    virtual void fileOpen();
+    virtual void fileOpen( const QString & filename );
+    virtual void fileSave();
+    virtual void fileSaveAs( const QString & filename );
+    virtual void filePrint();
+    virtual void fileExit();
+    virtual void helpIndex();
+    virtual void helpContents();
+    virtual void helpAbout();
+    virtual void constructDual();
+    virtual void updateMesh();
+    virtual void DebugButton_pressed();
+    virtual void ActorTreeView_selectionChanged();
+    virtual void TagTreeView_selectionChanged();
+    virtual void displayVisible();
+    virtual void displayDraw();
+    virtual void displayWireframeShaded();
+    virtual void displayInvertSelection();
+    virtual void ActorListView1_rightButtonPressed( QListViewItem * item, const QPoint &, int );
+    virtual void displayInvisible();
+    virtual void TagListView1_rightButtonPressed( QListViewItem *, const QPoint &, int );
+    virtual void displayDisplayAll();
+    virtual void CropToolButton_clicked();
+    virtual void displayDrawSheetAction_activated();
+    virtual void APbutton_clicked();
+    virtual void negAPbutton_clicked();
+    virtual void FOCbutton_clicked();
+    virtual void FSbutton_clicked();
+    virtual void negFCbutton_clicked();
+    virtual void fileSaveAs();
+    virtual void resetDisplay();
+    virtual void redrawDisplay();
+
+signals:
+    void toggled();
+
+protected:
+    CropToolPopup *cropToolPopup;
+    std::set<QListViewItem*> itemSelList;
+    DrawDual *drawDual;
+
+    QVBoxLayout* layout13;
+    QHBoxLayout* layout6;
+    QHBoxLayout* layout7;
+
+protected slots:
+    virtual void languageChange();
+
+private:
+    QString lastOpened;
+    std::map<QListViewItem*,MBEntityHandle> itemSetMap;
+    vtkUnstructuredGrid *myUG;
+    int currentWin;
+
+    void init();
+    void destroy();
+    virtual void updateTagList();
+    virtual void updateActorList();
+    virtual void updateActorContainsList( QListViewItem * item, MBEntityHandle set_handle );
+    virtual void updateActorParentList( QListViewItem * item, MBEntityHandle set_handle );
+    virtual void changeSetProperty( std::set<QListViewItem *> & high_sets, std::set<QListViewItem *> & unhigh_sets );
+    virtual void evalItem( QListViewItem * item, const bool high, MBRange & high_mbsets, MBRange & unhigh_mbsets );
+    virtual void getSelected( QListView * listv, std::set<QListViewItem *> & selected, std::set<QListViewItem *> & unselected );
+    virtual void getSelected( QListView * listv, MBRange & selected, MBRange & unselected );
+    virtual void getItemSets( std::set<QListViewItem *> & items, MBRange & sets );
+
+};
+
+#endif // UIQVDUAL_H




More information about the moab-dev mailing list