#include <DlgProjectInformationImp.h>
Public Member Functions | |
DlgProjectInformationImp (App::Document *doc, QWidget *parent=0, Qt::WFlags fl=0) | |
Constructs a Gui::Dialog::DlgProjectInformationImp as a child of 'parent', with the name 'name' and widget flags set to 'f'. | |
~DlgProjectInformationImp () | |
Destroys the object and frees any allocated resources. | |
Protected Member Functions | |
void | accept () |
Applies the changes to the project information of the given document. | |
Protected Attributes | |
App::Document * | _doc |
Definition at line 37 of file DlgProjectInformationImp.h.
DlgProjectInformationImp::DlgProjectInformationImp | ( | App::Document * | doc, | |
QWidget * | parent = 0 , |
|||
Qt::WFlags | fl = 0 | |||
) |
Constructs a Gui::Dialog::DlgProjectInformationImp 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.
Definition at line 43 of file DlgProjectInformationImp.cpp.
References App::Document::Comment, App::Document::Company, App::Document::CreatedBy, App::Document::CreationDate, App::Document::FileName, App::Document::Label, App::Document::LastModifiedBy, App::Document::LastModifiedDate, Gui::Dialog::Ui_DlgProjectInformation::lineEditCompany, Gui::Dialog::Ui_DlgProjectInformation::lineEditCreator, Gui::Dialog::Ui_DlgProjectInformation::lineEditDate, Gui::Dialog::Ui_DlgProjectInformation::lineEditLastMod, Gui::Dialog::Ui_DlgProjectInformation::lineEditLastModDate, Gui::Dialog::Ui_DlgProjectInformation::lineEditName, Gui::Dialog::Ui_DlgProjectInformation::lineEditPath, Gui::Dialog::Ui_DlgProjectInformation::setupUi(), and Gui::Dialog::Ui_DlgProjectInformation::textEditComment.
DlgProjectInformationImp::~DlgProjectInformationImp | ( | ) |
Destroys the object and frees any allocated resources.
Definition at line 66 of file DlgProjectInformationImp.cpp.
void DlgProjectInformationImp::accept | ( | ) | [protected] |
Applies the changes to the project information of the given document.
Definition at line 74 of file DlgProjectInformationImp.cpp.
References _doc, App::Document::Comment, App::Document::Company, App::Document::CreatedBy, App::Document::LastModifiedBy, Gui::Dialog::Ui_DlgProjectInformation::lineEditCompany, Gui::Dialog::Ui_DlgProjectInformation::lineEditCreator, and Gui::Dialog::Ui_DlgProjectInformation::textEditComment.
App::Document* Gui::Dialog::DlgProjectInformationImp::_doc [protected] |
Definition at line 45 of file DlgProjectInformationImp.h.
Referenced by accept().