How i can set position X Y exact 10 px down from start event button?
or from last mouse position?
class Gui_Date
: public QWidget,
public Ui
::Gui_Date.......
Gui_Date::Gui_Date( QWidget* parent
) {
Qt::WindowFlags flags = 0;
flags = Qt::Popup;
setWindowFlags(flags);
setupUi( this );
connect( datePicker,
SIGNAL( dateChanged
(QDate) ),
this,
SLOT( Updatedate
(QDate) ) );
}
class Gui_Date : public QWidget, public Ui::Gui_Date
.......
Gui_Date::Gui_Date( QWidget* parent )
: QWidget( parent )
{
Qt::WindowFlags flags = 0;
flags = Qt::Popup;
setWindowFlags(flags);
setupUi( this );
connect( datePicker, SIGNAL( dateChanged(QDate) ), this, SLOT( Updatedate(QDate) ) );
}
To copy to clipboard, switch view to plain text mode
Bookmarks