Changeset View
Changeset View
Standalone View
Standalone View
src/bugzillaintegration/reportassistantdialog.cpp
Show First 20 Lines • Show All 158 Lines • ▼ Show 20 Line(s) | 48 | { | |||
---|---|---|---|---|---|
159 | addPage(m_backtracePage); | 159 | addPage(m_backtracePage); | ||
160 | addPage(m_conclusionsPage); | 160 | addPage(m_conclusionsPage); | ||
161 | addPage(m_bugzillaLoginPage); | 161 | addPage(m_bugzillaLoginPage); | ||
162 | addPage(m_bugzillaDuplicatesPage); | 162 | addPage(m_bugzillaDuplicatesPage); | ||
163 | addPage(m_bugzillaInformationPage); | 163 | addPage(m_bugzillaInformationPage); | ||
164 | addPage(m_bugzillaPreviewPage); | 164 | addPage(m_bugzillaPreviewPage); | ||
165 | addPage(m_bugzillaSendPage); | 165 | addPage(m_bugzillaSendPage); | ||
166 | 166 | | |||
167 | setMinimumSize(QSize(600, 400)); | 167 | // Force a 16:9 ratio for nice appearance by default. | ||
168 | resize(minimumSize()); | 168 | QSize aspect(16, 9); | ||
169 | aspect.scale(sizeHint(), Qt::KeepAspectRatioByExpanding); | ||||
170 | resize(aspect); | ||||
169 | } | 171 | } | ||
170 | 172 | | |||
171 | ReportAssistantDialog::~ReportAssistantDialog() | 173 | ReportAssistantDialog::~ReportAssistantDialog() | ||
172 | { | 174 | { | ||
173 | } | 175 | } | ||
174 | 176 | | |||
175 | void ReportAssistantDialog::connectSignals(ReportAssistantPage * page) | 177 | void ReportAssistantDialog::connectSignals(ReportAssistantPage * page) | ||
176 | { | 178 | { | ||
▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines |