- 博客(0)
- 资源 (5)
- 收藏
- 关注
建立连接程序
QPushButton *button = new QPushButton("Quit");
QObject::connect(button,SIGNAL(clicked()),
&app;,SLOT(quit()));
button->show();
2012-02-03
qt 窗口布局程序
QObject::connect(spinBox, SIGNAL(valueChanged(int)),
slider, SLOT(setValue(int)));
QObject::connect(slider, SIGNAL(valueChanged(int)),
spinBox, SLOT(setValue(int)));
spinBox->setValue(35);
QHBoxLayout *layout = new QHBoxLayout;
layout->addWidget(spinBox);
layout->addWidget(slider);
2012-02-03
qt pianter
qt creator
#include <QPainter>
#include "widget.h"
#include "ui_widget.h"
Widget::Widget(QWidget *parent) :
QWidget(parent),
ui(new Ui::Widget)
{
ui->setupUi(this);
bmp=new QPixmap("../painter/image/Winter.jpg");
}
void Widget::paintEvent(QPaintEvent *)
{
QPixmap temp = bmp->copy();//复制Bmp图像
QPainter painter(&temp;);
QPen pen; //画笔
pen.setColor(QColor(255,0,0));
2012-02-03
被测试程序改进
改进建议,先这么多,随着版本进行,再进行优化
1. 软件安装操作优化,精简,尽量易操作,方便用户。
2. 界面改观(重点)
界面风格参照美国软件吧,详细描述太罗嗦。希望不局限于此,有超越最好。
3. 软件运行流程
软件开机运行后,如果没有人工设置工作参数,会读取配置文件中关机之前设置的工作参数和系统参数,然后自动按此设置运行。如果第一次运行该软件,则需要手动配置工作参数,以
2012-01-31
qt-creator说明书.pdf
1. Introduction
Qt Creator is a complete integrated development environment (IDE) for creating applications
with the Qt application framework. Qt is designed for developing applications and
user interfaces once and deploying them across several desktop and mobile operating
systems.
The main inspirations for Qt Creator have been the development needs of Qt developers, looking
for simplicity, usability, productivity, extendibility and openness, while aiming to lower the barrier
of entry for newcomers to Qt. The key features of Qt Creator aid the application developer in
the following ways:
• Quick and easy start of Qt application development with a project wizard, and quick access
to recent projects and sessions.
2011-11-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人