2021-02-09 21:09:25 +00:00
|
|
|
import QtQuick 2.14
|
2021-10-27 21:27:49 +00:00
|
|
|
import shared 1.0
|
|
|
|
import shared.panels 1.0
|
2021-10-14 20:30:51 +00:00
|
|
|
|
|
|
|
import StatusQ.Controls 0.1 as StatusQ
|
2021-09-28 15:04:06 +00:00
|
|
|
import utils 1.0
|
2020-07-15 21:04:14 +00:00
|
|
|
|
2021-02-10 12:45:56 +00:00
|
|
|
StyledText {
|
2020-07-15 21:04:14 +00:00
|
|
|
id: chatTime
|
2021-07-09 09:16:16 +00:00
|
|
|
color: Style.current.secondaryText
|
2022-04-01 10:30:55 +00:00
|
|
|
text: Utils.formatShortTime(timestamp)
|
2020-11-25 10:46:18 +00:00
|
|
|
font.pixelSize: Style.current.asideTextFontSize
|
2022-04-01 10:30:55 +00:00
|
|
|
property string timestamp
|
2022-02-09 09:43:23 +00:00
|
|
|
|
2021-10-14 20:30:51 +00:00
|
|
|
StatusQ.StatusToolTip {
|
2021-02-09 21:09:25 +00:00
|
|
|
visible: hhandler.hovered
|
2022-04-01 10:30:55 +00:00
|
|
|
text: Utils.formatLongDateTime(parseInt(chatTime.timestamp, 10), RootStore.accountSensitiveSettings.isDDMMYYDateFormat, RootStore.accountSensitiveSettings.is24hTimeFormat)
|
2021-03-25 15:08:25 +00:00
|
|
|
maxWidth: 350
|
2021-02-09 21:09:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
HoverHandler {
|
|
|
|
id: hhandler
|
|
|
|
}
|
2020-07-15 21:04:14 +00:00
|
|
|
}
|