~bstrong-f/fisysmgr/trunk

« back to all changes in this revision

Viewing changes to main/include/optchkbox.h

  • Committer: Barry Strong
  • Date: 2015-05-10 13:05:49 UTC
  • Revision ID: barry@softtechok.com-20150510130549-xlbzzt5slojawh70
Replaced password dialog with credentials dialog. Added minimal about box. Added change mout option value dialog. modified to compile with Qt4 or Qt5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#define OPTCHKBOX_H
19
19
 
20
20
#include <QCheckBox>
 
21
#include <QContextMenuEvent>
21
22
 
22
23
enum    ParamType {pnone, pint, pitm, poct, pstr};
23
24
 
36
37
        void setParameter(QString prm);
37
38
        void setMinValue(int val);
38
39
        void setMaxValue(int val);
39
 
        void AddValue(QString val);
 
40
        void addValue(QString val);
 
41
        void contextMenuEvent(QContextMenuEvent * event);
40
42
 
41
43
    private:
42
44
        int         minVal;
46
48
        QStringList values;
47
49
 
48
50
    signals:
 
51
        void rightClicked(OptChkBox *chkBox);
49
52
 
50
53
    public slots:
51
54