void MainWindow::openLocation() { if(isFullScreen()) { setWidgetsVisible(true); } m_view->currentUrlBar()->selectAll(); m_view->currentUrlBar()->setFocus(); }
BOOL LLPanelClothingListItem::postBuild() { LLPanelDeletableWearableListItem::postBuild(); addWidgetToRightSide("btn_move_up"); addWidgetToRightSide("btn_move_down"); addWidgetToRightSide("btn_lock"); addWidgetToRightSide("btn_edit_panel"); setWidgetsVisible(false); reshapeWidgets(); return TRUE; }
BOOL LLPanelDummyClothingListItem::postBuild() { addWidgetToRightSide("btn_add_panel"); setIconImage(LLInventoryIcon::getIcon(LLAssetType::AT_CLOTHING, LLInventoryType::IT_NONE, mWearableType, FALSE)); updateItem(wearableTypeToString(mWearableType)); // Make it look loke clothing item - reserve space for 'delete' button setLeftWidgetsWidth(getChildView("item_icon")->getRect().mLeft); setWidgetsVisible(false); reshapeWidgets(); return TRUE; }
BOOL LLPanelDeletableWearableListItem::postBuild() { LLPanelWearableListItem::postBuild(); addWidgetToLeftSide("btn_delete"); LLButton* delete_btn = getChild<LLButton>("btn_delete"); // Reserve space for 'delete' button event if it is invisible. setLeftWidgetsWidth(delete_btn->getRect().mRight); setWidgetsVisible(false); reshapeWidgets(); return TRUE; }
BOOL LLPanelInventoryListItemBase::postBuild() { LLViewerInventoryItem* inv_item = getItem(); if (inv_item) { mIconImage = LLInventoryIcon::getIcon(inv_item->getType(), inv_item->getInventoryType(), inv_item->getFlags(), FALSE); updateItem(inv_item->getName()); } setNeedsRefresh(true); setWidgetsVisible(false); reshapeWidgets(); return TRUE; }
void LLPanelWearableListItem::onMouseLeave(S32 x, S32 y, MASK mask) { LLPanelInventoryListItemBase::onMouseLeave(x, y, mask); setWidgetsVisible(false); reshapeWidgets(); }
void MainWindow::viewFullScreen(bool makeFullScreen) { setWidgetsVisible(!makeFullScreen); KToggleFullScreenAction::setFullScreen(this, makeFullScreen); }