view ui/listupdatedialog.h @ 247:4de97f74d038

Check for process elevation and write into system store accordingly
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 31 Mar 2014 08:02:46 +0000
parents 3ebebd055d3a
children 06089ba2614a
line wrap: on
line source
#ifndef LISTUPDATEDIALOG_H
#define LISTUPDATEDIALOG_H

#include "certificatelist.h"
#include <QDialog>
#include <QMainWindow>
#include <QTextEdit>
#include <QListWidgetItem>
/**
 * @file listupdatedialog.h
 * @brief The dialog for certificate selection.
 */

class QListWidget;

class ListUpdateDialog : public QDialog
{
    Q_OBJECT
public:
    /** @brief Create a list update dialog for the listToInstall */
    ListUpdateDialog(QMainWindow *parent, const CertificateList &listToInstall);

private:
    CertificateList mCertificateList;
    void setupGUI();

    QListWidget *mCertListWidget;
    QTextEdit *mDetailWidget;

private slots:
    void executeUpdate();
    void showDetails(QListWidgetItem*);
};

#endif // LISTUPDATEDIALOG_H

http://wald.intevation.org/projects/trustbridge/