1 // Implementation of PropertiesDialog methods
2 // Copyright © 2009 The University of Chicago
3 #include "propertiesdialog.h"
5 #include <Q3CanvasItem>
7 #include "GraphicView.h"
9 PropertiesDialog::PropertiesDialog() : QDialog(), Ui::PropertiesDialogBase()
12 void PropertiesDialog::exec(Q3CanvasItem
* item
)
14 if (DiagramBox
* box
= dynamic_cast<DiagramBox
*>(item
)) {
15 CState
* pState
= box
->m_MyState
;
20 static_cast<void>(QDialog::exec());