Changeset 35bdadc in terepaima for terepaima-0.4.16/sources/mainwindow.h


Ignore:
Timestamp:
Dec 5, 2017, 1:56:16 PM (7 years ago)
Author:
pbuitrago@…>
Branches:
stretch
Children:
9840ac5
Parents:
1487f05
Message:

Se agregaron las librerias necesarias para la gestion de dispositivos criptograficos y se modifico mainwindow.cpp y mainwindow.h para la gestion de los dispositivos criptograficos

File:
1 edited

Legend:

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

    r1487f05 r35bdadc  
    3535#include <QListWidget>
    3636#include <QStandardItemModel>
     37
     38//__________________________________
     39#include <QHBoxLayout>
     40#include <QVBoxLayout>
     41#include <QLabel>
     42#include <QLineEdit>
     43#include <QPushButton>
     44#include <QDialog>
     45#include "cryptotoken.h"
     46//__________________________________
    3747
    3848#endif // WITH_DBUS
     
    90100    void startSearch(const QString& text);
    91101
     102    //void on_gestionar_PIN();
     103
     104    //void closeDialog(QDialog *ventana);
     105
    92106protected slots:
    93107
     
    256270
    257271    void on_saveDatabase_timeout();
    258 
     272//_______________________________________________________________________________________________
    259273    void on_verify_signature();
    260274    void on_signature();
    261     void on_windowSelecctionCertificate();
     275    void on_windowCertificate();
     276    void on_selectCertificate();
     277
     278    void on_managePIN();
     279    void on_windowPIN(int x);
     280    void on_currentChanged_selection();
     281    void on_close_windowCertificate();
     282    void on_close_windowPIN();
    262283    //QString verify_signature();
    263284    //QStringList verify_signature();
    264285    QStandardItemModel* verify_signature();
    265286    QStandardItemModel* view_table_verify_signature();
     287    //QList<QStringList> certificateInformationListN;
     288//_______________________________________________________________________________________________
    266289
    267290protected:
     
    452475
    453476    QDockWidget* createDock(const QString& text, const QString& objectName, const QKeySequence& toggleViewShortcut);
    454     QListWidget* prueba;
     477
    455478
    456479
     
    468491    SearchableMenu* m_bookmarksMenu;
    469492    QMenu* m_helpMenu;
     493
     494    //_______________________________________________________________________
     495
    470496    QMenu* m_security;
    471497    QAction* m_signature;
    472 
     498    QDialog* m_pin;
     499    QHBoxLayout* m_layoutContrasenia;
     500    QHBoxLayout* m_layoutBotones;
     501    QVBoxLayout* m_layoutPrincipal;
     502    QVBoxLayout* m_layoutmesage;
     503    QLabel* m_mesage;
     504    QLabel* m_etiquetaContrasenia;
     505    QLineEdit* m_campoContrasenia;
     506    QPushButton* m_botonAceptar;
     507    QPushButton* m_botonCancelar;
     508
     509    QDialog* m_certificate;
     510    QHBoxLayout* m_layoutmensaje;
     511    QHBoxLayout* m_ClayoutBotones;
     512    QHBoxLayout* m_layoutTableView;
     513    QVBoxLayout* m_ClayoutPrincipal;
     514
     515    QLabel* m_mensaje;
     516
     517    QTableView* m_listCertificate;
     518    QStandardItemModel* m_model;
     519
     520    QPushButton* m_CbotonAceptar;
     521    QPushButton* m_CbotonCancelar;
     522    CryptoToken* m_nct;
     523    int certSelect; //indice del certificado seleccionado
     524    QList<QStringList> certificateInformationListN;
     525    QString close_windowCertificate;
     526    QString close_PIN;
     527
     528    //_______________________________________________________________________
    473529    bool m_bookmarksMenuIsDirty;
    474530
Note: See TracChangeset for help on using the changeset viewer.