QT - HowardWhile/2023_note GitHub Wiki

QT

C++ qt

在ubunut QT使用时,报错说No suitable kits can be found

https://blog.csdn.net/lantianjialiang/article/details/127403686

Python qt

關於事件綁定

Python使用Qt Designer快速拉好使用者介面並讓它活起來

https://medium.com/bucketing/weekday-1-%E7%95%B6qt-%E5%AD%B8%E6%9C%83py-9472af78ccce

https://stackoverflow.com/questions/64643034/how-to-add-functions-to-qt-buttons-from-ui-file

https://doc.qt.io/qtforpython/tutorials/basictutorial/uifiles.html

QT UI的產生有兩種方法

  • ui file: 使用QtCreator 或 QtDesigner經由GUI介面拖拉修改完成
  • Qt LIB: 使用Qt 內建的各種元件類別做宣告、初始化、給予客製化參數

不透過敲打指令Qt LIB而是用介面拖拉出來的ui file(.ui)檔,綁定事件可以這樣做