c2bCollectionIndex.h 966 Bytes
Newer Older
1
/***************************************************************************
2
 *   Copyright (C) 2004-2018 by Pere Constans
3
 *   constans@molspaces.com
4
 *   cb2Bib version 1.9.9. Licensed under the GNU GPL version 3.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
 *   See the LICENSE file that comes with this distribution.
 ***************************************************************************/
#ifndef C2BCOLLECTIONINDEX_H
#define C2BCOLLECTIONINDEX_H

#include "ui_c2bLogWidget.h"

#include <QDialog>
#include <QProcess>


class c2bCollectionIndex : public QDialog
{

    Q_OBJECT

public:
22
    explicit c2bCollectionIndex(QWidget* parentw = 0);
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
    ~c2bCollectionIndex();

    void index();


private slots:
    void aborted();
    void addToLog();
    void help();
    void indexingEnded(int exit_code, QProcess::ExitStatus exit_status);
    void reject();


private:
    QProcess* _indexerP;
    QPushButton* _buttonAbort;
    Ui::c2bLogWidget ui;
    void closeEvent(QCloseEvent* qevent);

};

#endif