"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bSearchInFiles.h" (12 Feb 2021, 1305 Bytes) of package /linux/privat/cb2bib-2.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "c2bSearchInFiles.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.0.0_vs_2.0.1.

    1 /***************************************************************************
    2  *   Copyright (C) 2004-2021 by Pere Constans
    3  *   constans@molspaces.com
    4  *   cb2Bib version 2.0.1. Licensed under the GNU GPL version 3.
    5  *   See the LICENSE file that comes with this distribution.
    6  ***************************************************************************/
    7 #ifndef C2BSEARCHINFILES_H
    8 #define C2BSEARCHINFILES_H
    9 
   10 #include "ui_c2bSearchInFiles.h"
   11 #include "ui_c2bSearchInFilesPatternEdit.h"
   12 
   13 #include <QDialog>
   14 
   15 
   16 class bibSearcher;
   17 
   18 class c2bSearchInFiles : public QDialog
   19 {
   20 
   21     Q_OBJECT
   22 
   23 public:
   24     explicit c2bSearchInFiles(const QString& file, QWidget* parentw = 0);
   25     ~c2bSearchInFiles();
   26 
   27     void setCurrentText(const QString& text);
   28 
   29 
   30 public slots:
   31     void setBibTeXFile(const QString& file = QString());
   32     void show();
   33 
   34 
   35 signals:
   36     void searchDone(const QString& filename, bibSearcher* searcher);
   37 
   38 
   39 private slots:
   40     void help();
   41     void on_addPatternB_clicked();
   42     void on_deletePatternB_clicked();
   43     void on_editPatternB_clicked();
   44     void searchB_clicked();
   45     void updateForm();
   46 
   47 
   48 private:
   49     QPushButton* _searchB;
   50     QString _bibtex_dir;
   51     QString _bibtex_file;
   52     QString _search_log;
   53     Ui::c2bSearchInFiles ui;
   54     Ui::c2bSearchInFilesPatternEdit ui_editor;
   55 };
   56 
   57 #endif