上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 87 下一页

2015年4月18日

摘要: In the following example, we will demonstrate how to drag & drop a button widget.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorialIn t... 阅读全文
posted @ 2015-04-18 10:26 帅胡 阅读(763) 评论(0) 推荐(0) 编辑
摘要: In computer graphical user interfaces, drag-and-drop is the action of (or support for the action of) clicking on a virtual object and dragging it to a... 阅读全文
posted @ 2015-04-18 10:23 帅胡 阅读(489) 评论(0) 推荐(0) 编辑

2015年4月17日

摘要: TheQtGui.QComboBoxis a widget that allows a user to choose from a list of options.#!/usr/bin/python# -*- coding: utf-8 -*-"""ZetCode PyQt4 tutorial Th... 阅读全文
posted @ 2015-04-17 20:13 帅胡 阅读(579) 评论(0) 推荐(0) 编辑
摘要: AQtGui.QSplitterlets the user control the size of child widgets by dragging the boundary between the children. In our example, we show threeQtGui.QFra... 阅读全文
posted @ 2015-04-17 20:12 帅胡 阅读(701) 评论(0) 推荐(0) 编辑
摘要: AQtGui.QLineEditis a widget that allows to enter and edit a single line of plain text. There are undo and redo, cut and paste, and drag & drop functio... 阅读全文
posted @ 2015-04-17 20:11 帅胡 阅读(671) 评论(0) 推荐(0) 编辑
摘要: AQtGui.QPixmapis one of the widgets used to work with images. It is optimized for showing images on screen. In our code example, we will use theQtGui.... 阅读全文
posted @ 2015-04-17 20:09 帅胡 阅读(1528) 评论(0) 推荐(0) 编辑
摘要: AQtGui.QCalendarWidgetprovides a monthly based calendar widget. It allows a user to select a date in a simple and intuitive way.#!/usr/bin/python# -*-... 阅读全文
posted @ 2015-04-17 19:06 帅胡 阅读(1051) 评论(0) 推荐(0) 编辑
摘要: A progress bar is a widget that is used when we process lengthy tasks. It is animated so that the user knows that the task is progressing. TheQtGui.QP... 阅读全文
posted @ 2015-04-17 19:05 帅胡 阅读(516) 评论(0) 推荐(0) 编辑
摘要: AQtGui.QSlideris a widget that has a simple handle. This handle can be pulled back and forth. This way we are choosing a value for a specific task. So... 阅读全文
posted @ 2015-04-17 19:03 帅胡 阅读(709) 评论(0) 推荐(0) 编辑
摘要: A toggle button is aQtGui.QPushButtonin a special mode. It is a button that has two states: pressed and not pressed. We toggle between these two state... 阅读全文
posted @ 2015-04-17 19:01 帅胡 阅读(446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 73 74 75 76 77 78 79 80 81 ··· 87 下一页

导航