moab
SheetDiagramPopup Class Reference

#include <SheetDiagramPopup.h>

List of all members.

Public Member Functions

 SheetDiagramPopup (QWidget *parent=0, const char *name=0, bool modal=FALSE, WFlags fl=0)
 ~SheetDiagramPopup ()
virtual void init ()
virtual QVTKWidget * sheet_diagram ()

Public Attributes

QVTKWidget * sheetDiagram

Protected Slots

virtual void languageChange ()

Detailed Description

Definition at line 22 of file SheetDiagramPopup.h.


Constructor & Destructor Documentation

SheetDiagramPopup::SheetDiagramPopup ( QWidget *  parent = 0,
const char *  name = 0,
bool  modal = FALSE,
WFlags  fl = 0 
)

Definition at line 29 of file SheetDiagramPopup.cpp.

    : 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();
}

Definition at line 50 of file SheetDiagramPopup.cpp.

{
    // no need to delete child widgets, Qt does it all for us
}

Member Function Documentation

void SheetDiagramPopup::init ( ) [virtual]

Definition at line 14 of file SheetDiagramPopup.ui.h.

{
  if (sheetDiagram == NULL) sheetDiagram = new QVTKWidget(0, "sheetDiagram");
}
void SheetDiagramPopup::languageChange ( ) [protected, virtual, slot]

Definition at line 59 of file SheetDiagramPopup.cpp.

{
    setCaption( tr( "Sheet Diagram" ) );
}
QVTKWidget * SheetDiagramPopup::sheet_diagram ( ) [virtual]

Definition at line 20 of file SheetDiagramPopup.ui.h.

{
  return sheetDiagram;
}

Member Data Documentation

Definition at line 30 of file SheetDiagramPopup.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines