You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
773 B

#include "desktop2.h"
#include "ui_desktop2.h"
#include <QDebug>
#include <QDate>
#include "music/music.h"
desktop2::desktop2(QWidget *parent) :
QWidget(parent),
ui(new Ui::desktop2)
{
ui->setupUi(this);
QDate date = QDate::currentDate();
ui->label_16->setText(date.toString("yyyy年MM月dd日 dddd"));
}
desktop2::~desktop2()
{
delete ui;
}
/*music*/
void desktop2::on_pushButton_6_clicked()
{
emit music_ready(true);
qDebug()<<"music";
}
/*相机*/
void desktop2::on_pushButton_4_clicked()
{
emit cam_ready(true);
qDebug()<<"camera";
}
void desktop2::on_pushButton_5_clicked()
{
emit set_ready(true);
qDebug()<<"set";
}
void desktop2::on_pushButton_8_clicked()
{
emit album_ready(true);
qDebug()<<"album";
}