void SwitchMonitor::loadSwitchMonitors()
{
    getAllMonitors();

    if (m_ScreenList.length() > 1) {
        resizeParent();

        initMonitorItems();

        initScreenMode();
    } else {
        // if just 1 screen , quit the app immediately
        deleteOsd();
    }
}
void SwitchLayout::loadSwitchLayout()
{
    if (m_KeyboardList.length() > 1) {
        // give out the value of m_MaxTextWidth and m_KeyboradLayoutHeight, to help resize this app
        calculateKeyboardSize();

        resizeParent();

        initKeyboard();
    } else {
        qDebug() << "hide parent";
        // if user's keyboard layout(s) just contain(s) 1 kind, quit the app immediately
        hide();
        deleteOsd();
    }
}