22 #include <QVBoxLayout>
27 QVBoxLayout* vlayout =
new QVBoxLayout(
this);
28 vlayout->setMargin(0);
29 vlayout->setSpacing(0);
65 containerItem = intensityItem->
model()->
insertNewItem(
"ProjectionContainer", intensityItem,
#define ASSERT(condition)
Defines namespace DataItemUtils.
Defines class IntensityDataItem.
Defines items related to projections over color map.
Defines class ProjectionsEditor.
Defines class SessionModel.
static const QString T_PROJECTIONS
A container to hold ProjectionItems, intended to store projections of color map on X,...
Editor to draw projections on top of intensity plot. Part of.
QList< QAction * > topToolBarActions()
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
SessionModel * model() const
Returns model of this item.
QModelIndex index() const
Returns model index of this item.
SessionItem * getItem(const QString &tag="", int row=0) const
Returns item in given row of given tag.
SessionItem * insertNewItem(QString model_type, SessionItem *parent_item=nullptr, int row=-1, QString tag="")
IntensityDataItem * intensityDataItem(SessionItem *parent)
Returns IntensityDataItem contained as a child in givent parent.