| 721 | } |
| 722 | |
| 723 | void MainWindow::onConnectionUpdate(bool connected) |
| 724 | { |
| 725 | if(connected) |
| 726 | { |
| 727 | ui->toolButtonConnect->setStyleSheet("background-color: rgb(50, 150, 0); color:white"); |
| 728 | ui->toolButtonConnect->setText("Disconnect"); |
| 729 | } |
| 730 | else{ |
| 731 | ui->toolButtonConnect->setStyleSheet( |
| 732 | "QToolButton {color:white; }" |
| 733 | "QToolButton:hover{ background-color: rgb(110, 110, 110); }" |
| 734 | "QToolButton:pressed{ background-color: rgb(50, 150, 0) }" |
| 735 | "QToolButton:disabled{color:gray; background-color: rgb(50, 50, 50) }"); |
| 736 | ui->toolButtonConnect->setText("Connect"); |
| 737 | } |
| 738 | } |
| 739 | |
| 740 | void MainWindow::onRequestSubTreeExpand(GraphicContainer& container, |
| 741 | QtNodes::Node& node) |
nothing calls this directly
no outgoing calls
no test coverage detected