Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src.gui.styles.qstyleoption.cpp

//! [0]
        int MyStyle::styleHint(StyleHint stylehint, const QStyleOption *opt,
                               const QWidget *widget, QStyleHintReturn* returnData) const;
        {
            if (stylehint == SH_RubberBand_Mask) {
                const QStyleHintReturnMask *maskReturn =
                        qstyleoption_cast<const QStyleHintReturnMask *>(hint);
                if (maskReturn) {
                    ...
                }
            }
            ...
        }
//! [0]



Generated by  Doxygen 1.6.0   Back to index