Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpurcell committed Dec 1, 2024
1 parent 9261436 commit 31b3969
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
qtVersion: '6.8.0'
buildArch: 'Universal'
skipPlugins: 'true'
osSuffix: '-680'
- runner: 'macos-14'
qtVersion: '6.8.1'
buildArch: 'Universal'
skipPlugins: 'true'
osSuffix: '-681'
# - runner: 'macos-13'
# qtVersion: '5.15.2'
# osSuffix: '_legacy'
Expand Down
24 changes: 0 additions & 24 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,8 @@
class MainWindow : public QMainWindow {
public:
MainWindow(QWidget *parent = nullptr) : QMainWindow{parent} {
a.setText("A");
b.setText("B");
c.setText("C");
d.setText("D");
a.setChecked(true);
c.setChecked(true);
mainLayout.addWidget(&a);
mainLayout.addWidget(&b);
scrollLayout.addWidget(&c);
scrollLayout.addWidget(&d);
scrollWidget.setLayout(&scrollLayout);
scrollArea.setWidget(&scrollWidget);
mainLayout.addWidget(&scrollArea);
central.setLayout(&mainLayout);
setCentralWidget(&central);
};
private:
QRadioButton a;
QRadioButton b;
QRadioButton c;
QRadioButton d;
QWidget central;
QVBoxLayout mainLayout;
QScrollArea scrollArea;
QWidget scrollWidget;
QVBoxLayout scrollLayout;
};

int main(int argc, char *argv[]) {
Expand Down

0 comments on commit 31b3969

Please sign in to comment.