Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/align/opsastrometryindexfiles.cpp
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 16 | { | |||
---|---|---|---|---|---|
54 | } | 54 | } | ||
55 | 55 | | |||
56 | QList<QProgressBar *> progressBars = findChildren<QProgressBar *>(); | 56 | QList<QProgressBar *> progressBars = findChildren<QProgressBar *>(); | ||
57 | QList<QLabel *> qLabels = findChildren<QLabel *>(); | 57 | QList<QLabel *> qLabels = findChildren<QLabel *>(); | ||
58 | QList<QPushButton *> qButtons = findChildren<QPushButton *>(); | 58 | QList<QPushButton *> qButtons = findChildren<QPushButton *>(); | ||
59 | 59 | | |||
60 | for (auto &bar : progressBars) | 60 | for (auto &bar : progressBars) | ||
61 | { | 61 | { | ||
62 | if(bar->objectName().contains("progress")) | ||||
63 | { | ||||
62 | bar->setVisible(false); | 64 | bar->setVisible(false); | ||
63 | bar->setTextVisible(false); | 65 | bar->setTextVisible(false); | ||
64 | } | 66 | } | ||
67 | } | ||||
65 | 68 | | |||
66 | for (auto &button : qButtons) | 69 | for (auto &button : qButtons) | ||
67 | { | 70 | { | ||
71 | if(button->objectName().contains("cancel")) | ||||
72 | { | ||||
68 | button->setVisible(false); | 73 | button->setVisible(false); | ||
69 | } | 74 | } | ||
75 | } | ||||
70 | 76 | | |||
71 | for (QLabel * label: qLabels) | 77 | for (QLabel * label: qLabels) | ||
72 | { | 78 | { | ||
73 | if(label->text().contains("info")||label->text().contains("perc")) | 79 | if(label->text().contains("info")||label->text().contains("perc")) | ||
74 | { | 80 | { | ||
75 | label->setVisible(false); | 81 | label->setVisible(false); | ||
76 | } | 82 | } | ||
77 | } | 83 | } | ||
▲ Show 20 Lines • Show All 430 Lines • Show Last 20 Lines |