# qt-tutorial **Repository Path**: tonymiao/qt-tutorial ## Basic Information - **Project Name**: qt-tutorial - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-18 - **Last Updated**: 2025-04-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # QT 使用教程 主要介绍在 GO 语言中使用 QT5 的一些基本用法。 ## 示例目录 - [x] [空窗口](./empty_window) - [x] [窗口显示在屏幕中心](./empty_window) - [x] [按钮](./button) - [x] [关闭窗口](./close_window) - [x] [修改关闭窗口默认事件](./close_window_button_event) - [x] [显示组件提示语](./tip) - [x] [布局-绝对位置定位](./layout_absolute_position) - [x] [布局-横向布局](./layout_hbox_layout) - [x] [布局-纵向布局](./layout_vbox_layout) - [x] [布局-纵向布局与横向布局组合](./layout_vbox_and_hbox_layout) - [x] [布局-网格布局](./layout_grid_layout) - [x] [布局-网格布局-评论示例](./layout_grid_layout_comment) - [x] [状态栏](./statusbar) - [x] [菜单栏](./menubar) - [x] [工具栏](./toolbar) - [x] [工具栏和状态栏综合](./toolbar_and_statusbar) - [x] [信号槽](./signal_slot) - [x] [自定义按键事件处理器](./custom_key_press_event) - [ ] [发出信号与接收信号](./widget_sender_receiver) - [x] [发出信号与接收信号2](./widget_sender_receiver2) - [x] [自定义Signal信号封装](./gosignal) - [x] [自定义Signal信号示例](./custom_signal) - [x] [鼠标移动发出信号](./custom_signal_mouse_move_event) - [x] [输入对话框QInputDialog](./input_dialog) - [x] [密码输入对话框QInputDialog](./password_input_dialog) - [x] [颜色对话框QColorDialog](./color_dialog) - [x] [字体对话框QFontDialog](./font_dialog) - [x] [文件对话框QFileDialog](./file_dialog) - [x] [文件对话框QFileDialog-目录](./file_dialog_by_dir) - [x] [复选框控件QCheckBox](./check_box) - [x] [下拉列表QComboBox](./combo_box) - [x] [开关按钮ToggleButton](./toggle_button) - [x] [滑动条QSlider](./slider) - [x] [进度条QProgressBar](./progress_bar) - [x] [日历控件QCalendarWidget](./calendar_widget) - [x] [图像显示设计QPixmap](./pixmap) - [x] [文本框QLineEdit](./line_edit) - [x] [分割窗口QSplitter](./splitter) - [x] [简单拖拽Drag](./simple_drag) - [x] [拖拽按钮Drag](./simple_drag_button) - [x] [绘画QPainter-绘制文本1](./painter_text1) - [x] [绘画QPainter-绘制文本2](./painter_text2) - [x] [绘画QPainter-绘制矩形包围文本](./painter_text3) - [x] [绘画QPainter-绘制换行文本](./painter_text4) - [x] [绘画QPainter-绘制矩形包围换行文本](./painter_text5) - [x] [绘画QPainter-绘图点DrawPoint](./painter_draw_point) - [x] [绘画QPainter-颜色QColor](./painter_color) - [x] [绘画QPainter-画笔QPen](./painter_pen) - [x] [Qt与面向对象开发](./qt_oop_struct) - [ ] [加载UI文件QUiLoader](./ui_loader) ## 相关文档 - [交叉编译文档](./docs/交叉编译文档.md) - [goqtuic工具](./docs/goqtuic工具.md) - [Qt环境安装](./docs/Qt环境安装.md) ## 参考文档 - [环境搭建文档](https://github.com/therecipe/qt/wiki/Installation-on-Linux) - [QT5官方文档](https://doc.qt.io/qt-5/qinputdialog.html) - [GO与QT5开发库](https://github.com/therecipe/qt) - [GO与QT5开发库示例](https://github.com/therecipe/examples) - [Golang中使用Qt库(therecipe/qt)+QtDesigner + Goland (一) 环境搭建](https://blog.csdn.net/halo_hsuh/article/details/106818987)