view ui/administratorwindow.h @ 345:fe86c45755d8

Add another hint for nss include lookup. On Ubuntu nspr is installed in it's own subdirectory
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Apr 2014 11:11:27 +0200
parents 4454a4dc73a3
children 9ba7b4b4c1de
line wrap: on
line source
#ifndef ADMINSTRATORWINDOW_H
#define ADMINSTRATORWINDOW_H

/**
 * @file administratorwindow.h
 * @brief Administrator UI controller
 */

#include <QMainWindow>
#include <QSettings>
#include <QMenuBar>
#include <QTableView>
#include <QPushButton>

#include "certificatelist.h"
#include "certificatetablemodel.h"

class QMenu;
class QAction;

class AdministratorWindow : public QMainWindow
{
    Q_OBJECT

public:
    AdministratorWindow();

private slots:
    void createInstaller();
    void showSettings();
    void showHelp();
    void showAbout();
    void loadCertificateFile();

private:
    void createActions();
    void createMenuBar();
    void createContent();
    void loadCertificateTable();

    QSettings settings;

    QMenuBar *menuBar;

    QTableView *certificateView;
    CertificateList certList;
    CertificateTabelModel *certificateModel;
    QPushButton *saveButton;
    QPushButton *loadButton;
    QPushButton *addButton;
    QPushButton *removeButton;
};

#endif // ADMINSTRATORWINDOW_H

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