pv/widgets/colourbutton.h
pv/widgets/colourpopup.h
pv/widgets/decodermenu.h
+ pv/widgets/popup.h
pv/widgets/popuptoolbutton.h
pv/widgets/wellarray.h
)
move(_point + o);
}
+void Popup::closeEvent(QCloseEvent*)
+{
+ closed();
+}
+
void Popup::paintEvent(QPaintEvent*)
{
QPainter painter(this);
class Popup : public QWidget
{
+ Q_OBJECT
+
public:
enum Position
{
void reposition_widget();
+private:
+ void closeEvent(QCloseEvent*);
+
void paintEvent(QPaintEvent*);
void resizeEvent(QResizeEvent*);
protected:
void showEvent(QShowEvent *e);
+signals:
+ void closed();
+
private:
QPoint _point;
Position _pos;
${PROJECT_SOURCE_DIR}/pv/widgets/colourbutton.h
${PROJECT_SOURCE_DIR}/pv/widgets/colourpopup.h
${PROJECT_SOURCE_DIR}/pv/widgets/decodermenu.h
+ ${PROJECT_SOURCE_DIR}/pv/widgets/popup.h
${PROJECT_SOURCE_DIR}/pv/widgets/wellarray.h
)