src/mainwindow.cpp

changeset 79
5fe2dd4e161a
parent 48
3c10f0e2fbe0
child 94
164f53fb5921
equal deleted inserted replaced
78:97c3ce5aa498 79:5fe2dd4e161a
41 41
42 static constexpr MemberData<Ui_MainWindow, QAction*, gl::RenderStyle> renderStyleButtons[] = { 42 static constexpr MemberData<Ui_MainWindow, QAction*, gl::RenderStyle> renderStyleButtons[] = {
43 { offsetof(Ui_MainWindow, actionRenderStyleNormal), gl::RenderStyle::Normal }, 43 { offsetof(Ui_MainWindow, actionRenderStyleNormal), gl::RenderStyle::Normal },
44 { offsetof(Ui_MainWindow, actionRenderStyleBfc), gl::RenderStyle::BfcRedGreen }, 44 { offsetof(Ui_MainWindow, actionRenderStyleBfc), gl::RenderStyle::BfcRedGreen },
45 { offsetof(Ui_MainWindow, actionRenderStyleRandom), gl::RenderStyle::RandomColors }, 45 { offsetof(Ui_MainWindow, actionRenderStyleRandom), gl::RenderStyle::RandomColors },
46 { offsetof(Ui_MainWindow, actionRenderStylePickScene), gl::RenderStyle::PickScene },
46 }; 47 };
47 48
48 class A : public QSettings 49 class A : public QSettings
49 { 50 {
50 using QSettings::QSettings; 51 using QSettings::QSettings;

mercurial