changed the Date Format to dd.MM.yyyy for Messages

changed font for Subject Label

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2144 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-01-28 12:56:17 +00:00
parent 522240961b
commit d40983109b
2 changed files with 18 additions and 3 deletions

View File

@ -140,7 +140,7 @@ MessagesDialog::MessagesDialog(QWidget *parent)
loadToolButtonsettings();
mFont = QFont("Times", 11, QFont::Bold);
mFont = QFont("Arial", 10, QFont::Bold);
ui.subjectText->setFont(mFont);
@ -622,7 +622,7 @@ void MessagesDialog::insertMessages()
{
QDateTime qtime;
qtime.setTime_t(it->ts);
QString timestamp = qtime.toString("yyyy-MM-dd hh:mm:ss");
QString timestamp = qtime.toString("dd.MM.yyyy hh:mm:ss");
item -> setText(3, timestamp);
}
@ -838,7 +838,7 @@ void MessagesDialog::insertMsgTxtAndFiles()
{
QDateTime qtime;
qtime.setTime_t(msgInfo.ts);
QString timestamp = qtime.toString("yyyy-MM-dd hh:mm:ss");
QString timestamp = qtime.toString("dd.MM.yyyy hh:mm:ss");
ui.dateText-> setText(timestamp);
}
ui.toText->setText(msgTxt);

View File

@ -1081,6 +1081,11 @@ p, li { white-space: pre-wrap; }
<height>12</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
@ -1203,6 +1208,11 @@ p, li { white-space: pre-wrap; }
<height>12</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
@ -1248,6 +1258,11 @@ p, li { white-space: pre-wrap; }
<height>22</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
</font>
</property>
</widget>
</item>
</layout>