码迷,mamicode.com
首页 >  
搜索关键字:qwidget    ( 603个结果
QT 网络编程
#include "networkinformation.h"#include "ui_networkinformation.h"networkinformation::networkinformation(QWidget *parent) : QWidget(parent), ui(n...
分类:其他好文   时间:2014-10-08 02:00:24    阅读次数:259
pyqt显示下拉内容
#-*-coding:cp936-*-fromPyQt4.QtCoreimport*fromPyQt4.QtGuiimport*classInlineEditor(QWidget):_MUTE='MUTE'def__init__(self,parent):QWidget.__init__(self,...
分类:其他好文   时间:2014-10-04 17:17:26    阅读次数:184
QT学习笔记_布局
布局大致分水平布局,竖直布局 ,网格布局等等。。 #include #include //布局 #include //滑块 #include //微调框 #include //标签 int main(int argc,char *argv[]) { QApplication app(argc,argv); QWidget *w=new QWidget; w->setWi...
分类:其他好文   时间:2014-09-26 23:24:28    阅读次数:301
QT5.3 杂记
Qt5下,QWidget系列从QtGui中被剥离出去,成为单独的QtWidget模块。随着Qt Quick2的引入,QtDeclarative也逐渐和QWidget系列也脱离关系。 最终:在Qt5下的GUI编程,有两套不同的东西 QtWidget (使用一个被称为 BackingStore 的东西)...
分类:其他好文   时间:2014-09-12 14:54:33    阅读次数:202
QT编程实现windows的运行windows+R
使用在windows下面的windows+R实现的运行程序 widget.h #ifndef WIDGET_H #define WIDGET_H #include #include namespace Ui { class Widget; } class Widget : public QWidget {     Q_OBJECT      public:   ...
分类:Windows程序   时间:2014-09-09 20:09:39    阅读次数:287
QLineEdit 信号小剖析
QLineEdit 类代表编程框,它可以让用户输入一个单行文本。 构造 QLineEdit 类支持以下构造函数:[plain]view plaincopyQLineEdit(QWidget*parent=0);QLineEdit(constQString&contents,QWid...
分类:其他好文   时间:2014-08-26 19:03:36    阅读次数:268
Qt 槽函数的使用
今天在代码中遇到这样一个问题,自己感觉槽和函数都写的没错,但是就是不执行槽函数,因为是一个定时器的使用,即定时时间到了就执行槽函数。 1 SeventhWizardPage::SeventhWizardPage(QWidget *parent) : 2 QWizardPage(parent)...
分类:其他好文   时间:2014-08-25 09:52:44    阅读次数:254
pyqt文字动画(由官方例子处学习)
#-*-coding:utf-8-*-#python:2.x__author__='Administrator'fromPyQt4.QtGuiimport*fromPyQt4.QtCoreimport*fromPyQt4.Qtimport*classWigglyWidget(QWidget):def...
分类:其他好文   时间:2014-08-24 17:53:42    阅读次数:787
MyWidget【简单自制控件】
#coding=gbkfromPyQt4importQtGui,QtCoreimportrandomclassMyWidget(QtGui.QWidget):def__init__(self,parent=None):ifparentisNone:self.app=QtGui.QApplicatio...
分类:其他好文   时间:2014-08-21 11:23:43    阅读次数:220
sy【QTableWidget】【操作单元格控件】
fromPyQt4importQtGui,QtCoreclassTest(QtGui.QWidget):def__init__(self,items,parent=None):self.app=QtGui.QApplication([])super(Test,self).__init__(paren...
分类:其他好文   时间:2014-08-21 11:12:03    阅读次数:214
603条   上一页 1 ... 54 55 56 57 58 ... 61 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!