Convert all UI files to match Qt standards
This commit is contained in:
parent
924f5af2ed
commit
5f8b044577
156 changed files with 9676 additions and 8918 deletions
|
|
@ -16,20 +16,20 @@
|
|||
#include <QSettings>
|
||||
#endif
|
||||
|
||||
Ui::OpenRGBNanoleafNewDeviceDialog::OpenRGBNanoleafNewDeviceDialog(QWidget *parent) :
|
||||
QDialog(parent), ui(new Ui::OpenRGBNanoleafNewDeviceDialogUi)
|
||||
OpenRGBNanoleafNewDeviceDialog::OpenRGBNanoleafNewDeviceDialog(QWidget *parent) :
|
||||
QDialog(parent), ui(new Ui::OpenRGBNanoleafNewDeviceDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
ui->devicePortEdit->setText("16021");
|
||||
}
|
||||
|
||||
Ui::OpenRGBNanoleafNewDeviceDialog::~OpenRGBNanoleafNewDeviceDialog()
|
||||
OpenRGBNanoleafNewDeviceDialog::~OpenRGBNanoleafNewDeviceDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Ui::OpenRGBNanoleafNewDeviceDialog::changeEvent(QEvent *event)
|
||||
void OpenRGBNanoleafNewDeviceDialog::changeEvent(QEvent *event)
|
||||
{
|
||||
if(event->type() == QEvent::LanguageChange)
|
||||
{
|
||||
|
|
@ -37,7 +37,7 @@ void Ui::OpenRGBNanoleafNewDeviceDialog::changeEvent(QEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
NanoleafDevice Ui::OpenRGBNanoleafNewDeviceDialog::show()
|
||||
NanoleafDevice OpenRGBNanoleafNewDeviceDialog::show()
|
||||
{
|
||||
NanoleafDevice return_device;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue