call: P2P аудиозвонки — сигналинг, релей медиа, аудио-контур, headless/desktop/android
- src/call/: сигналинг (call.c, call_proto.h, ETCP_RT_ID_CALL 0x36) + релей медиа + headless аудио-сокет (call_headless.c, call_audio_bind) + Opus/jitter/тоны - chat: события CHAT_EVT_CALL_* (34–40), CHAT_EVT_DM_MESSAGES (41), DM-трамплины - chatgui: call window, miniaudio I/O, audio_frame_ring, test_audio_jitter - chatgui-android: CallScreen/IncomingCallDialog, аудио-роутинг, JNI, рингтон - tests: test_call, test_call_headless
This commit is contained in:
1 parent
0157f7f96b
commit
b11e77e4c0
78 files changed
+7053
-70
No files matched your search
@@ -30,6 +30,20 @@ void ChannelDelegate::paint(QPainter *painter, const QStyleOptionViewItem &optio
|
||||
const QModelIndex &index) const {
|
||||
painter->save();
|
||||
|
||||
/* ── заголовок секции (например, «Личные») ── */
|
||||
if (index.data(ChannelIsSectionRole).toBool()) {
|
||||
painter->fillRect(option.rect, option.palette.window());
|
||||
painter->setPen(option.palette.mid().color());
|
||||
QFont f = option.font;
|
||||
f.setBold(true);
|
||||
painter->setFont(f);
|
||||
QRect tr = option.rect.adjusted(12, 0, -8, 0);
|
||||
painter->drawText(tr, Qt::AlignLeft | Qt::AlignVCenter,
|
||||
index.data(ChannelNameRole).toString());
|
||||
painter->restore();
|
||||
return;
|
||||
}
|
||||
|
||||
const int barWidth = 4;
|
||||
const int margin = 8;
|
||||
const int iconSize = 32;
|
||||
|
||||
Reference in new issue
Block a user