[Uml-devel] KDE/kdesdk/umbrello/umbrello/dialogs
Ralf Habacker
ralf.habacker at gmail.com
Fri Jan 13 12:17:52 UTC 2012
SVN commit 1273409 by habacker:
Fixed sizing of font page; minor text fix.
M +4 -2 assocpropdlg.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/assocpropdlg.cpp #1273408:1273409
@@ -97,22 +97,24 @@
layout->addWidget( m_pGenPage );
// role page
- page = createPage( i18nc("role style page name", "Roles"), i18n("Role Settings"), Icon_Utils::it_Properties_Roles );
+ page = createPage( i18nc("role page name", "Roles"), i18n("Role Settings"), Icon_Utils::it_Properties_Roles );
layout = new QHBoxLayout( page );
m_pRolePage = new AssocRolePage(umlDoc, page, m_pAssoc ),
layout->addWidget( m_pRolePage );
// style page
- page = createPage( i18nc("role style page name", "Style"), i18n("Role Style"), Icon_Utils::it_Properties_Color );
+ page = createPage( i18nc("style page name", "Style"), i18n("Role Style"), Icon_Utils::it_Properties_Color );
layout = new QHBoxLayout( page );
m_pStylePage = new UMLWidgetStylePage( page, m_pAssoc );
layout->addWidget( m_pStylePage );
// font page
page = createPage( i18nc("font page name", "Font"), i18n("Font Settings"), Icon_Utils::it_Properties_Font );
+ layout = new QHBoxLayout( page );
m_pChooser = new KFontChooser( page, KFontChooser::NoDisplayFlags, QStringList(), false );
m_pChooser->setFont( m_pAssoc->font() );
m_pChooser->setSampleText( "Association font" );
+ layout->addWidget( m_pChooser );
}
More information about the umbrello-devel
mailing list