master propertie widget:

can link/unlink slave to master
can show element by double clic item on the list
reset modification 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2878 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-02-26 23:57:22 +00:00
parent 322ba055c0
commit bf707cca2e
7 changed files with 180 additions and 13 deletions

View File

@@ -158,10 +158,12 @@ void elementpropertieswidget::standardButtonClicked(QAbstractButton *button) {
switch (answer) {
case QDialogButtonBox::ResetRole:
if (mpw_) mpw_->reset();
break;
case QDialogButtonBox::ApplyRole:
if (frp_) frp_->Apply(); //folio report widget
else if (eiw_) eiw_->apply(); //element information widget
if (frp_) frp_->Apply(); //folio report widget
if (eiw_) eiw_->apply(); //element information widget
if (mpw_) mpw_->apply(); //master property widget
this->accept();
case QDialogButtonBox::RejectRole:
this->reject();