Changeset 100114 in vbox
- Timestamp:
- Jun 8, 2023 10:10:56 AM (18 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/medium/viso
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.cpp
r100112 r100114 650 650 this, &UIVisoCreatorDialog::sltSetCancelButtonShortCut); 651 651 connect(m_pVisoCreatorWidget, &UIVisoCreatorWidget::sigVisoNameChanged, 652 this, &UIVisoCreatorDialog::slt sigVisoNameChanged);652 this, &UIVisoCreatorDialog::sltVisoNameChanged); 653 653 } 654 654 … … 697 697 if (m_pButtonBox && m_pButtonBox->button(QDialogButtonBox::Help)) 698 698 m_pButtonBox->button(QDialogButtonBox::Help)->setToolTip(UIVisoCreatorWidget::tr("Opens the help browser and navigates to the related section")); 699 if (m_pStatusLabel)700 m_pStatusLabel->setText(QString("%1: %2").arg(UIVisoCreatorWidget::tr("Viso file")).arg(visoFileFullPath()));699 updateWindowTitle(); 700 updateStatusLabel(); 701 701 } 702 702 … … 728 728 } 729 729 730 void UIVisoCreatorDialog::slt sigVisoNameChanged(const QString &strName)730 void UIVisoCreatorDialog::sltVisoNameChanged(const QString &strName) 731 731 { 732 732 Q_UNUSED(strName); 733 733 updateWindowTitle(); 734 updateStatusLabel(); 734 735 } 735 736 … … 763 764 } 764 765 766 void UIVisoCreatorDialog::updateStatusLabel() 767 { 768 if (m_pStatusLabel) 769 m_pStatusLabel->setText(QString("%1: %2").arg(UIVisoCreatorWidget::tr("Viso file")).arg(visoFileFullPath())); 770 } 771 765 772 QString UIVisoCreatorDialog::visoFileFullPath() const 766 773 { -
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoCreator.h
r100095 r100114 210 210 211 211 void sltSetCancelButtonShortCut(QKeySequence keySequence); 212 void slt sigVisoNameChanged(const QString &strName);212 void sltVisoNameChanged(const QString &strName); 213 213 214 214 private: … … 219 219 void saveDialogGeometry(); 220 220 void updateWindowTitle(); 221 void updateStatusLabel(); 221 222 222 223 UIVisoCreatorWidget *m_pVisoCreatorWidget;
Note:
See TracChangeset
for help on using the changeset viewer.