Пример #1
0
void TabRoom::focusTab() {
    QApplication::setActiveWindow(this);
    tabSupervisor->setCurrentIndex(tabSupervisor->indexOf(this));
    emit maximizeClient();
}
Пример #2
0
void TabMessage::messageClicked() {
    tabSupervisor->setCurrentIndex(tabSupervisor->indexOf(this));
    QApplication::setActiveWindow(this);
    emit maximizeClient();
}