"Fossies" - the Fresh Open Source Software Archive

Member "mathmod-branches-r508-trunk/ui_modules/selectoptions.h" (8 Mar 2021, 2581 Bytes) of package /linux/misc/mathmod-11.0-source.zip:


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 "selectoptions.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 10.1_vs_11.0.

    1 /***************************************************************************
    2  *   Copyright (C) 2021 by Abderrahman Taha                                *
    3  *                                                                         *
    4  *                                                                         *
    5  *   This program is free software; you can redistribute it and/or modify  *
    6  *   it under the terms of the GNU General Public License as published by  *
    7  *   the Free Software Foundation; either version 2 of the License, or     *
    8  *   (at your option) any later version.                                   *
    9  *                                                                         *
   10  *   This program is distributed in the hope that it will be useful,       *
   11  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
   12  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
   13  *   GNU General Public License for more details.                          *
   14  *                                                                         *
   15  *   You should have received a copy of the GNU General Public License     *
   16  *   along with this program; if not, write to the                         *
   17  *   Free Software Foundation, Inc.,                                       *
   18  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
   19  ***************************************************************************/
   20 
   21 #ifndef SELECTOPTIONS_H
   22 #define SELECTOPTIONS_H
   23 
   24 #include "ui_selectoptions.h"
   25 
   26 struct SelectedListOptions
   27 {
   28     QStringList selectedwords;
   29     QList<bool> namelist;
   30     QList<bool> functlist;
   31     QList<bool> cmpnamelist;
   32     QList<bool> complist;
   33     bool sensitive;
   34     bool showall;
   35     bool AND;
   36     bool parsenames;
   37     bool parsecmpnames;
   38     bool parsefunctions;
   39     QStringList fieldnames;
   40 };
   41 
   42 class SelectOptions : public QWidget
   43 {
   44     Q_OBJECT
   45 public:
   46     SelectedListOptions selectedoptions;
   47 
   48 public:
   49     SelectOptions(QWidget *parent = nullptr);
   50 
   51 public:
   52     Ui::SelectOptions ui;
   53 private slots:
   54     void on_addpushButton_clicked();
   55     void on_CutpushButton_clicked();
   56     void on_ShowAllcheckBox_clicked(bool checked);
   57     void on_CaseSensitiveCheckBox_clicked(bool checked);
   58     void on_AND_clicked(bool checked);
   59 
   60     void on_radioButton_clicked(bool checked);
   61 
   62     void on_FunctcheckBox_clicked(bool checked);
   63 
   64     void on_NamescheckBox_clicked(bool checked);
   65 
   66     void on_CompcheckBox_clicked(bool checked);
   67 
   68 signals:
   69     void UpdateSignal();
   70 public slots:
   71     void emitUpdateSignal();
   72 };
   73 
   74 
   75 #endif