OTHER: select active window on click istead of on mouseover
This commit is contained in:
parent
5f4e2d89d7
commit
353b7314e6
13 changed files with 110 additions and 33 deletions
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
MainWindow::MainWindow (QWidget *parent) : BaseWindow (parent)
|
||||
{
|
||||
setObjectName ("MainWindow");
|
||||
QSettings s;
|
||||
|
||||
setWindowTitle (App->applicationName ());
|
||||
|
|
@ -126,6 +127,23 @@ MainWindow::switchDisplay ()
|
|||
|
||||
}
|
||||
|
||||
void
|
||||
MainWindow::activeWindowInEvent (QEvent *event)
|
||||
{
|
||||
m_display->setActive (true);
|
||||
m_shaded->setActive (true);
|
||||
BaseWindow::activeWindowInEvent (event);
|
||||
}
|
||||
|
||||
void
|
||||
MainWindow::activeWindowOutEvent (QEvent *event)
|
||||
{
|
||||
m_display->setActive (false);
|
||||
m_shaded->setActive (false);
|
||||
BaseWindow::activeWindowOutEvent (event);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
MainWindow::raisePL (void)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue