Changeset 104448 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 26, 2024 2:36:53 PM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 162957
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/activity/vmactivity
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/activity/vmactivity/UIVMActivityMonitorPaneContainer.cpp
r104446 r104448 29 29 #include <QApplication> 30 30 #include <QHBoxLayout> 31 #include <QLabel> 31 32 #include <QPlainTextEdit> 32 33 #include <QPushButton> … … 43 44 , m_pColorChangeButton0(0) 44 45 , m_pColorChangeButton1(0) 45 , m_pColorChangeReset0(0)46 , m_pColorChangeReset1(0)47 46 { 48 47 prepare(); … … 54 53 55 54 QWidget *pContainerWidget = new QWidget(this); 55 QVBoxLayout *pContainerLayout = new QVBoxLayout(pContainerWidget); 56 56 insertTab(0, pContainerWidget, m_strTabText); 57 58 QHBoxLayout *pColorLayout0 = new QHBoxLayout(this); 59 m_pColorLabel0 = new QLabel(this); 60 m_pColorChangeButton0 = new QPushButton(this); 61 pColorLayout0->addWidget(m_pColorLabel0); 62 pColorLayout0->addWidget(m_pColorChangeButton0); 63 64 QHBoxLayout *pColorLayout1 = new QHBoxLayout(this); 65 m_pColorLabel1 = new QLabel(this); 66 m_pColorChangeButton1 = new QPushButton(this); 67 pColorLayout1->addWidget(m_pColorLabel1); 68 pColorLayout1->addWidget(m_pColorChangeButton1); 69 70 pContainerLayout->addLayout(pColorLayout0); 71 pContainerLayout->addLayout(pColorLayout1); 72 57 73 58 74 connect(&translationEventListener(), &UITranslationEventListener::sigRetranslateUI, … … 63 79 { 64 80 m_strTabText = QApplication::translate("UIVMActivityMonitorPaneContainer", "Preferences"); 81 82 if (m_pColorLabel0) 83 m_pColorLabel0->setText(QApplication::translate("UIVMActivityMonitorPaneContainer", "Data Series 1 Color")); 84 if (m_pColorLabel1) 85 m_pColorLabel1->setText(QApplication::translate("UIVMActivityMonitorPaneContainer", "Data Series 1 Color")); 65 86 } -
trunk/src/VBox/Frontends/VirtualBox/src/activity/vmactivity/UIVMActivityMonitorPaneContainer.h
r104446 r104448 64 64 QPushButton *m_pColorChangeButton1; 65 65 66 QPushButton *m_pColorChangeReset0; 67 QPushButton *m_pColorChangeReset1; 66 68 67 }; 69 68
Note:
See TracChangeset
for help on using the changeset viewer.