]> sigrok.org Git - pulseview.git/blobdiff - pv/widgets/popup.hpp
Update property widgets before showing device config popup
[pulseview.git] / pv / widgets / popup.hpp
index c6f931f69c1496141154198c57ee1087ece36be6..66f7f06f5d87192a2ea77cbafee44af21cec294c 100644 (file)
@@ -14,8 +14,7 @@
  * 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_HPP
@@ -52,9 +51,9 @@ public:
 
        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;
@@ -78,10 +77,10 @@ private:
 
        void resizeEvent(QResizeEvent*);
 
-       void mouseReleaseEvent(QMouseEvent *e);
+       void mouseReleaseEvent(QMouseEvent *event);
 
 protected:
-       void showEvent(QShowEvent *e);
+       void showEvent(QShowEvent *);
 
 Q_SIGNALS:
        void closed();