Public Member Functions
GeopsyAboutDialog Class Reference

#include <GeopsyAboutDialog.h>

Inheritance diagram for GeopsyAboutDialog:
QGpGuiTools::Dialog QGpGuiTools::FrameGrabber

List of all members.

Public Member Functions

 GeopsyAboutDialog (QWidget *parent=0, Qt::WFlags fl=0)
 ~GeopsyAboutDialog ()

Constructor & Destructor Documentation

GeopsyAboutDialog::GeopsyAboutDialog ( QWidget *  parent = 0,
Qt::WFlags  fl = 0 
)

References QGpCoreTools::tr(), and TRACE.

    : Dialog(parent, fl)
{
  TRACE;
  QVBoxLayout * vboxLayout=new QVBoxLayout(this);
  //vboxLayout->setResizeMode(QVBoxLayout::Fixed);

  GeopsyAbout * geopsyAbout=new GeopsyAbout(this);
  vboxLayout->addWidget(geopsyAbout);

  QHBoxLayout * hboxLayout=new QHBoxLayout();
  hboxLayout->setMargin(0);
  QSpacerItem * spacerItem=new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  hboxLayout->addItem(spacerItem);

  QPushButton * pushButton=new QPushButton(this);
  hboxLayout->addWidget(pushButton);

  spacerItem=new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
  hboxLayout->addItem(spacerItem);

  vboxLayout->addLayout(hboxLayout);

  setWindowTitle(tr( "About GEOPSY"));
  pushButton->setText(tr( "Close" ));
  connect(pushButton,SIGNAL(clicked()), this, SLOT(close()));
}

References TRACE.

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

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