从自定义堆叠小部件中实现拖动窗口小部件的最佳方法是什么?
QVBoxLayout* vBox = new QVBoxLayout();
QHBoxLayout* topBox = new QHBoxLayout();
QLabel* m_caption=new QLabel("Caption");
topBox->addWidget(m_caption);
vBox->addLayout(topBox, 0);
m_stacked_layout = new QStackedLayout();
QLabel* m_stubWidget = new QLabel("No widget in stack!!!");
m_stacked_layout->addWidget(m_stubWidget);
vBox->addLayout(m_stacked_layout, 1);