examples/widgets/styles/widgetgallery.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    68     createBottomRightGroupBox();
    68     createBottomRightGroupBox();
    69     createProgressBar();
    69     createProgressBar();
    70 //! [0]
    70 //! [0]
    71 
    71 
    72 //! [1]
    72 //! [1]
    73     connect(styleComboBox, SIGNAL(activated(const QString &)),
    73     connect(styleComboBox, SIGNAL(activated(QString)),
    74 //! [1] //! [2]
    74 //! [1] //! [2]
    75             this, SLOT(changeStyle(const QString &)));
    75             this, SLOT(changeStyle(QString)));
    76     connect(useStylePaletteCheckBox, SIGNAL(toggled(bool)),
    76     connect(useStylePaletteCheckBox, SIGNAL(toggled(bool)),
    77             this, SLOT(changePalette()));
    77             this, SLOT(changePalette()));
    78     connect(disableWidgetsCheckBox, SIGNAL(toggled(bool)),
    78     connect(disableWidgetsCheckBox, SIGNAL(toggled(bool)),
    79             topLeftGroupBox, SLOT(setDisabled(bool)));
    79             topLeftGroupBox, SLOT(setDisabled(bool)));
    80     connect(disableWidgetsCheckBox, SIGNAL(toggled(bool)),
    80     connect(disableWidgetsCheckBox, SIGNAL(toggled(bool)),