void KinotifyWidget::PrepareNotification () { CreateWidget (); DefaultSize_ = SetData (); SetWidgetPlace (); ShowNotification (); }
void KinotifyWidget::showEvent (QShowEvent*) { DefaultSize_ = page ()->mainFrame ()->contentsSize (); resize (DefaultSize_); SetWidgetPlace (); }