OpenCores
URL https://opencores.org/ocsvn/riscv_vhdl/riscv_vhdl/trunk

Subversion Repositories riscv_vhdl

[/] [riscv_vhdl/] [trunk/] [debugger/] [src/] [gui_plugin/] [PeriphWidgets/] [UartWidget.h] - Diff between revs 2 and 3

Show entire file | Details | Blame | View Log

Rev 2 Rev 3
Line 25... Line 25...
class UartWidget : public QWidget {
class UartWidget : public QWidget {
    Q_OBJECT
    Q_OBJECT
public:
public:
    UartWidget(IGui *igui, QWidget *parent);
    UartWidget(IGui *igui, QWidget *parent);
 
 
signals:
 
    void signalPostInit(AttributeType *cfg);
 
 
 
private slots:
 
    void slotPostInit(AttributeType *cfg);
 
 
 
private:
private:
    UartEditor *editor_;
    UartEditor *editor_;
};
};
 
 
class UartQMdiSubWindow : public QMdiSubWindow {
class UartQMdiSubWindow : public QMdiSubWindow {
Line 52... Line 46...
        QWidget *pnew = new UartWidget(igui, this);
        QWidget *pnew = new UartWidget(igui, this);
        setWindowIcon(QIcon(tr(":/images/serial_96x96.png")));
        setWindowIcon(QIcon(tr(":/images/serial_96x96.png")));
        if (act) {
        if (act) {
            act->setChecked(true);
            act->setChecked(true);
        }
        }
        connect(parent, SIGNAL(signalPostInit(AttributeType *)),
 
                pnew, SLOT(slotPostInit(AttributeType *)));
 
        setWidget(pnew);
        setWidget(pnew);
        area_->addSubWindow(this);
        area_->addSubWindow(this);
        show();
        show();
    }
    }
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.