Beispiel #1
0
void WebvfxFilter::on_editButton_clicked()
{
    ui->editButton->setDisabled(true);
    MAIN.editHTML(ui->fileLabel->toolTip());
    connect(MAIN.htmlEditor(), SIGNAL(closed()), SLOT(onHtmlClosed()));
    connect(MAIN.htmlEditor(), SIGNAL(saved()), SLOT(on_reloadButton_clicked()));
}
RSSWebViewDialog::RSSWebViewDialog(QWidget *parent) : QDialog(parent), mUI(new Ui::RSSWebViewDialog) {
    mUI->setupUi(this);
    mUI->horizontalLayout->setAlignment(Qt::AlignLeft);

    QShortcut *sShortcut = new QShortcut(QKeySequence("S"), this);
    QObject::connect(sShortcut, SIGNAL(activated()), this, SLOT(on_speedreadPushButton_clicked()));

    QShortcut *rShortcut = new QShortcut(QKeySequence("R"), this);
    QObject::connect(rShortcut, SIGNAL(activated()), this, SLOT(on_reloadButton_clicked()));
}