- Timestamp:
- Jun 13, 2013 3:19:13 PM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilmContainer.cpp
r46536 r46537 140 140 { 141 141 /* Translate check-box: */ 142 m_pCheckBox->setText( tr("Screen %1").arg(m_iScreenIndex + 1));143 m_pCheckBox->setToolTip( tr("Enable video recording for screen %1.").arg(m_iScreenIndex + 1));142 m_pCheckBox->setText(QApplication::translate("UIMachineSettingsDisplay", "Screen %1").arg(m_iScreenIndex + 1)); 143 m_pCheckBox->setToolTip(QApplication::translate("UIMachineSettingsDisplay", "Enable video recording for screen %1.").arg(m_iScreenIndex + 1)); 144 144 } 145 145 -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilmContainer.h
r46536 r46537 30 30 31 31 /* Forward declarations: */ 32 class QVBoxLayout; 32 33 class QScrollArea; 33 34 class UIFilm; 34 class QVBoxLayout;35 35 class QCheckBox; 36 36 … … 62 62 }; 63 63 64 /* QWidget item for UIFilmContainer: */64 /* QWidget item prototype for UIFilmContainer: */ 65 65 class UIFilm : public QIWithRetranslateUI<QWidget> 66 66 { … … 72 72 UIFilm(int iScreenIndex, BOOL fEnabled, QWidget *pParent = 0); 73 73 74 /* API: C ehck-box stuff: */74 /* API: Check-box stuff: */ 75 75 bool checked() const; 76 77 protected:78 79 /* Helper: Translate stuff: */80 void retranslateUi();81 76 82 77 private: 83 78 84 /* Helper: Prepare stuff: */ 79 /* Handler: Translate stuff: */ 80 void retranslateUi(); 81 82 /* Helpers: Prepare stuff: */ 85 83 void prepare(); 86 84 void prepareLayout(); 87 85 void prepareCheckBox(); 88 86 89 /* H andler: Layut stuff: */87 /* Helper: Layout stuff: */ 90 88 QSize minimumSizeHint() const; 91 89 92 /* Handler s: Paint stuff: */90 /* Handler: Paint stuff: */ 93 91 void paintEvent(QPaintEvent *pEvent); 94 92 … … 99 97 QCheckBox *m_pCheckBox; 100 98 }; 99 101 100 #endif /* __UIFilmContainer_h__ */
Note:
See TracChangeset
for help on using the changeset viewer.