Advertisement
stevennathaniel

PyQt6 : QTableView - Source Code Dasar yg Berhasil Jalan

Mar 25th, 2021
755
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1. import sys
  2.  
  3. from PyQt6 import QtSql, QtWidgets, QtCore, QtGui
  4.  
  5. from PyQt6.QtSql import *
  6.  
  7. from PyQt6.QtCore import Qt
  8.  
  9. from PyQt6.QtCore import *
  10.  
  11. from PyQt6.QtGui import *
  12.  
  13. from PyQt6.QtWidgets import QApplication, QWidget, QMessageBox, QPushButton
  14.  
  15. from PyQt6.QtWidgets import *
  16.  
  17.  
  18. aplikasi = QApplication(sys.argv)
  19.  
  20. aplikasi.setStyle('Fusion')
  21.  
  22. tampilanTabel = QTableView()
  23.  
  24. tampilanTabel.show()
  25.  
  26. aplikasi.exec()
  27.  
  28.  
  29. # source code QTableView yg berhasil di jalankan
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement