控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # ///////////////////////////////////////////////////////////////
  2. #
  3. # BY: WANDERSON M.PIMENTA
  4. # PROJECT MADE WITH: Qt Designer and PySide6
  5. # V: 1.0.0
  6. #
  7. # This project can be used freely for all uses, as long as they maintain the
  8. # respective credits only in the Python scripts, any information in the visual
  9. # interface (GUI) can be modified without any implication.
  10. #
  11. # There are limitations on Qt licenses if you want to use your products
  12. # commercially, I recommend reading them on the official website:
  13. # https://doc.qt.io/qtforpython/licenses.html
  14. #
  15. # ///////////////////////////////////////////////////////////////
  16. # MAIN FILE
  17. # ///////////////////////////////////////////////////////////////
  18. from main import *
  19. # WITH ACCESS TO MAIN WINDOW WIDGETS
  20. # ///////////////////////////////////////////////////////////////
  21. class AppFunctions(MainWindow):
  22. def setThemeHack(self):
  23. Settings.BTN_LEFT_BOX_COLOR = "background-color: #495474;"
  24. Settings.BTN_RIGHT_BOX_COLOR = "background-color: #495474;"
  25. Settings.MENU_SELECTED_STYLESHEET = MENU_SELECTED_STYLESHEET = """
  26. border-left: 22px solid qlineargradient(spread:pad, x1:0.034, y1:0, x2:0.216, y2:0, stop:0.499 rgba(255, 121, 198, 255), stop:0.5 rgba(85, 170, 255, 0));
  27. background-color: #566388;
  28. """
  29. # 设置UI颜色
  30. self.ui.lineEdit.setStyleSheet("background-color: #6272a4;")
  31. self.ui.createFile.setStyleSheet("background-color: #6272a4;")
  32. self.ui.download_1.setStyleSheet("background-color: #6272a4;")
  33. self.ui.download_2.setStyleSheet("background-color: #6272a4;")
  34. self.ui.download_3.setStyleSheet("background-color: #6272a4;")
  35. self.ui.export_2.setStyleSheet("background-color: #6272a4;")
  36. self.ui.lineEdit_2.setStyleSheet("background-color: #6272a4;")
  37. self.ui.search.setStyleSheet("background-color: #6272a4;")
  38. self.ui.compute.setStyleSheet("background-color: #6272a4;")
  39. # self.ui.plainTextEdit.setStyleSheet("background-color: #6272a4;")
  40. # self.ui.tableWidget_4.setStyleSheet("QScrollBar:vertical { background: #6272a4; } QScrollBar:horizontal { background: #6272a4; }")
  41. # self.ui.scrollArea.setStyleSheet("QScrollBar:vertical { background: #6272a4; } QScrollBar:horizontal { background: #6272a4; }")
  42. self.ui.comboBox.setStyleSheet("background-color: #6272a4;")
  43. self.ui.comboBox_2.setStyleSheet("background-color: #6272a4;")
  44. self.ui.comboBox_3.setStyleSheet("background-color: #6272a4;")
  45. self.ui.comboBox_4.setStyleSheet("background-color: #6272a4;")
  46. # self.ui.horizontalScrollBar.setStyleSheet("background-color: #6272a4;")
  47. # self.ui.verticalScrollBar.setStyleSheet("background-color: #6272a4;")
  48. # self.ui.commandLinkButton.setStyleSheet("color: #ff79c6;")