LLFloaterJoystick::LLFloaterJoystick(const LLSD& data) : LLFloater(data) { //Called from floater reg: LLUICtrlFactory::getInstance()->buildFloater(this, "floater_joystick.xml"); initFromSettings(); }
PreferencesDialog::PreferencesDialog(QString activePage, QWidget* parent): QDialog(parent) { ui.setupUi(this); setAttribute(Qt::WA_DeleteOnClose); warningCounter_ = 0; ui.warningLabel->hide(); // resize the list widget according to the width of its content. ui.listWidget->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding); ui.listWidget->setMaximumWidth(ui.listWidget->sizeHintForColumn(0) + ui.listWidget->frameWidth() * 2 + 4); initFromSettings(); selectPage(activePage); adjustSize(); }
void LLFloaterJoystick::refresh() { LLFloater::refresh(); initFromSettings(); }
LLFloaterJoystick::LLFloaterJoystick(const LLSD& data) : LLFloater(data) { initFromSettings(); }