#include <qdesigner_actioneditor.h>
Inheritance diagram for QDesignerActionEditor:


Definition at line 31 of file qdesigner_actioneditor.h.
Public Member Functions | |
| QDesignerActionEditor (QDesignerWorkbench *workbench) | |
| virtual | ~QDesignerActionEditor () |
| virtual QRect | geometryHint () const |
| QDesignerActionEditor::QDesignerActionEditor | ( | QDesignerWorkbench * | workbench | ) |
Definition at line 31 of file qdesigner_actioneditor.cpp.
References QDesignerWorkbench::core(), QDesignerComponents::createActionEditor(), QDesignerFormEditorInterface::setActionEditor(), QMainWindow::setCentralWidget(), QObject::setObjectName(), QWidget::setWindowTitle(), and QDesignerToolWindow::workbench().
00032 : QDesignerToolWindow(workbench) 00033 { 00034 setObjectName(QLatin1String("ActionEditor")); 00035 QDesignerActionEditorInterface *widget = QDesignerComponents::createActionEditor(workbench->core(), this); 00036 workbench->core()->setActionEditor(widget); 00037 00038 setCentralWidget(widget); 00039 00040 setWindowTitle(tr("Action Editor")); 00041 }
Here is the call graph for this function:

| QDesignerActionEditor::~QDesignerActionEditor | ( | ) | [virtual] |
| QRect QDesignerActionEditor::geometryHint | ( | ) | const [virtual] |
Reimplemented from QDesignerToolWindow.
Definition at line 47 of file qdesigner_actioneditor.cpp.
References QDesignerWorkbench::availableGeometry(), g, QDesignerWorkbench::marginHint(), and QDesignerToolWindow::workbench().
00048 { 00049 QRect g = workbench()->availableGeometry(); 00050 int margin = workbench()->marginHint(); 00051 00052 QSize sz(g.width() * 1/4, g.height() * 1/6); 00053 00054 return QRect((g.width() - sz.width() - margin), margin, 00055 sz.width(), sz.height()); 00056 }
Here is the call graph for this function:

1.5.1