mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-19 18:09:59 +01:00
Remove old summary feature
This commit is contained in:
@@ -62,10 +62,6 @@ GeneralConfigurationPage::GeneralConfigurationPage(QWidget *parent) :
|
||||
ui->m_font_pb->setText(fontInfos);
|
||||
|
||||
|
||||
QString foliolistfontInfos = settings.value("foliolistfont").toString() + " " +
|
||||
settings.value("foliolistsize").toString() + " (" +
|
||||
settings.value("folioliststyle").toString() + ")";
|
||||
ui->m_folio_list_pb->setText(foliolistfontInfos);
|
||||
|
||||
|
||||
//Dynamic element text item
|
||||
@@ -339,27 +335,7 @@ void GeneralConfigurationPage::on_m_dyn_text_font_pb_clicked()
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief GeneralConfigurationPage::on_m_folio_list_pb_clicked
|
||||
* Apply font to summary pages
|
||||
*/
|
||||
void GeneralConfigurationPage::on_m_folio_list_pb_clicked()
|
||||
{
|
||||
bool ok;
|
||||
QSettings settings;
|
||||
QFont font = QFontDialog::getFont(&ok, QFont("Sans Serif", 9), this);
|
||||
if (ok)
|
||||
{
|
||||
settings.setValue("foliolistfont", font.family());
|
||||
settings.setValue("foliolistsize", font.pointSize());
|
||||
settings.setValue("foliolistweight", font.weight());
|
||||
settings.setValue("folioliststyle", font.styleName());
|
||||
QString fontInfos = settings.value("foliolistfont").toString() + " " +
|
||||
settings.value("foliolistsize").toString() + " (" +
|
||||
settings.value("folioliststyle").toString() + ")";
|
||||
ui->m_folio_list_pb->setText(fontInfos);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void GeneralConfigurationPage::on_m_common_elmt_path_cb_currentIndexChanged(int index)
|
||||
{
|
||||
|
||||
@@ -40,7 +40,6 @@ class GeneralConfigurationPage : public ConfigPage
|
||||
private slots:
|
||||
void on_m_font_pb_clicked();
|
||||
void on_m_dyn_text_font_pb_clicked();
|
||||
void on_m_folio_list_pb_clicked();
|
||||
void on_m_common_elmt_path_cb_currentIndexChanged(int index);
|
||||
void on_m_custom_elmt_path_cb_currentIndexChanged(int index);
|
||||
void on_m_custom_tbt_path_cb_currentIndexChanged(int index);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<item row="0" column="0">
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="tab_3">
|
||||
<attribute name="title">
|
||||
@@ -485,42 +485,6 @@ Vous pouvez spécifier ici la valeur par défaut de ce champ pour les éléments
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_8">
|
||||
<property name="title">
|
||||
<string>Pages de sommaire</string>
|
||||
</property>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_16">
|
||||
<property name="text">
|
||||
<string>Police :</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_8">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="m_folio_list_pb">
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="groupBox_9">
|
||||
<property name="title">
|
||||
|
||||
Reference in New Issue
Block a user