Definition at line 39 of file PhiSectionWidget.cxx.
◆ addMenuEntriesForSetNPhi()
| void PhiSectionWidget::Imp::addMenuEntriesForSetNPhi |
( |
| ) |
|
◆ approximateSectorStatusFromRanges()
| void PhiSectionWidget::Imp::approximateSectorStatusFromRanges |
( |
const QList< VP1Interval > & |
oldEnabledRanges, |
|
|
QVector< bool > & |
target |
|
) |
| |
Definition at line 791 of file PhiSectionWidget.cxx.
794 if (oldEnabledRanges.isEmpty()) {
798 if (oldEnabledRanges.count()==1&&oldEnabledRanges.first().length()>=2*
M_PI*(1.0-1.0e-10)) {
802 const unsigned n =
target.size();
804 const double dphi = (2*
M_PI)/
n;
806 for (
unsigned i = 0;
i <
n; ++
i) {
808 for(
const VP1Interval& oldrange : oldEnabledRanges) {
◆ checkForChanges()
| void PhiSectionWidget::Imp::checkForChanges |
( |
| ) |
|
◆ enabledPhiRangesNoCache()
| QList< VP1Interval > PhiSectionWidget::Imp::enabledPhiRangesNoCache |
( |
const QVector< bool > & |
secstatus, |
|
|
bool & |
allOn, |
|
|
bool & |
allOff |
|
) |
| const |
Definition at line 510 of file PhiSectionWidget.cxx.
515 QList<VP1Interval>
l;
519 const unsigned int n = secstatus.count();
521 const double dphi = (2*
M_PI)/
n;
523 qDebug() <<
"n: " <<
n <<
" - dphi:" << dphi;
529 for (
unsigned i = 0;
i <
n; ++
i) {
530 const bool status = secstatus[
i];
◆ ensureMenuInit()
| void PhiSectionWidget::Imp::ensureMenuInit |
( |
| ) |
|
◆ updateColors()
| void PhiSectionWidget::Imp::updateColors |
( |
| ) |
|
◆ wrap()
| void PhiSectionWidget::Imp::wrap |
( |
QList< VP1Interval > & |
l | ) |
|
|
static |
◆ allowCustomNSectors
| bool PhiSectionWidget::Imp::allowCustomNSectors |
◆ allowedNSectors
| QList<int> PhiSectionWidget::Imp::allowedNSectors |
◆ brush_off
| QBrush PhiSectionWidget::Imp::brush_off |
◆ brush_on
| QBrush PhiSectionWidget::Imp::brush_on |
◆ cachedAllOff
| bool PhiSectionWidget::Imp::cachedAllOff |
◆ cachedAllOn
| bool PhiSectionWidget::Imp::cachedAllOn |
◆ cachedRanges
◆ cacheValid
| bool PhiSectionWidget::Imp::cacheValid |
◆ dragStartPosition
| QPoint PhiSectionWidget::Imp::dragStartPosition |
◆ item2sector
| std::map<QGraphicsEllipseItem*,int> PhiSectionWidget::Imp::item2sector |
◆ pen_off
| QPen PhiSectionWidget::Imp::pen_off |
◆ pen_on
| QPen PhiSectionWidget::Imp::pen_on |
◆ popup_copyAction
| QAction* PhiSectionWidget::Imp::popup_copyAction |
◆ popup_disableAllAction
| QAction* PhiSectionWidget::Imp::popup_disableAllAction |
◆ popup_enableAllAction
| QAction* PhiSectionWidget::Imp::popup_enableAllAction |
◆ popup_invertAction
| QAction* PhiSectionWidget::Imp::popup_invertAction |
◆ popup_menu
| QMenu* PhiSectionWidget::Imp::popup_menu |
◆ popup_pasteAction
| QAction* PhiSectionWidget::Imp::popup_pasteAction |
◆ popup_setCustomNPhi
| QAction* PhiSectionWidget::Imp::popup_setCustomNPhi |
◆ popup_setNPhiSubMenu
| QMenu* PhiSectionWidget::Imp::popup_setNPhiSubMenu |
◆ popuplist_setNPhi
| QList<QAction*> PhiSectionWidget::Imp::popuplist_setNPhi |
◆ sectorstatus
| QVector<bool> PhiSectionWidget::Imp::sectorstatus |
◆ theclass
The documentation for this class was generated from the following file: