프로그래밍

그림 넣으면 자동으로 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
무분별한 사용은 차단될 수 있습니다.
번호 제목 글쓴이 추천 수 날짜 조회 수
5691 [프로그래밍] 공통코드테이블은 대체 왜 만드냐 9 잠적자 0 1 일 전 306
5690 [프로그래밍] 토이프로젝트 주제 선정 2 개드립눈팅1세대 0 1 일 전 167
5689 [프로그래밍] 엥 구글 플러터 유기각 재는거임?? 4 최수연 0 3 일 전 294
5688 [프로그래밍] 반도체 장비 업계인 있음? 9 캡틴띠모 0 4 일 전 260
5687 [프로그래밍] 안드로이드 책 추천좀 6 집에가게해줘 0 4 일 전 149
5686 [프로그래밍] 폰 스크리닝 해 본 사람 있어? 3 무지개빛푸딩 0 5 일 전 374
5685 [프로그래밍] jsp 트리메뉴 만들고있는데 구상한게가능한지 의견좀물어볼께 11 평택국 0 5 일 전 153
5684 [프로그래밍] JPA 도와줘어억 ㅠ 10 모그리또 0 6 일 전 243
5683 [프로그래밍] 의사는 뽑는 인원 제한하는데 부캠은 왜 제한 안 할까 5 조강현 0 7 일 전 364
5682 [프로그래밍] 그 혹시 게임쪽 종사자 있음? 17 god79ii 0 11 일 전 624
5681 [프로그래밍] 코린이 ㅅㅂ 뭐가 문젠지 모르겠어요 9 집에가게해줘 0 12 일 전 442
5680 [프로그래밍] Dear Imgui 라고 아시나요? 2 년째모쏠 0 12 일 전 244
5679 [프로그래밍] 현업개발자분들 주말엔 편하게 쉴수있나요? 10 키로 0 12 일 전 862
5678 [프로그래밍] 무엇이든 물어보세요. 28 변현제 0 15 일 전 410
5677 [프로그래밍] 개발자보단 엔지니어가 취업이 잘됨 5 iillillill 2 16 일 전 734
5676 [프로그래밍] 프론트엔드 개발자 연봉 1억 넘는 사람 있어? 13 잠적자 0 16 일 전 635
5675 [프로그래밍] Exiftool 이거 일본어 못 읽는데 13 부터시작하는이세... 0 17 일 전 234
5674 [프로그래밍] 반응형 웹페이지가 내가상상한거랑 좀 다르네 4 평택국 0 18 일 전 450
5673 [프로그래밍] 고졸 FE개발자 연봉, 상황에 조언좀.. 19 쾅꿍꿍 0 19 일 전 605
5672 [프로그래밍] 물경력들 보면 책임을 이해못하는것같음 5 mils 1 19 일 전 417