equal
deleted
inserted
replaced
42 // TODO: chart and table |
42 // TODO: chart and table |
43 QSplitter* splitter = new QSplitter(Qt::Orientation::Vertical, tabs); |
43 QSplitter* splitter = new QSplitter(Qt::Orientation::Vertical, tabs); |
44 splitter->addWidget(new QPushButton("here will be the chart", splitter)); |
44 splitter->addWidget(new QPushButton("here will be the chart", splitter)); |
45 splitter->addWidget(new QPushButton("here will be the table", splitter)); |
45 splitter->addWidget(new QPushButton("here will be the table", splitter)); |
46 tabs->addTab(splitter, QString::fromWCharArray(name.c_str())); |
46 tabs->addTab(splitter, QString::fromWCharArray(name.c_str())); |
|
47 if (tabs->count() == 2) tabs->setCurrentIndex(1); // switch to the first relation (first tab is Options tab) |
47 } |
48 } |
48 |
49 |
49 void RelpipeChartMainWindow::attribute(const string_t& value) { |
50 void RelpipeChartMainWindow::attribute(const string_t& value) { |
50 // TODO: fill table and draw chart |
51 // TODO: fill table and draw chart |
51 } |
52 } |