equal
deleted
inserted
replaced
167 |
167 |
168 alphaChannelGroup = new QActionGroup(this); |
168 alphaChannelGroup = new QActionGroup(this); |
169 alphaChannelGroup->addAction(alphaChannelPressureAction); |
169 alphaChannelGroup->addAction(alphaChannelPressureAction); |
170 alphaChannelGroup->addAction(alphaChannelTiltAction); |
170 alphaChannelGroup->addAction(alphaChannelTiltAction); |
171 alphaChannelGroup->addAction(noAlphaChannelAction); |
171 alphaChannelGroup->addAction(noAlphaChannelAction); |
172 connect(alphaChannelGroup, SIGNAL(triggered(QAction *)), |
172 connect(alphaChannelGroup, SIGNAL(triggered(QAction*)), |
173 this, SLOT(alphaActionTriggered(QAction *))); |
173 this, SLOT(alphaActionTriggered(QAction*))); |
174 |
174 |
175 //! [9] |
175 //! [9] |
176 colorSaturationVTiltAction = new QAction(tr("&Vertical Tilt"), this); |
176 colorSaturationVTiltAction = new QAction(tr("&Vertical Tilt"), this); |
177 colorSaturationVTiltAction->setCheckable(true); |
177 colorSaturationVTiltAction->setCheckable(true); |
178 |
178 |
189 colorSaturationGroup = new QActionGroup(this); |
189 colorSaturationGroup = new QActionGroup(this); |
190 colorSaturationGroup->addAction(colorSaturationVTiltAction); |
190 colorSaturationGroup->addAction(colorSaturationVTiltAction); |
191 colorSaturationGroup->addAction(colorSaturationHTiltAction); |
191 colorSaturationGroup->addAction(colorSaturationHTiltAction); |
192 colorSaturationGroup->addAction(colorSaturationPressureAction); |
192 colorSaturationGroup->addAction(colorSaturationPressureAction); |
193 colorSaturationGroup->addAction(noColorSaturationAction); |
193 colorSaturationGroup->addAction(noColorSaturationAction); |
194 connect(colorSaturationGroup, SIGNAL(triggered(QAction *)), |
194 connect(colorSaturationGroup, SIGNAL(triggered(QAction*)), |
195 this, SLOT(saturationActionTriggered(QAction *))); |
195 this, SLOT(saturationActionTriggered(QAction*))); |
196 |
196 |
197 lineWidthPressureAction = new QAction(tr("&Pressure"), this); |
197 lineWidthPressureAction = new QAction(tr("&Pressure"), this); |
198 lineWidthPressureAction->setCheckable(true); |
198 lineWidthPressureAction->setCheckable(true); |
199 lineWidthPressureAction->setChecked(true); |
199 lineWidthPressureAction->setChecked(true); |
200 |
200 |
206 |
206 |
207 lineWidthGroup = new QActionGroup(this); |
207 lineWidthGroup = new QActionGroup(this); |
208 lineWidthGroup->addAction(lineWidthPressureAction); |
208 lineWidthGroup->addAction(lineWidthPressureAction); |
209 lineWidthGroup->addAction(lineWidthTiltAction); |
209 lineWidthGroup->addAction(lineWidthTiltAction); |
210 lineWidthGroup->addAction(lineWidthFixedAction); |
210 lineWidthGroup->addAction(lineWidthFixedAction); |
211 connect(lineWidthGroup, SIGNAL(triggered(QAction *)), |
211 connect(lineWidthGroup, SIGNAL(triggered(QAction*)), |
212 this, SLOT(lineWidthActionTriggered(QAction *))); |
212 this, SLOT(lineWidthActionTriggered(QAction*))); |
213 |
213 |
214 exitAction = new QAction(tr("E&xit"), this); |
214 exitAction = new QAction(tr("E&xit"), this); |
215 exitAction->setShortcuts(QKeySequence::Quit); |
215 exitAction->setShortcuts(QKeySequence::Quit); |
216 connect(exitAction, SIGNAL(triggered()), |
216 connect(exitAction, SIGNAL(triggered()), |
217 this, SLOT(close())); |
217 this, SLOT(close())); |