LLFloaterJoystick::LLFloaterJoystick(const LLSD& data)
	: LLFloater(data)
{
	//Called from floater reg: LLUICtrlFactory::getInstance()->buildFloater(this, "floater_joystick.xml");

	initFromSettings();
}
Example #2
0
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();
}
Example #4
0
LLFloaterJoystick::LLFloaterJoystick(const LLSD& data)
	: LLFloater(data)
{
	initFromSettings();
}