mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-26 20:04:12 +02:00
Compare commits
11 Commits
e3964fb24a
...
b6e43f78d0
| Author | SHA1 | Date | |
|---|---|---|---|
| b6e43f78d0 | |||
| 016bb3636e | |||
| 905afc1bbc | |||
| d0fcc9ed78 | |||
| cb7b45e281 | |||
| 725678a866 | |||
| cc8be46c6e | |||
| 06d1d70142 | |||
| 5ec49eedda | |||
| d850241f91 | |||
| ca42a2b7ff |
@@ -540,7 +540,6 @@ set(QET_SRC_FILES
|
||||
|
||||
${QET_DIR}/sources/richtext/richtexteditor.cpp
|
||||
${QET_DIR}/sources/richtext/richtexteditor_p.h
|
||||
${QET_DIR}/sources/richtext/ui_addlinkdialog.h
|
||||
|
||||
${QET_DIR}/sources/SearchAndReplace/searchandreplaceworker.cpp
|
||||
${QET_DIR}/sources/SearchAndReplace/searchandreplaceworker.h
|
||||
|
||||
@@ -1,117 +0,0 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'addlinkdialog.ui'
|
||||
**
|
||||
** Created: Thu 4. Apr 17:13:59 2013
|
||||
** by: Qt User Interface Compiler version 4.8.4
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_ADDLINKDIALOG_H
|
||||
#define UI_ADDLINKDIALOG_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
#include <QButtonGroup>
|
||||
#include <QDialog>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QFormLayout>
|
||||
#include <QFrame>
|
||||
#include <QHeaderView>
|
||||
#include <QLabel>
|
||||
#include <QLineEdit>
|
||||
#include <QSpacerItem>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_AddLinkDialog
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *verticalLayout;
|
||||
QFormLayout *formLayout;
|
||||
QLabel *label;
|
||||
QLineEdit *titleInput;
|
||||
QLabel *label_2;
|
||||
QLineEdit *urlInput;
|
||||
QSpacerItem *verticalSpacer;
|
||||
QFrame *line;
|
||||
QDialogButtonBox *buttonBox;
|
||||
|
||||
void setupUi(QDialog *AddLinkDialog)
|
||||
{
|
||||
if (AddLinkDialog->objectName().isEmpty())
|
||||
AddLinkDialog->setObjectName(QString::fromUtf8("AddLinkDialog"));
|
||||
AddLinkDialog->setSizeGripEnabled(false);
|
||||
AddLinkDialog->setModal(true);
|
||||
verticalLayout = new QVBoxLayout(AddLinkDialog);
|
||||
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
|
||||
formLayout = new QFormLayout();
|
||||
formLayout->setObjectName(QString::fromUtf8("formLayout"));
|
||||
label = new QLabel(AddLinkDialog);
|
||||
label->setObjectName(QString::fromUtf8("label"));
|
||||
|
||||
formLayout->setWidget(0, QFormLayout::LabelRole, label);
|
||||
|
||||
titleInput = new QLineEdit(AddLinkDialog);
|
||||
titleInput->setObjectName(QString::fromUtf8("titleInput"));
|
||||
titleInput->setMinimumSize(QSize(337, 0));
|
||||
|
||||
formLayout->setWidget(0, QFormLayout::FieldRole, titleInput);
|
||||
|
||||
label_2 = new QLabel(AddLinkDialog);
|
||||
label_2->setObjectName(QString::fromUtf8("label_2"));
|
||||
|
||||
formLayout->setWidget(1, QFormLayout::LabelRole, label_2);
|
||||
|
||||
urlInput = new QLineEdit(AddLinkDialog);
|
||||
urlInput->setObjectName(QString::fromUtf8("urlInput"));
|
||||
|
||||
formLayout->setWidget(1, QFormLayout::FieldRole, urlInput);
|
||||
|
||||
|
||||
verticalLayout->addLayout(formLayout);
|
||||
|
||||
verticalSpacer = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding);
|
||||
|
||||
verticalLayout->addItem(verticalSpacer);
|
||||
|
||||
line = new QFrame(AddLinkDialog);
|
||||
line->setObjectName(QString::fromUtf8("line"));
|
||||
line->setFrameShape(QFrame::HLine);
|
||||
line->setFrameShadow(QFrame::Sunken);
|
||||
|
||||
verticalLayout->addWidget(line);
|
||||
|
||||
buttonBox = new QDialogButtonBox(AddLinkDialog);
|
||||
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
|
||||
buttonBox->setOrientation(Qt::Horizontal);
|
||||
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
|
||||
|
||||
verticalLayout->addWidget(buttonBox);
|
||||
|
||||
|
||||
retranslateUi(AddLinkDialog);
|
||||
QObject::connect(buttonBox, SIGNAL(accepted()), AddLinkDialog, SLOT(accept()));
|
||||
QObject::connect(buttonBox, SIGNAL(rejected()), AddLinkDialog, SLOT(reject()));
|
||||
|
||||
QMetaObject::connectSlotsByName(AddLinkDialog);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *AddLinkDialog)
|
||||
{
|
||||
AddLinkDialog->setWindowTitle(QApplication::translate("AddLinkDialog", "Insert Link", nullptr));
|
||||
label->setText(QApplication::translate("AddLinkDialog", "Title:", nullptr));
|
||||
label_2->setText(QApplication::translate("AddLinkDialog", "URL:", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class AddLinkDialog: public Ui_AddLinkDialog {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_ADDLINKDIALOG_H
|
||||
@@ -393,7 +393,7 @@ void GeneralConfigurationPage::fillLang()
|
||||
ui->m_lang_cb->addItem(QET::Icons::hr, tr("Croate"), "hr");
|
||||
ui->m_lang_cb->addItem(QET::Icons::it, tr("Italien"), "it");
|
||||
ui->m_lang_cb->addItem(QET::Icons::jp, tr("Japonais"), "ja");
|
||||
ui->m_lang_cb->addItem(QET::Icons::ko, tr("Coréen"), "ko");
|
||||
ui->m_lang_cb->addItem(QET::Icons::ko, tr("Coréen"), "ko");
|
||||
ui->m_lang_cb->addItem(QET::Icons::pl, tr("Polonais"), "pl");
|
||||
ui->m_lang_cb->addItem(QET::Icons::pt, tr("Portugais"), "pt");
|
||||
ui->m_lang_cb->addItem(QET::Icons::ro, tr("Roumains"), "ro");
|
||||
@@ -405,9 +405,9 @@ void GeneralConfigurationPage::fillLang()
|
||||
ui->m_lang_cb->addItem(QET::Icons::tr, tr("Turc"), "tr");
|
||||
ui->m_lang_cb->addItem(QET::Icons::hu, tr("Hongrois"), "hu");
|
||||
ui->m_lang_cb->addItem(QET::Icons::mn, tr("Mongol"), "mn");
|
||||
ui->m_lang_cb->addItem(QET::Icons::uk, tr("Ukrainien"), "uk");
|
||||
ui->m_lang_cb->addItem(QET::Icons::zh, tr("Chinois"), "zh");
|
||||
ui->m_lang_cb->addItem(QET::Icons::se, tr("Suédois"), "sv");
|
||||
ui->m_lang_cb->addItem(QET::Icons::uk, tr("Ukrainien"), "uk");
|
||||
ui->m_lang_cb->addItem(QET::Icons::zh, tr("Chinois"), "zh");
|
||||
ui->m_lang_cb->addItem(QET::Icons::se, tr("Suédois"), "sv");
|
||||
//set current index to the lang found in setting file
|
||||
//if lang doesn't exist set to system
|
||||
QSettings settings;
|
||||
|
||||
Reference in New Issue
Block a user