WinMain_Menu::WinMain_Menu(QWidget *parent) : QWidget(parent) , p_musicListButton(NULL), p_voiceButton(NULL), p_playSequnceButton(NULL) , p_closeButton(NULL), p_nextButton(NULL), p_preButton(NULL), p_stopButton(NULL) , p_imageWidget(NULL), p_wordWidget(NULL), p_soundSpectrum(NULL), p_listWidget(NULL) , p_songInfoLabel(NULL), p_groupButton(NULL), p_titleLayout(NULL) , p_bottomLayout(NULL), p_mainLayout(NULL), p_stackWidget(NULL) { initialization(); windowLayout(); setMyStyleSheet(); loadImage(); }
/// /// /// \param parent /// Window::Window(QWidget *parent) : QWidget(parent) { createSpinBoxes(); createDateTimeEdits(); createDoubleSpinBoxes(); setMyStyleSheet(); QHBoxLayout *layout = new QHBoxLayout; layout->addWidget(spinBoxesGroup); layout->addWidget(editsGroup); layout->addWidget(doubleSpinBoxesGroup); this->setLayout(layout); this->setWindowTitle(tr("Spin Boxes")); this->setFixedSize(sizeHint()); }