Refactor LiveScreenWidget, implement HouseArrest , fix bugs

- Introduced ScreenshotrThread to manage screenshot capturing in a separate thread.
- Updated LiveScreenWidget to utilize the new thread for capturing screenshots.
- Removed unused timer and related code for periodic screenshot updates.
- Enhanced error handling and initialization logic for screenshot service.
- Updated ServiceManager to include methods for taking screenshots and enabling developer mode.
- Refactored various methods in ServiceManager to accept optional parameters for AFC client handling.
- Improved error handling in VirtualLocation for setting device location.
- Enhanced ZLoadingWidget to support multiple content states using QStackedWidget.
- Cleaned up code and comments across multiple files for better readability and maintainability.
This commit is contained in:
uncor3
2026-01-15 02:06:11 +00:00
parent 2a71f011d9
commit ac81ee087c
25 changed files with 901 additions and 791 deletions
+2 -3
View File
@@ -79,9 +79,8 @@ void ToolboxWidget::setupUI()
m_scrollArea = new QScrollArea();
m_scrollArea->setWidgetResizable(true);
m_scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
m_scrollArea->setStyleSheet(
"QScrollArea { background: transparent; border: none; }");
m_scrollArea->viewport()->setStyleSheet("background: transparent;");
m_scrollArea->setFrameStyle(QFrame::NoFrame);
m_scrollArea->viewport()->setAutoFillBackground(false);
m_contentWidget = new QWidget();
QVBoxLayout *contentLayout = new QVBoxLayout(m_contentWidget);