"Fossies" - the Fresh Open Source Software Archive

Member "cb2bib-2.0.1/src/c2bCitePatternLineEedit.h" (12 Feb 2021, 1053 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 "c2bCitePatternLineEedit.h" see the Fossies "Dox" file reference documentation.

    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 C2BCITEPATTERNLINEEEDIT_H
    8 #define C2BCITEPATTERNLINEEEDIT_H
    9 
   10 #include "c2bLineEdit.h"
   11 
   12 class QAction;
   13 
   14 
   15 class c2bCitePatternLineEedit : public c2bLineEdit
   16 {
   17 
   18     Q_OBJECT
   19 
   20 public:
   21     explicit c2bCitePatternLineEedit(QWidget* parentw = 0);
   22     ~c2bCitePatternLineEedit();
   23 
   24 
   25 signals:
   26     void statusMessage(const QString& ms);
   27 
   28 
   29 protected:
   30     QAction* a_citeid;
   31     QAction* a_citeids_comma;
   32     QAction* a_citeids_semicolon;
   33     QAction* a_latex;
   34     QAction* a_markdown;
   35 
   36 
   37 protected slots:
   38     void check(const QString& pattern);
   39     void citeid();
   40     void citeids_comma();
   41     void citeids_semicolon();
   42     void latex();
   43     void markdown();
   44 
   45 
   46 private:
   47     QRegExp _citeids;
   48 };
   49 
   50 #endif