diff options
author | akshay-c | 2019-05-07 10:50:36 +0530 |
---|---|---|
committer | akshay-c | 2019-05-07 10:50:36 +0530 |
commit | f6250bab468eadfc020922040966d6ba75edd341 (patch) | |
tree | 7facc6d3fd89c0c23bce197ca9eb67fd2b20a185 /ldmicro/lutdialog.cpp | |
parent | 46fbe3ae31bb5687f31b17acac4c449699876f2f (diff) | |
download | LDmicroQt-f6250bab468eadfc020922040966d6ba75edd341.tar.gz LDmicroQt-f6250bab468eadfc020922040966d6ba75edd341.tar.bz2 LDmicroQt-f6250bab468eadfc020922040966d6ba75edd341.zip |
Uncommented Titlebar Update Calls at places; Code beautification and code cleaning
Diffstat (limited to 'ldmicro/lutdialog.cpp')
-rw-r--r-- | ldmicro/lutdialog.cpp | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/ldmicro/lutdialog.cpp b/ldmicro/lutdialog.cpp index 17e6e5b..b6e3433 100644 --- a/ldmicro/lutdialog.cpp +++ b/ldmicro/lutdialog.cpp @@ -144,7 +144,8 @@ static void MakeFixedControls(BOOL forPwl) LutGrid->addWidget(ButtonBox,0,1); QObject::connect(ButtonBox, SIGNAL(accepted()), LutDialog, SLOT(accept())); QObject::connect(ButtonBox, SIGNAL(rejected()), LutDialog, SLOT(reject())); - QObject::connect(AsStringCheckbox, &QCheckBox::stateChanged,CheckBoxFunction); + QObject::connect(AsStringCheckbox, + &QCheckBox::stateChanged, CheckBoxFunction); QObject::connect(CountTextbox, &QLineEdit::textChanged,CountFunction); } @@ -172,12 +173,6 @@ static void DestroyLutControls(BOOL destroyFlag = TRUE) } delete LutControlGrid; } - - // int i; - /*for(i = 0; i < MAX_LOOK_UP_TABLE_LEN; i++) { - delete ValuesTextbox[i]; - delete ValuesLabel[i]; - }*/ } @@ -276,12 +271,8 @@ static void MakeLutControls(BOOL asString, int counts, BOOL forPwl) FixedFont(ValuesLabel[i]); LutControlGrid->addWidget(ValuesLabel[i], x , y); } - // if(counts > 16) FixedControlGrid->addLayout(LutControlGrid, 4, 0, 1, 0, Qt::AlignTop); - // else - // FixedControlGrid->addLayout(LutControlGrid, 4, 0, 1, 0, - // Qt::AlignTop); CountTextbox->setReadOnly(FALSE); } } |