crossplatform.ru

Здравствуйте, гость ( Вход | Регистрация )

Гость_klochec_v_*
сообщение 9.12.2007, 14:31
Сообщение #1





Гости








    


CODE
............................
QLabel* p = new QLabel(0,0);
QPainter painter(p);
painter.setPen(QPen(Qt::green,3));
p->drawFrame(&painter);
painter.end();
..............................


: error C2248: 'drawFrame' : cannot access protected member declared in class 'QFrame'
assistant:
void QFrame::drawFrame ( QPainter * p ) [virtual protected]
Draws the frame using the painter p and the current frame attributes and color group. The rectangle inside the frame is not affected.
This function is virtual, but in general you do not need to reimplement it. If you do, note that the QPainter is already open and must remain open.

????:(
Перейти в начало страницы
 
Быстрая цитата+Цитировать сообщение

Сообщений в этой теме


Быстрый ответОтветить в данную темуНачать новую тему
Теги
Нет тегов для показа


1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0


RSS Рейтинг@Mail.ru Текстовая версия Сейчас: 21.8.2025, 18:27