src/RelpipeChartMainWindow.cpp
branchv_0
changeset 14 0a6a88e4e48f
parent 13 c84042d014c9
child 15 547a7c5681a5
equal deleted inserted replaced
13:c84042d014c9 14:0a6a88e4e48f
    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 }