Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85472

API中没有重载函数,但实际用时有重载函数

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.14.1
    • Build tools: qmake
    • None
    • Windows

    Description

      QSpinBox *spin = new QSpinBox(this);

      QSlider *slider = new QSlider(Qt::Horizontal, this); 

       QHBoxLayout *hlayout = new QHBoxLayout(this);

      hlayout->addWidget(spin); hlayout->addWidget(slider); 

      connect(spin, &QSpinBox::valueChanged, slider, &QSlider::setValue);

      Attachments

        1. question.png
          question.png
          82 kB
        2. screenshot-1.png
          screenshot-1.png
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            jzx 紫旭 贾
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes