13   QDialog::setWindowTitle(tr(
"Project Properties"));
 
   14   QDialog::setWindowModality(Qt::ApplicationModal);
 
   17   QPushButton* okButton = 
new QPushButton(tr(
"&Ok"), 
this);
 
   18   QPushButton* cancelButton = 
new QPushButton(tr(
"&Cancel"), 
this);
 
   19   QPushButton* helpButton = 
new QPushButton(tr(
"&Help"), 
this);
 
   21   QHBoxLayout* hlay = 
new QHBoxLayout;
 
   23   hlay->addWidget(helpButton);
 
   24   hlay->addSpacerItem(
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum));
 
   25   hlay->addWidget(okButton);
 
   26   hlay->addWidget(cancelButton);
 
   32   QVBoxLayout* vlay = 
new QVBoxLayout;
 
   35   vlay->addSpacerItem(
new QSpacerItem(1, 1, QSizePolicy::Expanding, QSizePolicy::Minimum));
 
   36   vlay->addLayout(hlay);
 
   38   QGridLayout* grd = 
new QGridLayout(
this);
 
   39   grd->addLayout(vlay, 0, 0, 1, 1);
 
   44   connect(cancelButton, SIGNAL(pressed()), SLOT(reject()));
 
   54   m_info->setProject(proj);
 
   59   m_info->updateProjectInfo();
 
void onOkPushButtonPressed()
Called on ok button pressed. 
 
A dialog for edition of te::qt::af::Project informations. 
 
void onHelpPushButtonPressed()
Called on help button pressed. 
 
~ProjectInfoDialog()
Destructor. 
 
ProjectInfoWidget * m_info
Pointer to the widget that contains information about te::qt::af::Project. 
 
This class models the concept of a project for the TerraLib Application Framework. 
 
ProjectInfoDialog(QWidget *parent=0)
Constructor. 
 
void setProject(Project *proj)
Sets the project to be inspected.