~ubuntu-branches/ubuntu/utopic/youker-assistant/utopic-proposed

« back to all changes in this revision

Viewing changes to src/fcitxwarndialog.cpp

  • Committer: Package Import Robot
  • Author(s): Kobe Lee (kylinkobe)
  • Date: 2013-09-18 16:22:14 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130918162214-6nqyjyf3cd3ynqky
Tags: 0.2.1-0ubuntu1
* Modify the mouse events of MonitorBall.
* Add reset button for clear pages.
* Add policykit for apt clear in sudodbus.
* Fixed the bug about software status and add masklayer.
* Rewrite the code of system information.
* Add some signals and slots.
* Fixed the bug about Software signals(LP: #1226389).
* Modify KThread and add base.py.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    ui->btn_min->installEventFilter(this);
17
17
    ui->btn_close->setStyleSheet("border-image:url(:/pixmap/image/closeBtn.png)");
18
18
    ui->btn_min->setStyleSheet("border-image:url(:/pixmap/image/minBtn.png)");
 
19
    ui->displaylabel->setText("您确定退出输入法配置向导?");
 
20
    ui->okButton->setStyleSheet("QPushButton {border-image:url(:/pixmap/image/ok.png);}"
 
21
                "QPushButton:hover{border-image:url(:/pixmap/image/ok-hover.png);}");
 
22
    ui->closeButton->setStyleSheet("QPushButton {border-image:url(:/pixmap/image/quit.png);}"
 
23
                "QPushButton:hover{border-image:url(:/pixmap/image/quit-hover.png);}");
 
24
 
19
25
    QObject::connect(ui->closeButton,SIGNAL(clicked()),this,SLOT(accept()));
20
26
 
21
27
}
71
77
void FcitxWarnDialog::on_okButton_clicked()
72
78
{
73
79
    emit fcitxWarntest();
74
 
    qDebug()<<"emit fcitxWarn";
 
80
  //  qDebug()<<"emit fcitxWarn";
75
81
    accept();
76
82
}