DolphinQt: Add generic tooltip controls

This commit is contained in:
iwubcode
2020-10-20 01:37:03 -05:00
parent 613d8b1cba
commit af0161cafd
13 changed files with 261 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// Copyright 2020 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "DolphinQt/Config/ToolTipControls/ToolTipSpinBox.h"
QPoint ToolTipSpinBox::GetToolTipPosition() const
{
return pos() + QPoint(width() / 2, height() / 2);
}