Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Scollarea Not working
Qt 6.11 is out! See what's new in the release blog

Scollarea Not working

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 251 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    241ab9d3-3458-40e7-bb3f-62868cb37aca-image.png

    void setupUi(QWidget *QTScrollArea)
        {
            if (QTScrollArea->objectName().isEmpty())
                QTScrollArea->setObjectName(QString::fromUtf8("QTScrollArea"));
         
            QTScrollArea->resize(1327, 685);
            horizontalLayoutWidget = new QWidget(QTScrollArea);
            horizontalLayoutWidget->setObjectName(QString::fromUtf8("horizontalLayoutWidget"));
            horizontalLayoutWidget->setGeometry(QRect(0, 0, 1859, 201));
            horizontalLayout = new QHBoxLayout(horizontalLayoutWidget);
            horizontalLayout->setSpacing(6);
            horizontalLayout->setContentsMargins(11, 11, 11, 11);
            horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
            horizontalLayout->setContentsMargins(0, 0, 0, 0);
            pushButton_5 = new QPushButton(horizontalLayoutWidget);
            pushButton_5->setObjectName(QString::fromUtf8("pushButton_5"));
    
            horizontalLayout->addWidget(pushButton_5);
    
            pushButton_4 = new QPushButton(horizontalLayoutWidget);
            pushButton_4->setObjectName(QString::fromUtf8("pushButton_4"));
    
            horizontalLayout->addWidget(pushButton_4);
    
            pushButton_3 = new QPushButton(horizontalLayoutWidget);
            pushButton_3->setObjectName(QString::fromUtf8("pushButton_3"));
    
            horizontalLayout->addWidget(pushButton_3);
    
            pushButton_9 = new QPushButton(horizontalLayoutWidget);
            pushButton_9->setObjectName(QString::fromUtf8("pushButton_9"));
    
            horizontalLayout->addWidget(pushButton_9);
    
            pushButton_8 = new QPushButton(horizontalLayoutWidget);
            pushButton_8->setObjectName(QString::fromUtf8("pushButton_8"));
    
            horizontalLayout->addWidget(pushButton_8);
    
            pushButton_11 = new QPushButton(horizontalLayoutWidget);
            pushButton_11->setObjectName(QString::fromUtf8("pushButton_11"));
    
            horizontalLayout->addWidget(pushButton_11);
    
            pushButton_10 = new QPushButton(horizontalLayoutWidget);
            pushButton_10->setObjectName(QString::fromUtf8("pushButton_10"));
    
            horizontalLayout->addWidget(pushButton_10);
    
            pushButton_7 = new QPushButton(horizontalLayoutWidget);
            pushButton_7->setObjectName(QString::fromUtf8("pushButton_7"));
    
            horizontalLayout->addWidget(pushButton_7);
    
            pushButton_21 = new QPushButton(horizontalLayoutWidget);
            pushButton_21->setObjectName(QString::fromUtf8("pushButton_21"));
    
            horizontalLayout->addWidget(pushButton_21);
    
            pushButton_22 = new QPushButton(horizontalLayoutWidget);
            pushButton_22->setObjectName(QString::fromUtf8("pushButton_22"));
    
            horizontalLayout->addWidget(pushButton_22);
    
            pushButton_23 = new QPushButton(horizontalLayoutWidget);
            pushButton_23->setObjectName(QString::fromUtf8("pushButton_23"));
    
            horizontalLayout->addWidget(pushButton_23);
    
            pushButton_18 = new QPushButton(horizontalLayoutWidget);
            pushButton_18->setObjectName(QString::fromUtf8("pushButton_18"));
    
            horizontalLayout->addWidget(pushButton_18);
    
            pushButton_19 = new QPushButton(horizontalLayoutWidget);
            pushButton_19->setObjectName(QString::fromUtf8("pushButton_19"));
    
            horizontalLayout->addWidget(pushButton_19);
    
            pushButton_20 = new QPushButton(horizontalLayoutWidget);
            pushButton_20->setObjectName(QString::fromUtf8("pushButton_20"));
    
            horizontalLayout->addWidget(pushButton_20);
    
            pushButton_6 = new QPushButton(horizontalLayoutWidget);
            pushButton_6->setObjectName(QString::fromUtf8("pushButton_6"));
    
            horizontalLayout->addWidget(pushButton_6);
    
            pushButton_2 = new QPushButton(horizontalLayoutWidget);
            pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
    
            horizontalLayout->addWidget(pushButton_2);
    
            pushButton_12 = new QPushButton(horizontalLayoutWidget);
            pushButton_12->setObjectName(QString::fromUtf8("pushButton_12"));
    
            horizontalLayout->addWidget(pushButton_12);
    
            pushButton_13 = new QPushButton(horizontalLayoutWidget);
            pushButton_13->setObjectName(QString::fromUtf8("pushButton_13"));
    
            horizontalLayout->addWidget(pushButton_13);
    
            pushButton_14 = new QPushButton(horizontalLayoutWidget);
            pushButton_14->setObjectName(QString::fromUtf8("pushButton_14"));
    
            horizontalLayout->addWidget(pushButton_14);
    
            pushButton = new QPushButton(horizontalLayoutWidget);
            pushButton->setObjectName(QString::fromUtf8("pushButton"));
    
            horizontalLayout->addWidget(pushButton);
    
            pushButton_16 = new QPushButton(horizontalLayoutWidget);
            pushButton_16->setObjectName(QString::fromUtf8("pushButton_16"));
    
            horizontalLayout->addWidget(pushButton_16);
    
            pushButton_15 = new QPushButton(horizontalLayoutWidget);
            pushButton_15->setObjectName(QString::fromUtf8("pushButton_15"));
    
            horizontalLayout->addWidget(pushButton_15);
    
            pushButton_17 = new QPushButton(horizontalLayoutWidget);
            pushButton_17->setObjectName(QString::fromUtf8("pushButton_17"));
    
            horizontalLayout->addWidget(pushButton_17);
    
            scrollArea = new QScrollArea(QTScrollArea);
            scrollArea->setObjectName(QString::fromUtf8("scrollArea"));
            scrollArea->setGeometry(QRect(140, 210, 921, 291));
            scrollArea->setWidgetResizable(true);
            scrollAreaWidgetContents = new QWidget();
            scrollAreaWidgetContents->setObjectName(QString::fromUtf8("scrollAreaWidgetContents"));
            scrollAreaWidgetContents->setGeometry(QRect(0, 0, 919, 289));
            verticalLayoutWidget = new QWidget(scrollAreaWidgetContents);
            verticalLayoutWidget->setObjectName(QString::fromUtf8("verticalLayoutWidget"));
            verticalLayoutWidget->setGeometry(QRect(0, 130, 1292, 25));
            horizontalLayout_2 = new QHBoxLayout(verticalLayoutWidget);
            horizontalLayout_2->setSpacing(6);
            horizontalLayout_2->setContentsMargins(11, 11, 11, 11);
            horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
            horizontalLayout_2->setContentsMargins(0, 0, 0, 0);
            pushButton_35 = new QPushButton(verticalLayoutWidget);
            pushButton_35->setObjectName(QString::fromUtf8("pushButton_35"));
    
            horizontalLayout_2->addWidget(pushButton_35);
    
            pushButton_31 = new QPushButton(verticalLayoutWidget);
            pushButton_31->setObjectName(QString::fromUtf8("pushButton_31"));
    
            horizontalLayout_2->addWidget(pushButton_31);
    
            pushButton_27 = new QPushButton(verticalLayoutWidget);
            pushButton_27->setObjectName(QString::fromUtf8("pushButton_27"));
    
            horizontalLayout_2->addWidget(pushButton_27);
    
            pushButton_37 = new QPushButton(verticalLayoutWidget);
            pushButton_37->setObjectName(QString::fromUtf8("pushButton_37"));
    
            horizontalLayout_2->addWidget(pushButton_37);
    
            pushButton_29 = new QPushButton(verticalLayoutWidget);
            pushButton_29->setObjectName(QString::fromUtf8("pushButton_29"));
    
            horizontalLayout_2->addWidget(pushButton_29);
    
            pushButton_39 = new QPushButton(verticalLayoutWidget);
            pushButton_39->setObjectName(QString::fromUtf8("pushButton_39"));
    
            horizontalLayout_2->addWidget(pushButton_39);
    
            pushButton_38 = new QPushButton(verticalLayoutWidget);
            pushButton_38->setObjectName(QString::fromUtf8("pushButton_38"));
    
            horizontalLayout_2->addWidget(pushButton_38);
    
            pushButton_36 = new QPushButton(verticalLayoutWidget);
            pushButton_36->setObjectName(QString::fromUtf8("pushButton_36"));
    
            horizontalLayout_2->addWidget(pushButton_36);
    
            pushButton_25 = new QPushButton(verticalLayoutWidget);
            pushButton_25->setObjectName(QString::fromUtf8("pushButton_25"));
    
            horizontalLayout_2->addWidget(pushButton_25);
    
            pushButton_32 = new QPushButton(verticalLayoutWidget);
            pushButton_32->setObjectName(QString::fromUtf8("pushButton_32"));
    
            horizontalLayout_2->addWidget(pushButton_32);
    
            pushButton_26 = new QPushButton(verticalLayoutWidget);
            pushButton_26->setObjectName(QString::fromUtf8("pushButton_26"));
    
            horizontalLayout_2->addWidget(pushButton_26);
    
            pushButton_28 = new QPushButton(verticalLayoutWidget);
            pushButton_28->setObjectName(QString::fromUtf8("pushButton_28"));
    
            horizontalLayout_2->addWidget(pushButton_28);
    
            pushButton_30 = new QPushButton(verticalLayoutWidget);
            pushButton_30->setObjectName(QString::fromUtf8("pushButton_30"));
    
            horizontalLayout_2->addWidget(pushButton_30);
    
            pushButton_33 = new QPushButton(verticalLayoutWidget);
            pushButton_33->setObjectName(QString::fromUtf8("pushButton_33"));
    
            horizontalLayout_2->addWidget(pushButton_33);
    
            pushButton_24 = new QPushButton(verticalLayoutWidget);
            pushButton_24->setObjectName(QString::fromUtf8("pushButton_24"));
    
            horizontalLayout_2->addWidget(pushButton_24);
    
            pushButton_34 = new QPushButton(verticalLayoutWidget);
            pushButton_34->setObjectName(QString::fromUtf8("pushButton_34"));
    
            horizontalLayout_2->addWidget(pushButton_34);
    
            verticalLayoutWidget_2 = new QWidget(scrollAreaWidgetContents);
            verticalLayoutWidget_2->setObjectName(QString::fromUtf8("verticalLayoutWidget_2"));
            verticalLayoutWidget_2->setGeometry(QRect(0, 170, 1292, 25));
            horizontalLayout_3 = new QHBoxLayout(verticalLayoutWidget_2);
            horizontalLayout_3->setSpacing(6);
            horizontalLayout_3->setContentsMargins(11, 11, 11, 11);
            horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
            horizontalLayout_3->setContentsMargins(0, 0, 0, 0);
            pushButton_40 = new QPushButton(verticalLayoutWidget_2);
            pushButton_40->setObjectName(QString::fromUtf8("pushButton_40"));
    
            horizontalLayout_3->addWidget(pushButton_40);
    
            pushButton_41 = new QPushButton(verticalLayoutWidget_2);
            pushButton_41->setObjectName(QString::fromUtf8("pushButton_41"));
    
            horizontalLayout_3->addWidget(pushButton_41);
    
            pushButton_42 = new QPushButton(verticalLayoutWidget_2);
            pushButton_42->setObjectName(QString::fromUtf8("pushButton_42"));
    
            horizontalLayout_3->addWidget(pushButton_42);
    
            pushButton_43 = new QPushButton(verticalLayoutWidget_2);
            pushButton_43->setObjectName(QString::fromUtf8("pushButton_43"));
    
            horizontalLayout_3->addWidget(pushButton_43);
    
            pushButton_44 = new QPushButton(verticalLayoutWidget_2);
            pushButton_44->setObjectName(QString::fromUtf8("pushButton_44"));
    
            horizontalLayout_3->addWidget(pushButton_44);
    
            pushButton_45 = new QPushButton(verticalLayoutWidget_2);
            pushButton_45->setObjectName(QString::fromUtf8("pushButton_45"));
    
            horizontalLayout_3->addWidget(pushButton_45);
    
            pushButton_46 = new QPushButton(verticalLayoutWidget_2);
            pushButton_46->setObjectName(QString::fromUtf8("pushButton_46"));
    
            horizontalLayout_3->addWidget(pushButton_46);
    
            pushButton_47 = new QPushButton(verticalLayoutWidget_2);
            pushButton_47->setObjectName(QString::fromUtf8("pushButton_47"));
    
            horizontalLayout_3->addWidget(pushButton_47);
    
            pushButton_48 = new QPushButton(verticalLayoutWidget_2);
            pushButton_48->setObjectName(QString::fromUtf8("pushButton_48"));
    
            horizontalLayout_3->addWidget(pushButton_48);
    
            pushButton_49 = new QPushButton(verticalLayoutWidget_2);
            pushButton_49->setObjectName(QString::fromUtf8("pushButton_49"));
    
            horizontalLayout_3->addWidget(pushButton_49);
    
            pushButton_50 = new QPushButton(verticalLayoutWidget_2);
            pushButton_50->setObjectName(QString::fromUtf8("pushButton_50"));
    
            horizontalLayout_3->addWidget(pushButton_50);
    
            pushButton_51 = new QPushButton(verticalLayoutWidget_2);
            pushButton_51->setObjectName(QString::fromUtf8("pushButton_51"));
    
            horizontalLayout_3->addWidget(pushButton_51);
    
            pushButton_52 = new QPushButton(verticalLayoutWidget_2);
            pushButton_52->setObjectName(QString::fromUtf8("pushButton_52"));
    
            horizontalLayout_3->addWidget(pushButton_52);
    
            pushButton_53 = new QPushButton(verticalLayoutWidget_2);
            pushButton_53->setObjectName(QString::fromUtf8("pushButton_53"));
    
            horizontalLayout_3->addWidget(pushButton_53);
    
            pushButton_54 = new QPushButton(verticalLayoutWidget_2);
            pushButton_54->setObjectName(QString::fromUtf8("pushButton_54"));
    
            horizontalLayout_3->addWidget(pushButton_54);
    
            pushButton_55 = new QPushButton(verticalLayoutWidget_2);
            pushButton_55->setObjectName(QString::fromUtf8("pushButton_55"));
    
            horizontalLayout_3->addWidget(pushButton_55);
    
            scrollArea->setWidget(scrollAreaWidgetContents);
    
            retranslateUi(QTScrollArea);
    
            QMetaObject::connectSlotsByName(QTScrollArea);
        }
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved