File tree Expand file tree Collapse file tree 2 files changed +25
-11
lines changed Expand file tree Collapse file tree 2 files changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -318,10 +318,10 @@ void MainWindow::updateUIFromMusic(Tabulature tab)
318318 else
319319 ui->cadb_radio ->setChecked (true );
320320
321- /* if ((tab.get("displayFingering") == "true") || (tab.get("displayFingering") == "auto "))
322- ui->displayFingering_yes ->setChecked(true);
321+ if ((tab.get (" displayFingering" ) == " false " ))
322+ ui->checkBoxDisplayFinger ->setChecked (true );
323323 else
324- ui->displayFingering_no ->setChecked(true); */
324+ ui->checkBoxDisplayFinger ->setChecked (false );
325325}
326326
327327Tabulature MainWindow::readMusicFromUI ()
@@ -350,10 +350,10 @@ Tabulature MainWindow::readMusicFromUI()
350350 else
351351 tab.set (" system" , " cogeron" );
352352
353- /* if (ui->displayFingering_yes ->isChecked())
354- tab.set("displayFingering", "true ");
353+ if (ui->checkBoxDisplayFinger ->isChecked ())
354+ tab.set (" displayFingering" , " false " );
355355 else
356- tab.set("displayFingering", "false ");*/
356+ tab.set (" displayFingering" , " true " );
357357
358358 return tab;
359359}
Original file line number Diff line number Diff line change 5959 <x >0</x >
6060 <y >0</y >
6161 <width >414</width >
62- <height >939 </height >
62+ <height >963 </height >
6363 </rect >
6464 </property >
6565 <attribute name =" label" >
9090 <x >0</x >
9191 <y >0</y >
9292 <width >414</width >
93- <height >939 </height >
93+ <height >963 </height >
9494 </rect >
9595 </property >
9696 <attribute name =" label" >
252252 <property name =" minimumSize" >
253253 <size >
254254 <width >362</width >
255- <height >608 </height >
255+ <height >665 </height >
256256 </size >
257257 </property >
258258 <property name =" sizeIncrement" >
@@ -911,7 +911,7 @@ QGroupBox::title {
911911 </widget >
912912 </item >
913913 <item >
914- <widget class =" QGroupBox" name =" formGroupBox " >
914+ <widget class =" QGroupBox" name =" formGroupBoxLayout " >
915915 <property name =" styleSheet" >
916916 <string notr =" true" > QGroupBox {
917917 background-color: rgb(232, 235, 238);
@@ -973,6 +973,20 @@ QGroupBox::title {
973973 </item >
974974 </layout >
975975 </item >
976+ <item row =" 1" column =" 0" >
977+ <widget class =" QLabel" name =" label" >
978+ <property name =" text" >
979+ <string >Doigté</string >
980+ </property >
981+ </widget >
982+ </item >
983+ <item row =" 1" column =" 1" >
984+ <widget class =" QCheckBox" name =" checkBoxDisplayFinger" >
985+ <property name =" text" >
986+ <string >Ne pas afficher</string >
987+ </property >
988+ </widget >
989+ </item >
976990 </layout >
977991 </widget >
978992 </item >
@@ -1048,7 +1062,7 @@ QGroupBox::title {
10481062 <x >0</x >
10491063 <y >0</y >
10501064 <width >346</width >
1051- <height >950 </height >
1065+ <height >974 </height >
10521066 </rect >
10531067 </property >
10541068 </widget >
You can’t perform that action at this time.
0 commit comments