Changeset 9840ac5 in terepaima for terepaima-0.4.16/sources


Ignore:
Timestamp:
Dec 6, 2017, 11:56:33 AM (6 years ago)
Author:
pbuitrago@…>
Branches:
stretch
Children:
63dadfc
Parents:
35bdadc
Message:

se bloqueo el boton aceptar de la venta donde se muestra los certificado disponible para firmar, el boton se activa cuando el usuario selecciona el certificado

Location:
terepaima-0.4.16/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • terepaima-0.4.16/sources/mainwindow.cpp

    r35bdadc r9840ac5  
    40974097
    40984098        m_CbotonAceptar = new QPushButton("Aceptar");
    4099         //m_CbotonAceptar->setDisabled(true);
     4099        m_CbotonAceptar->setDisabled(true);
    41004100        m_CbotonCancelar = new QPushButton("Cancelar");
    41014101
     
    41164116        connect(m_CbotonCancelar, SIGNAL(clicked()),this,SLOT(on_close_windowCertificate()));
    41174117        connect(m_CbotonAceptar, SIGNAL(clicked()),this,SLOT(on_selectCertificate()));
     4118        connect(m_listCertificate, SIGNAL(clicked(QModelIndex)),this,SLOT(on_activateButtonCertificate()));
    41184119        m_certificate->exec();
    41194120
     
    41394140}
    41404141
     4142void MainWindow::on_activateButtonCertificate() {
     4143    qDebug("*** on_activateButtonCertificate ***");
     4144    m_CbotonAceptar->setDisabled(false);
     4145}
     4146
    41414147void MainWindow::on_close_windowCertificate() {
    41424148    qDebug("** on_close_windowCertificate() **");
  • terepaima-0.4.16/sources/mainwindow.h

    r35bdadc r9840ac5  
    275275    void on_windowCertificate();
    276276    void on_selectCertificate();
     277    void on_activateButtonCertificate();
    277278
    278279    void on_managePIN();
Note: See TracChangeset for help on using the changeset viewer.