프로그래밍

그림 넣으면 자동으로 gui 코드생성하는 AI 없냐?

 

 

스크린샷 2024-03-12 172811.png

대충 그림 넣으면 자동으로 GUI 코드 생성해주는 AI 없냐??

아 만들어야하는데 줜나 귀찮누.. 이거 개노가다 잖녀..

 

파이썬에서 개발할껀데 아직 어떤 API 쓸지는 안정했다..

 

자동생성만된다면 아무거나 사용할란다.

 

8개의 댓글

파이썬은 모르겠는데 리엑트는 있음 찾아보셈

 

0
2024.03.12
@히오스브론즈5티어

고마어~

0
2024.03.12

금방 만들거같은데 이정도면

0
ye
2024.03.12

파이썬에 선언형 UI 라이브러리 읍나

0
2024.03.12

https://www.youtube.com/watch?v=aaendvL3OEU

웹은 있는데 파이썬 코드로 딱 짜주는건 구하기 힘들듯

0
2024.03.12

코딩 애플인가 유튜브 영상에서 그림 그리면 css js 그려주는 서비스 소개해줬음

0
2024.03.12

Gpt 가 먼거 만들어 주는데? 움직이는지는 모름

import sys

from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QPushButton

 

class TestUI(QWidget):

def __init__(self):

super().__init__()

self.initUI()

 

def initUI(self):

# Overall layout

self.vbox = QVBoxLayout()

 

# Comport and bps

self.hbox_comport = QHBoxLayout()

self.label_comport = QLabel('Comport')

self.value_comport = QLabel('COM01')

self.hbox_comport.addWidget(self.label_comport)

self.hbox_comport.addWidget(self.value_comport)

 

self.hbox_bps = QHBoxLayout()

self.label_bps = QLabel('bps')

self.value_bps = QLabel('115200')

self.hbox_bps.addWidget(self.label_bps)

self.hbox_bps.addWidget(self.value_bps)

 

# Add to vbox

self.vbox.addLayout(self.hbox_comport)

self.vbox.addLayout(self.hbox_bps)

 

# Test buttons with status

self.test_buttons = {

'FLASH': QPushButton('FLASH'),

'BLE': QPushButton('BLE'),

'A121': QPushButton('A121'),

'ADC': QPushButton('ADC'),

'Wireless': QPushButton('Wireless'),

'WatchDog': QPushButton('WatchDog'),

'연속 테스트': QPushButton('연속 테스트'),

'연속 테스트 기능': QPushButton('연속 테스트 기능'),

}

 

# Initialize all buttons

for test, button in self.test_buttons.items():

self.vbox.addWidget(button)

button.clicked.connect(self.testClicked)

 

# Set the layout to the window

self.setLayout(self.vbox)

self.setGeometry(300, 300, 300, 200)

self.setWindowTitle('Test UI')

self.show()

 

def testClicked(self):

button = self.sender()

button_name = button.text()

# Logic to handle button click

# This is where you would add the test logic for each button

# For now, it will just print the button name

print(f'{button_name} Clicked!')

 

if __name__ == '__main__':

app = QApplication(sys.argv)

ex = TestUI()

sys.exit(app.exec_())

0
2024.03.12
@우투부

헐 ㅋzz 한번해볼게

0
무분별한 사용은 차단될 수 있습니다.
번호 제목 글쓴이 추천 수 날짜 조회 수
5719 [프로그래밍] 하이브리드 웹뷰기반 앱은 rn이 정석이야? 3 잠적자 0 18 시간 전 159
5718 [프로그래밍] c# webview2 도움요청함.. 7 carpediem 0 23 시간 전 116
5717 [프로그래밍] 현업 개발자형들 맥씀? 9 이또히로부미 0 1 일 전 209
5716 [프로그래밍] libtorch에서 cuda 안불러와지는거 도움! 2 Hakat 0 2 일 전 123
5715 [프로그래밍] 뭔가 게시판이 애매해서 그런데 gis 잘아는 사람? 1 하늘늑대 0 3 일 전 163
5714 [프로그래밍] 컴포즈가 프리뷰랑 폰에서 다르게 동작해요 1 집에가게해줘 0 3 일 전 118
5713 [프로그래밍] 난바보다) 크로미움 램사용량 문제 일단 해결 2 ye 0 4 일 전 282
5712 [프로그래밍] k8s DNS 이슈는 해결이 안되나보다. 잉텔 0 5 일 전 171
5711 [프로그래밍] 분노) 진짜 유튜브 구글 패악질 토나오네 씨발 17 ye 0 6 일 전 769
5710 [프로그래밍] 프론트엔드 공부하려는데 언어 추천좀 7 스트리플 0 7 일 전 350
5709 [프로그래밍] 객체지향 뽕에 취하지마라 8 69746974 2 8 일 전 407
5708 [프로그래밍] 요즘 앱개발 인력시장 어떰..3년차 2 센치해요 0 11 일 전 387
5707 [프로그래밍] 컴포즈 Box 컴포넌트가 안 나와... 1 집에가게해줘 0 13 일 전 148
5706 [프로그래밍] 아 ssl 적용햇는데 개정신없네 9 넌또화나있네 0 13 일 전 305
5705 [프로그래밍] 패스트 캠퍼스 <---- 얘내는 가격 인상 원툴임? 5 조강현 0 16 일 전 398
5704 [프로그래밍] 클라가 파이썬 셀레니움같은거 써서 클릭하고 그러는걸 감지 ... 5 리옴므 0 17 일 전 265
5703 [프로그래밍] leetcode 50일 달성 1 JimmyMcGill 1 17 일 전 237
5702 [프로그래밍] 그냥 개인공부용 git 만들건데 5 년째재수강 0 17 일 전 336
5701 [프로그래밍] html 자바스크립트 질문 19 책걸이 0 18 일 전 370
5700 [프로그래밍] 아니 시바 이게 무슨일이야 4 인간지표 0 18 일 전 380