How i can set position X Y exact 10 px down from start event button?
or from last mouse position?


Qt Code:
  1. class Gui_Date : public QWidget, public Ui::Gui_Date
  2. .......
  3. Gui_Date::Gui_Date( QWidget* parent )
  4. : QWidget( parent )
  5. {
  6. Qt::WindowFlags flags = 0;
  7. flags = Qt::Popup;
  8. setWindowFlags(flags);
  9. setupUi( this );
  10. connect( datePicker, SIGNAL( dateChanged(QDate) ), this, SLOT( Updatedate(QDate) ) );
  11. }
To copy to clipboard, switch view to plain text mode