mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 15:45:04 -04:00
redesign Create Blog Msg Publisher with html Formating features and fixed textSize formating for Message Composer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e6678bdf9a
commit
9e584e6723
11 changed files with 1668 additions and 557 deletions
|
@ -783,9 +783,12 @@ void ChanMsgDialog::textFamily(const QString &f)
|
|||
|
||||
void ChanMsgDialog::textSize(const QString &p)
|
||||
{
|
||||
QTextCharFormat fmt;
|
||||
fmt.setFontPointSize(p.toFloat());
|
||||
mergeFormatOnWordOrSelection(fmt);
|
||||
qreal pointSize = p.toFloat();
|
||||
if (p.toFloat() > 0) {
|
||||
QTextCharFormat fmt;
|
||||
fmt.setFontPointSize(pointSize);
|
||||
mergeFormatOnWordOrSelection(fmt);
|
||||
}
|
||||
}
|
||||
|
||||
void ChanMsgDialog::textStyle(int styleIndex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue