* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef PULSEVIEW_PV_WIDGETS_POPUP_H
-#define PULSEVIEW_PV_WIDGETS_POPUP_H
+#ifndef PULSEVIEW_PV_WIDGETS_POPUP_HPP
+#define PULSEVIEW_PV_WIDGETS_POPUP_HPP
#include <QWidget>
void set_position(const QPoint point, Position pos);
- bool eventFilter(QObject *obj, QEvent *evt);
+ bool eventFilter(QObject *obj, QEvent *event);
- void show();
+ virtual void show();
private:
bool space_for_arrow() const;
void resizeEvent(QResizeEvent*);
- void mouseReleaseEvent(QMouseEvent *e);
+ void mouseReleaseEvent(QMouseEvent *event);
protected:
- void showEvent(QShowEvent *e);
+ void showEvent(QShowEvent *);
Q_SIGNALS:
void closed();
} // namespace widgets
} // namespace pv
-#endif // PULSEVIEW_PV_WIDGETS_POPUP_H
+#endif // PULSEVIEW_PV_WIDGETS_POPUP_HPP