修改主题颜色//暂时不开始,发现MAC下有不开启深色的配置
| 9788 | #if 0 |
| 9789 | //修改主题颜色//暂时不开始,发现MAC下有不开启深色的配置 |
| 9790 | void CCNotePad::changeAppFontColor(QColor color) |
| 9791 | { |
| 9792 | //把存在的界面都关闭。发现如果不关闭,颜色不会更新 |
| 9793 | |
| 9794 | if (!m_pFindWin.isNull()) |
| 9795 | { |
| 9796 | QByteArray curGeo = m_pFindWin->saveGeometry(); |
| 9797 | NddSetting::updataKeyByteArrayValue(FINDWINSIZE, curGeo); |
| 9798 | |
| 9799 | m_pFindWin.data()->deleteLater(); |
| 9800 | } |
| 9801 | |
| 9802 | if (!m_pHexGotoWin.isNull()) |
| 9803 | { |
| 9804 | m_pHexGotoWin.data()->close(); |
| 9805 | } |
| 9806 | |
| 9807 | if (!m_columnEditWin.isNull()) |
| 9808 | { |
| 9809 | m_columnEditWin.data()->close(); |
| 9810 | } |
| 9811 | |
| 9812 | |
| 9813 | //filelistwin还存在 |
| 9814 | if (!m_dockFileListWin.isNull()) |
| 9815 | { |
| 9816 | NddSetting::updataKeyValueFromNumSets(FILELISTSHOW, 1); |
| 9817 | m_dockFileListWin.data()->close(); |
| 9818 | } |
| 9819 | |
| 9820 | if (m_dockSelectTreeWin != nullptr) |
| 9821 | { |
| 9822 | m_dockSelectTreeWin->deleteLater(); |
| 9823 | m_dockSelectTreeWin = nullptr; |
| 9824 | } |
| 9825 | } |
| 9826 | #endif |
| 9827 | |
| 9828 | void CCNotePad::on_md5hash() |
no test coverage detected