| 1038 | |
| 1039 | |
| 1040 | void |
| 1041 | ViewObjectUI::resize (unsigned int w, unsigned int h) |
| 1042 | { |
| 1043 | m_widget_width = w; |
| 1044 | m_widget_height = h; |
| 1045 | |
| 1046 | #if defined(HAVE_QT) |
| 1047 | if (mp_widget) { |
| 1048 | mp_widget->resize (w, h); |
| 1049 | } |
| 1050 | #endif |
| 1051 | |
| 1052 | // don't wait until the layout system informs us - which may never take place when |
| 1053 | // the widget isn't shown. In the non-Qt case we need it anyway here. |
| 1054 | resize_event (w, h); |
| 1055 | } |
| 1056 | |
| 1057 | int |
| 1058 | ViewObjectUI::widget_height () const |
no outgoing calls
no test coverage detected