9#include "ControlPointEditView.h"
16#include <QWidgetAction>
18#include "ControlNet.h"
19#include "ControlPoint.h"
20#include "ControlPointEditWidget.h"
39 setCentralWidget(m_controlPointEditWidget);
42 m_buttons = m_controlPointEditWidget->findChildren<QPushButton *>();
53 delete m_controlPointEditWidget;
64 return m_controlPointEditWidget;
72 foreach (QPushButton *button, m_buttons) {
73 button->setDisabled(
true);
82 foreach (QPushButton *button, m_buttons) {
83 button->setEnabled(
true);
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt's model-view framework.
ControlPointEditView(Directory *directory, QWidget *parent=0)
Constructor.
~ControlPointEditView()
Destructor.
void enableActions()
Enables buttons/actions.
ControlPointEditWidget * controlPointEditWidget()
Returns the ControlPointEditWidget.
void disableActions()
Disables buttons/actions.
This is free and unencumbered software released into the public domain.