C++ (Qt)QDialog *dialog=new QDialog();QGraphicsDropShadowEffect *effect=new QGraphicsDropShadowEffect();dialog->setGraphicsEffect(effect);dialog->show();