File indexing completed on 2024-04-28 04:32:02
0001 /* 0002 * Copyright (C) 2010-2015 by Stephen Allewell 0003 * steve.allewell@gmail.com 0004 * 0005 * This program is free software; you can redistribute it and/or modify 0006 * it under the terms of the GNU General Public License as published by 0007 * the Free Software Foundation; either version 2 of the License, or 0008 * (at your option) any later version. 0009 */ 0010 0011 #ifndef LibraryPatternPropertiesDlg_H 0012 #define LibraryPatternPropertiesDlg_H 0013 0014 #include <QDialog> 0015 0016 #include "ui_LibraryPatternProperties.h" 0017 0018 class QHideEvent; 0019 class QShowEvent; 0020 0021 class LibraryPatternPropertiesDlg : public QDialog 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 LibraryPatternPropertiesDlg(QWidget *, qint32, Qt::KeyboardModifiers, qint16, const QString &, int, int, const QIcon &); 0027 virtual ~LibraryPatternPropertiesDlg() = default; 0028 0029 qint32 key() const; 0030 Qt::KeyboardModifiers modifiers() const; 0031 qint16 baseline() const; 0032 0033 protected: 0034 virtual void hideEvent(QHideEvent *) Q_DECL_OVERRIDE; 0035 virtual void showEvent(QShowEvent *) Q_DECL_OVERRIDE; 0036 0037 private slots: 0038 void on_DialogButtonBox_accepted(); 0039 void on_DialogButtonBox_rejected(); 0040 void on_DialogButtonBox_helpRequested(); 0041 0042 private: 0043 Ui::LibraryPatternProperties ui; 0044 }; 0045 0046 #endif // LibraryPatternPropertiesDlg_H