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 |
Tags
- Unity
- 날짜
- swift
- pandas
- MS-SQL
- 라즈베리파이
- flutter
- PER
- MySQL
- Linux
- 맛집
- Excel
- sqlite
- python
- port
- ubuntu
- IOS
- GIT
- mssql
- urllib
- tensorflow
- PyQt5
- 함수
- 유니티
- 리눅스
- javascript
- ASP
- 다이어트
- PyQt
- node.js
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