MuseScore  3.4
Music composition and notation
help.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2015 Werner Schweer
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __HELP_H__
14 #define __HELP_H__
15 
16 namespace Ms {
17 
18 class HelpEngine;
19 
20 //---------------------------------------------------------
21 // HelpQuery
22 //---------------------------------------------------------
23 
24 class HelpQuery : public QWidgetAction {
25  Q_OBJECT
26 
27  QWidget* w;
28  QLineEdit* entry;
29  QList<QAction*> actions;
30  QSignalMapper* mapper;
31 
32  bool emptyState;
33 
34  private slots:
35  void textChanged(const QString&);
36  void actionTriggered(QObject*);
37  void returnPressed();
38 
39  public slots:
40  void setFocus();
41 
42  public:
43  HelpQuery(QWidget* parent);
44  };
45 
46 
47 } // end namespace Ms
48 
49 
50 #endif
QLineEdit * entry
Definition: help.h:28
Definition: help.h:24
QList< QAction * > actions
Definition: help.h:29
HelpQuery(QWidget *parent)
Definition: help.cpp:24
void returnPressed()
Definition: help.cpp:132
QWidget * w
Definition: help.h:27
Definition: aeolus.cpp:26
void actionTriggered(QObject *)
Definition: help.cpp:115
void textChanged(const QString &)
Definition: help.cpp:68
QSignalMapper * mapper
Definition: help.h:30
bool emptyState
Definition: help.h:32
void setFocus()
Definition: help.cpp:58