![]() |
Здравствуйте, гость ( Вход | Регистрация )
![]() |
Гость_klochec_v_* |
![]()
Сообщение
#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. ???? ![]() |
|
|
![]() ![]() ![]() |
![]() |
|
Текстовая версия | Сейчас: 21.8.2025, 18:27 |