mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-06 19:20:45 +00:00
Disabling that crud for now..
This commit is contained in:
parent
8263872aa2
commit
69b676aa64
@ -655,8 +655,7 @@ void gGraph::roundY(EventDataType &miny, EventDataType &maxy)
|
|||||||
//if (m_enforceMaxY) { maxy=f_maxy; }
|
//if (m_enforceMaxY) { maxy=f_maxy; }
|
||||||
}
|
}
|
||||||
|
|
||||||
void gGraph::AddLayer(Layer *l, LayerPosition position, short width, short height, short order,
|
void gGraph::AddLayer(Layer *l, LayerPosition position, short width, short height, short order, bool movable, short x, short y)
|
||||||
bool movable, short x, short y)
|
|
||||||
{
|
{
|
||||||
l->setLayout(position, width, height, order);
|
l->setLayout(position, width, height, order);
|
||||||
l->setMovable(movable);
|
l->setMovable(movable);
|
||||||
|
@ -141,7 +141,7 @@ Daily::Daily(QWidget *parent,gGraphView * shared)
|
|||||||
layout->addWidget(GraphView,1);
|
layout->addWidget(GraphView,1);
|
||||||
layout->addWidget(scrollbar,0);
|
layout->addWidget(scrollbar,0);
|
||||||
|
|
||||||
int default_height=p_profile->appearance->graphHeight();
|
int default_height = p_profile->appearance->graphHeight();
|
||||||
|
|
||||||
gGraph *GAHI = nullptr,
|
gGraph *GAHI = nullptr,
|
||||||
// *TAP = nullptr,
|
// *TAP = nullptr,
|
||||||
@ -150,11 +150,10 @@ Daily::Daily(QWidget *parent,gGraphView * shared)
|
|||||||
|
|
||||||
const QString STR_GRAPH_DailySummary = "DailySummary";
|
const QString STR_GRAPH_DailySummary = "DailySummary";
|
||||||
|
|
||||||
gGraph * SG;
|
// gGraph * SG;
|
||||||
graphlist[STR_GRAPH_DailySummary] = SG =new gGraph(STR_GRAPH_DailySummary, GraphView, QObject::tr("Summary"), QObject::tr("Summary of this daily information"), default_height);
|
// graphlist[STR_GRAPH_DailySummary] = SG = new gGraph(STR_GRAPH_DailySummary, GraphView, QObject::tr("Summary"), QObject::tr("Summary of this daily information"), default_height);
|
||||||
// SG->AddLayer(new gFlagsLabelArea(nullptr),LayerLeft,gYAxis::Margin);
|
// SG->AddLayer(new gFlagsLabelArea(nullptr),LayerLeft,gYAxis::Margin);
|
||||||
SG->AddLayer(AddCPAP(new gDailySummary()));
|
// SG->AddLayer(AddCPAP(new gDailySummary()));
|
||||||
|
|
||||||
|
|
||||||
graphlist[STR_GRAPH_SleepFlags] = SF = new gGraph(STR_GRAPH_SleepFlags, GraphView, STR_TR_EventFlags, STR_TR_EventFlags, default_height);
|
graphlist[STR_GRAPH_SleepFlags] = SF = new gGraph(STR_GRAPH_SleepFlags, GraphView, STR_TR_EventFlags, STR_TR_EventFlags, default_height);
|
||||||
SF->setPinned(true);
|
SF->setPinned(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user