interfaz
Last change
on this file since 1ed7764 was
25a5325,
checked in by lhernandez <lhernandez@…>, 8 years ago
|
Realizada mejora de la interfaz(grid), agragada funcionalidad para la creacion de llaves (privada y publica) se guardar en un directorio kyes del proyecto, agragada funcionalidad para el cifrado de un texto plano (por ahora esta comentado, para realizar la interfaz) y agragada funcionalidad para descifrar el archivo a partir de un data.dat cifrado
|
-
Property mode set to
100644
|
File size:
784 bytes
|
Rev | Line | |
---|
[c7b52e9] | 1 | #ifndef ITES_H |
---|
| 2 | #define ITES_H |
---|
| 3 | |
---|
| 4 | #include <QAbstractItemModel> |
---|
| 5 | |
---|
| 6 | class ites : public QAbstractItemModel |
---|
| 7 | { |
---|
| 8 | Q_OBJECT |
---|
| 9 | |
---|
| 10 | public: |
---|
| 11 | explicit ites(QObject *parent = 0); |
---|
| 12 | |
---|
| 13 | // Header: |
---|
| 14 | QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override; |
---|
| 15 | |
---|
| 16 | // Basic functionality: |
---|
| 17 | QModelIndex index(int row, int column, |
---|
| 18 | const QModelIndex &parent = QModelIndex()) const override; |
---|
| 19 | QModelIndex parent(const QModelIndex &index) const override; |
---|
| 20 | |
---|
| 21 | int rowCount(const QModelIndex &parent = QModelIndex()) const override; |
---|
| 22 | int columnCount(const QModelIndex &parent = QModelIndex()) const override; |
---|
| 23 | |
---|
| 24 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; |
---|
| 25 | |
---|
| 26 | private: |
---|
| 27 | }; |
---|
| 28 | |
---|
| 29 | #endif // ITES_H |
---|
Note: See
TracBrowser
for help on using the repository browser.