| 57 | // end temporary |
| 58 | |
| 59 | QSize NetHackQtTextListBox::sizeHint() const |
| 60 | { |
| 61 | QScrollBar *hscroll = horizontalScrollBar(); |
| 62 | int hsize = hscroll ? hscroll->height() : 0; |
| 63 | return QSize(TotalWidth()+hsize, TotalHeight()+hsize); |
| 64 | } |
| 65 | |
| 66 | int NetHackQtMenuListBox::TotalWidth() const |
| 67 | { |