Notice
														
												
											
												
												
													Recent Posts
													
											
												
												
													Recent Comments
													
											
												
												
													Link
													
											
									| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | 
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | 
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | 
| 26 | 27 | 28 | 29 | 30 | 31 | 
													Tags
													
											
												
												- pandas
- 유니티
- ubuntu
- MS-SQL
- port
- Excel
- Unity
- ASP
- IOS
- Linux
- swift
- 리눅스
- mssql
- python
- PyQt5
- node.js
- PER
- 날짜
- MySQL
- GIT
- javascript
- PyQt
- 함수
- urllib
- 다이어트
- tensorflow
- sqlite
- 맛집
- 라즈베리파이
- flutter
													Archives
													
											
											
											
											아미(아름다운미소)
pyqt spinbox set value 본문
How can I set default values to QDoubleSpinBox
pyqt spinbox set value
from PyQt5.QtWidgets import *
from PyQt5 import uic
form_class = uic.loadUiType("test.ui")[0]
class test(QMainWindow, form_class):
    def __init__(self):
        super().__init__()
        self.setupUi(self)
        self.price1.setValue(4000)
if __name__ == "__main__":
    app = QApplication(sys.argv)
    testWindow = test()
    testWindow.show()
    app.exec_()
'랭귀지 > python' 카테고리의 다른 글
| pyQt5 QLineEdit 패스워드설정 (0) | 2018.11.16 | 
|---|---|
| python 숫자 출력에서 천(1000) 단위마다 콤마를 출력 (0) | 2018.11.15 | 
| 파이썬 스케줄러를 지속적으로 돌리기위한 방법{python threading} (0) | 2018.11.12 | 
| python round를 이용한 소수점 반올림 (0) | 2018.11.11 | 
| not all arguments converted during string formatting (0) | 2018.11.10 | 
			  Comments