Have everything in one top-level namespace
This commit is contained in:
parent
ec3d68a635
commit
b3e7c390d9
|
@ -12,15 +12,12 @@
|
|||
#include <QStyle>
|
||||
|
||||
/*!
|
||||
\namespace Dialogs
|
||||
\brief Provides common dialogs such as AboutDialog, EnterPasswordDialog and
|
||||
SettingsDialog.
|
||||
*/
|
||||
|
||||
namespace Dialogs {
|
||||
* \brief The QtUtilities namespace contains all utilities provided by the qtutilities library.
|
||||
*/
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::AboutDialog
|
||||
* \class AboutDialog
|
||||
* \brief The AboutDialog class provides a simple about dialog.
|
||||
*/
|
||||
|
||||
|
@ -65,7 +62,7 @@ AboutDialog::AboutDialog(QWidget *parent, const QString &applicationName, const
|
|||
m_ui->creatorLabel->setText(tr("developed by %1").arg(creator.isEmpty() ? QApplication::organizationName() : creator));
|
||||
}
|
||||
m_ui->versionLabel->setText(version.isEmpty() ? QApplication::applicationVersion() : version);
|
||||
const auto &deps(dependencyVersions.size() ? dependencyVersions : ApplicationUtilities::applicationInfo.dependencyVersions);
|
||||
const auto &deps(dependencyVersions.size() ? dependencyVersions : CppUtilities::applicationInfo.dependencyVersions);
|
||||
if (!deps.empty()) {
|
||||
QStringList linkedAgainst;
|
||||
linkedAgainst.reserve(static_cast<int>(deps.size()));
|
||||
|
@ -79,8 +76,8 @@ AboutDialog::AboutDialog(QWidget *parent, const QString &applicationName, const
|
|||
"style=\"text-decoration: underline; color: palette(link);\">project "
|
||||
"website</a>.")
|
||||
.arg(website.isEmpty() ? QApplication::organizationDomain() : website));
|
||||
m_ui->descLabel->setText(description.isEmpty() && ApplicationUtilities::applicationInfo.description
|
||||
? QString::fromUtf8(ApplicationUtilities::applicationInfo.description)
|
||||
m_ui->descLabel->setText(description.isEmpty() && CppUtilities::applicationInfo.description
|
||||
? QString::fromUtf8(CppUtilities::applicationInfo.description)
|
||||
: description);
|
||||
m_iconScene = new QGraphicsScene(this);
|
||||
auto *item = image.isNull()
|
||||
|
@ -115,4 +112,4 @@ AboutDialog::AboutDialog(QWidget *parent, const QString &description, const QIma
|
|||
AboutDialog::~AboutDialog()
|
||||
{
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QGraphicsScene)
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
namespace Ui {
|
||||
class AboutDialog;
|
||||
|
@ -31,6 +31,6 @@ private:
|
|||
std::unique_ptr<Ui::AboutDialog> m_ui;
|
||||
QGraphicsScene *m_iconScene;
|
||||
};
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_ABOUTDIALOG_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::AboutDialog</class>
|
||||
<widget class="QDialog" name="Dialogs::AboutDialog">
|
||||
<class>QtUtilities::AboutDialog</class>
|
||||
<widget class="QDialog" name="QtUtilities::AboutDialog">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>43</horstretch>
|
||||
|
|
|
@ -24,10 +24,10 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::EnterPasswordDialog
|
||||
* \class EnterPasswordDialog
|
||||
* \brief The EnterPasswordDialog class provides a simple dialog to ask the user
|
||||
* for a password.
|
||||
*/
|
||||
|
@ -344,4 +344,4 @@ bool EnterPasswordDialog::isCapslockPressed()
|
|||
return false;
|
||||
#endif
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
namespace Ui {
|
||||
class EnterPasswordDialog;
|
||||
|
@ -99,6 +99,6 @@ inline void EnterPasswordDialog::abort()
|
|||
m_password.clear();
|
||||
done(QDialog::Rejected);
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_ENTERPASSWORDDIALOG_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::EnterPasswordDialog</class>
|
||||
<widget class="QDialog" name="Dialogs::EnterPasswordDialog">
|
||||
<class>QtUtilities::EnterPasswordDialog</class>
|
||||
<widget class="QDialog" name="QtUtilities::EnterPasswordDialog">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
||||
<horstretch>0</horstretch>
|
||||
|
@ -59,14 +59,14 @@
|
|||
<widget class="QLabel" name="descLabel"/>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Widgets::ClearLineEdit" name="userNameLineEdit">
|
||||
<widget class="QtUtilities::ClearLineEdit" name="userNameLineEdit">
|
||||
<property name="placeholderText">
|
||||
<string>user name</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Widgets::ClearLineEdit" name="password1LineEdit">
|
||||
<widget class="QtUtilities::ClearLineEdit" name="password1LineEdit">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
|
||||
<horstretch>0</horstretch>
|
||||
|
@ -88,7 +88,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="Widgets::ClearLineEdit" name="password2LineEdit">
|
||||
<widget class="QtUtilities::ClearLineEdit" name="password2LineEdit">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
@ -267,7 +267,7 @@
|
|||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Widgets::ClearLineEdit</class>
|
||||
<class>QtUtilities::ClearLineEdit</class>
|
||||
<extends>QLineEdit</extends>
|
||||
<header>widgets/clearlineedit.h</header>
|
||||
</customwidget>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QMutex)
|
||||
|
||||
namespace ThreadingUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Like QMutexLocker, but assumes that the mutex has already been locked.
|
||||
|
@ -31,6 +31,6 @@ public:
|
|||
private:
|
||||
Mutex &m_mutex;
|
||||
};
|
||||
} // namespace ThreadingUtils
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // THEADING_UTILS_ADOPTLOCKER_H
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
namespace ConversionUtilities {
|
||||
namespace QtUtilities {
|
||||
|
||||
inline QByteArray toNativeFileName(const QString &fileName)
|
||||
{
|
||||
|
@ -36,6 +36,6 @@ inline QString fromNativeFileName(const std::string &nativeFileName)
|
|||
#endif
|
||||
}
|
||||
|
||||
} // namespace ConversionUtilities
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // CONVERSION_H
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
namespace MiscUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class DBusNotification
|
||||
|
@ -140,11 +140,11 @@ inline NotificationImage NotificationImage::fromDBusArgument(const QVariant &var
|
|||
return variant.canConvert<NotificationImage>() ? variant.value<NotificationImage>() : NotificationImage();
|
||||
}
|
||||
|
||||
} // namespace MiscUtils
|
||||
} // namespace QtUtilities
|
||||
|
||||
Q_DECLARE_METATYPE(MiscUtils::NotificationImage);
|
||||
Q_DECLARE_METATYPE(QtUtilities::NotificationImage);
|
||||
|
||||
namespace MiscUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Creates a new notification (which is *not* shown instantly).
|
||||
|
@ -461,4 +461,4 @@ void DBusNotification::handleActionInvoked(uint id, const QString &action)
|
|||
* \fn DBusNotification::isVisible()
|
||||
* \brief Returns whether the notification is (still) visible.
|
||||
*/
|
||||
} // namespace MiscUtils
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -13,7 +13,7 @@ QT_FORWARD_DECLARE_CLASS(QDBusPendingCallWatcher)
|
|||
|
||||
class OrgFreedesktopNotificationsInterface;
|
||||
|
||||
namespace MiscUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
enum class NotificationIcon { NoIcon, Information, Warning, Critical };
|
||||
|
||||
|
@ -303,6 +303,6 @@ inline bool DBusNotification::isVisible() const
|
|||
{
|
||||
return m_id != 0;
|
||||
}
|
||||
} // namespace MiscUtils
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // MISC_UTILS_NOTIFICATION_H
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <QDesktopServices>
|
||||
#include <QUrl>
|
||||
|
||||
namespace DesktopUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Shows the specified file or directory using the default file browser.
|
||||
|
@ -26,4 +26,4 @@ bool openLocalFileOrDir(const QString &path)
|
|||
return QDesktopServices::openUrl(url);
|
||||
#endif
|
||||
}
|
||||
} // namespace DesktopUtils
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QString)
|
||||
|
||||
namespace DesktopUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
bool QT_UTILITIES_EXPORT openLocalFileOrDir(const QString &path);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <QWidget>
|
||||
#endif
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Generates the window title string for the specified \a documentStatus
|
||||
|
@ -167,4 +167,4 @@ void updateStyle(QWidget *widget)
|
|||
|
||||
#endif
|
||||
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -11,7 +11,7 @@ QT_FORWARD_DECLARE_CLASS(QColor)
|
|||
QT_FORWARD_DECLARE_CLASS(QPoint)
|
||||
QT_FORWARD_DECLARE_CLASS(QRect)
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief The DocumentStatus enum specifies the status of the document in a
|
||||
|
@ -43,6 +43,6 @@ void QT_UTILITIES_EXPORT updateStyle(QWidget *widget);
|
|||
#endif
|
||||
#endif
|
||||
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_DIALOGUTILS_H
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <QPushButton>
|
||||
#include <QStringList>
|
||||
|
||||
namespace MiscUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class RecentMenuManager
|
||||
|
@ -170,4 +170,4 @@ void RecentMenuManager::handleActionTriggered()
|
|||
* \remarks Only emitted when the selected file still existed; otherwise the
|
||||
* user is ask whether to keep or delete the entry.
|
||||
*/
|
||||
} // namespace MiscUtils
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
QT_FORWARD_DECLARE_CLASS(QMenu)
|
||||
QT_FORWARD_DECLARE_CLASS(QAction)
|
||||
|
||||
namespace MiscUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
class QT_UTILITIES_EXPORT RecentMenuManager : public QObject {
|
||||
Q_OBJECT
|
||||
|
@ -33,6 +33,6 @@ private:
|
|||
QAction *m_sep;
|
||||
QAction *m_clearAction;
|
||||
};
|
||||
} // namespace MiscUtils
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // MISC_UTILS_RECENTMENUMANAGER_H
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QMutex)
|
||||
|
||||
namespace ThreadingUtils {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Like QMutexLocker, but it just tries to lock the mutex.
|
||||
|
@ -50,6 +50,6 @@ public:
|
|||
private:
|
||||
Mutex *m_mutex;
|
||||
};
|
||||
} // namespace ThreadingUtils
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // THREADING_UTILS_TRYLOCKER_H
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
\brief Provides common models.
|
||||
*/
|
||||
|
||||
namespace Models {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Models::ChecklistItem
|
||||
|
@ -273,4 +273,4 @@ void ChecklistModel::applyVariantList(const QVariantList &checkedIds)
|
|||
emit dataChanged(index(0), index(m_items.size()), { Qt::CheckStateRole });
|
||||
}
|
||||
|
||||
} // namespace Models
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QSettings)
|
||||
|
||||
namespace Models {
|
||||
namespace QtUtilities {
|
||||
|
||||
class ChecklistModel;
|
||||
|
||||
|
@ -121,6 +121,6 @@ constexpr int ChecklistModel::idRole()
|
|||
{
|
||||
return Qt::UserRole + 1;
|
||||
}
|
||||
} // namespace Models
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // MODELS_CHECKLISTMODEL_H
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <QMimeData>
|
||||
#include <QPainter>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \cond
|
||||
|
@ -212,6 +212,6 @@ void ColorButton::dropEvent(QDropEvent *event)
|
|||
setColor(d_ptr->m_dragColor);
|
||||
}
|
||||
#endif
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#include "moc_colorbutton.cpp"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <QToolButton>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief The ColorButton class is used by PaletteEditor.
|
||||
|
@ -46,6 +46,6 @@ private:
|
|||
Q_DISABLE_COPY(ColorButton)
|
||||
Q_PRIVATE_SLOT(d_func(), void slotEditColor())
|
||||
};
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_COLORBUTTON_H
|
||||
|
|
|
@ -10,9 +10,7 @@
|
|||
#include <QStyle>
|
||||
#include <QToolButton>
|
||||
|
||||
using namespace Widgets;
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
enum { BrushRole = 33 };
|
||||
|
||||
|
@ -543,4 +541,4 @@ QSize ColorDelegate::sizeHint(const QStyleOptionViewItem &opt, const QModelIndex
|
|||
return QItemDelegate::sizeHint(opt, index) + QSize(4, 4);
|
||||
}
|
||||
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -11,11 +11,9 @@
|
|||
QT_FORWARD_DECLARE_CLASS(QListView)
|
||||
QT_FORWARD_DECLARE_CLASS(QLabel)
|
||||
|
||||
namespace Widgets {
|
||||
class ColorButton;
|
||||
}
|
||||
namespace QtUtilities {
|
||||
|
||||
namespace Dialogs {
|
||||
class ColorButton;
|
||||
|
||||
namespace Ui {
|
||||
class PaletteEditor;
|
||||
|
@ -132,7 +130,7 @@ private Q_SLOTS:
|
|||
void brushChanged();
|
||||
|
||||
private:
|
||||
Widgets::ColorButton *m_button;
|
||||
ColorButton *m_button;
|
||||
bool m_changed;
|
||||
};
|
||||
|
||||
|
@ -178,6 +176,6 @@ public:
|
|||
void paint(QPainter *painter, const QStyleOptionViewItem &opt, const QModelIndex &index) const override;
|
||||
QSize sizeHint(const QStyleOptionViewItem &opt, const QModelIndex &index) const override;
|
||||
};
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_PALETTEEDITOR_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::PaletteEditor</class>
|
||||
<widget class="QDialog" name="Dialogs::PaletteEditor">
|
||||
<class>QtUtilities::PaletteEditor</class>
|
||||
<widget class="QDialog" name="QtUtilities::PaletteEditor">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
@ -103,7 +103,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="Widgets::ColorButton" name="buildButton">
|
||||
<widget class="QtUtilities::ColorButton" name="buildButton">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Expanding" vsizetype="Ignored">
|
||||
<horstretch>0</horstretch>
|
||||
|
@ -132,7 +132,7 @@
|
|||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Widgets::ColorButton</class>
|
||||
<class>QtUtilities::ColorButton</class>
|
||||
<extends>QToolButton</extends>
|
||||
<header>paletteeditor/colorbutton.h</header>
|
||||
</customwidget>
|
||||
|
@ -142,7 +142,7 @@
|
|||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>Dialogs::PaletteEditor</receiver>
|
||||
<receiver>QtUtilities::PaletteEditor</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
|
@ -158,7 +158,7 @@
|
|||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>Dialogs::PaletteEditor</receiver>
|
||||
<receiver>QtUtilities::PaletteEditor</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
|
|
|
@ -19,10 +19,12 @@
|
|||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
using namespace ConversionUtilities;
|
||||
using namespace EscapeCodes;
|
||||
using namespace CppUtilities::EscapeCodes;
|
||||
|
||||
namespace ApplicationUtilities {
|
||||
/*!
|
||||
* \brief The CppUtilities namespace contains addons to the c++utilities library provided by the qtutilities library.
|
||||
*/
|
||||
namespace CppUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Constructs new Qt config arguments.
|
||||
|
@ -181,4 +183,4 @@ void QtConfigArguments::applySettings(bool preventApplyingDefaultFont) const
|
|||
qputenv(m_sceneGraphRenderLoopArg.environmentVariable(), QByteArray(m_sceneGraphRenderLoopArg.firstValue()));
|
||||
}
|
||||
}
|
||||
} // namespace ApplicationUtilities
|
||||
} // namespace CppUtilities
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
namespace ApplicationUtilities {
|
||||
namespace CppUtilities {
|
||||
|
||||
class QT_UTILITIES_EXPORT QtConfigArguments {
|
||||
public:
|
||||
|
@ -95,11 +95,11 @@ inline void QtConfigArguments::applySettingsForQuickGui() const
|
|||
}
|
||||
#endif // QT_UTILITIES_GUI_QTQUICK
|
||||
|
||||
} // namespace ApplicationUtilities
|
||||
} // namespace CppUtilities
|
||||
|
||||
#endif // APPLICATION_UTILITIES_QTCONFIGARGUMENTS_H
|
||||
|
||||
#ifdef QT_CONFIG_ARGUMENTS
|
||||
#undef QT_CONFIG_ARGUMENTS
|
||||
#endif
|
||||
#define QT_CONFIG_ARGUMENTS ApplicationUtilities::QtConfigArguments
|
||||
#define QT_CONFIG_ARGUMENTS CppUtilities::QtConfigArguments
|
||||
|
|
|
@ -36,6 +36,8 @@ inline void cleanupResources()
|
|||
}
|
||||
///! \endcond
|
||||
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \brief Functions for using the resources provided by this library.
|
||||
* \deprecated Replaced by ENABLE_QT_RESOURCES_OF_STATIC_DEPENDENCIES macro.
|
||||
|
@ -327,3 +329,4 @@ QString locateConfigFile(const QString &applicationName, const QString &fileName
|
|||
}
|
||||
}
|
||||
} // namespace ConfigFile
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -25,8 +25,10 @@ QT_FORWARD_DECLARE_CLASS(QSettings)
|
|||
* \brief Loads translations for Qt, other dependencies and the application.
|
||||
*/
|
||||
#define LOAD_QT_TRANSLATIONS \
|
||||
TranslationFiles::loadQtTranslationFile(QT_TRANSLATION_FILES); \
|
||||
TranslationFiles::loadApplicationTranslationFile(APP_SPECIFIC_QT_TRANSLATION_FILES)
|
||||
QtUtilities::TranslationFiles::loadQtTranslationFile(QT_TRANSLATION_FILES); \
|
||||
QtUtilities::TranslationFiles::loadApplicationTranslationFile(APP_SPECIFIC_QT_TRANSLATION_FILES)
|
||||
|
||||
namespace QtUtilities {
|
||||
|
||||
namespace QtUtilitiesResources {
|
||||
|
||||
|
@ -61,4 +63,6 @@ namespace ConfigFile {
|
|||
QT_UTILITIES_EXPORT QString locateConfigFile(const QString &applicationName, const QString &fileName, const QSettings *settings = nullptr);
|
||||
}
|
||||
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // APPLICATION_UTILITIES_RESOURCES_H
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#include "./optioncategory.h"
|
||||
#include "./optionpage.h"
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::OptionCategory
|
||||
* \class OptionCategory
|
||||
* \brief The OptionCategory class wraps associated option pages.
|
||||
*/
|
||||
|
||||
|
@ -100,4 +100,4 @@ void OptionCategory::assignPages(const QList<OptionPage *> pages)
|
|||
* \fn OptionCategory::pagesChanged()
|
||||
* \brief Emitted when the pages changed.
|
||||
*/
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <QList>
|
||||
#include <QObject>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
class OptionPage;
|
||||
|
||||
|
@ -105,6 +105,6 @@ inline void OptionCategory::setCurrentIndex(int currentIndex)
|
|||
{
|
||||
m_currentIndex = currentIndex;
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_OPTIONSCATEGORY_H
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
#include "./optioncategory.h"
|
||||
#include "./optioncategorymodel.h"
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::OptionCategoryFilterModel
|
||||
* \class OptionCategoryFilterModel
|
||||
* \brief The OptionCategoryFilterModel class is used by SettingsDialog to
|
||||
* filter option categories.
|
||||
*/
|
||||
|
@ -29,4 +29,4 @@ bool OptionCategoryFilterModel::filterAcceptsRow(int sourceRow, const QModelInde
|
|||
}
|
||||
return false;
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QSortFilterProxyModel>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
class OptionCategoryFilterModel : public QSortFilterProxyModel {
|
||||
Q_OBJECT
|
||||
|
@ -11,8 +11,8 @@ public:
|
|||
explicit OptionCategoryFilterModel(QObject *parent = nullptr);
|
||||
|
||||
protected:
|
||||
virtual bool filterAcceptsRow(int source_row, const QModelIndex &sourceParent) const override;
|
||||
bool filterAcceptsRow(int source_row, const QModelIndex &sourceParent) const override;
|
||||
};
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_OPTIONCATEGORYFILTERMODEL_H
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
#include <QStyle>
|
||||
#endif
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::OptionCategoryModel
|
||||
* \class OptionCategoryModel
|
||||
* \brief The OptionCategoryModel class is used by SettingsDialog to store and
|
||||
* display option categories.
|
||||
*/
|
||||
|
@ -117,4 +117,4 @@ void OptionCategoryModel::categoryChangedIcon()
|
|||
}
|
||||
}
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <QAbstractListModel>
|
||||
#include <QList>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
class OptionPage;
|
||||
class OptionCategory;
|
||||
|
@ -16,7 +16,7 @@ class QT_UTILITIES_EXPORT OptionCategoryModel : public QAbstractListModel {
|
|||
public:
|
||||
explicit OptionCategoryModel(QObject *parent = nullptr);
|
||||
explicit OptionCategoryModel(const QList<OptionCategory *> &categories, QObject *parent = nullptr);
|
||||
virtual ~OptionCategoryModel() override;
|
||||
~OptionCategoryModel() override;
|
||||
|
||||
const QList<OptionCategory *> &categories() const;
|
||||
OptionCategory *category(const QModelIndex &index) const;
|
||||
|
@ -62,6 +62,6 @@ inline OptionCategory *OptionCategoryModel::category(int row) const
|
|||
{
|
||||
return row < m_categories.size() ? m_categories.at(row) : nullptr;
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_OPTIONCATEGORYMODEL_H
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
#include <QPushButton>
|
||||
#include <QRadioButton>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::OptionPage
|
||||
* \class OptionPage
|
||||
* \brief The OptionPage class is the base class for SettingsDialog pages.
|
||||
*
|
||||
* The specified \a parentWindow might be used by some implementations as parent
|
||||
|
@ -112,4 +112,4 @@ bool OptionPage::matches(const QString &searchKeyWord)
|
|||
* \brief Creates the widget for the page. Called on the first invocation of
|
||||
* widget().
|
||||
*/
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
class SettingsDialog;
|
||||
|
||||
|
@ -140,7 +140,7 @@ template <class UiClass> inline UiClass *UiFileBasedOptionPage<UiClass>::ui()
|
|||
{
|
||||
return m_ui.get();
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
/*!
|
||||
* \brief Declares a class inheriting from Dialogs::OptionPage in a convenient
|
||||
|
@ -148,8 +148,8 @@ template <class UiClass> inline UiClass *UiFileBasedOptionPage<UiClass>::ui()
|
|||
* \remarks Must be closed with END_DECLARE_OPTION_PAGE.
|
||||
*/
|
||||
#define BEGIN_DECLARE_OPTION_PAGE(SomeClass) \
|
||||
typedef ::Dialogs::OptionPage SomeClass##Base; \
|
||||
class QT_UTILITIES_EXPORT SomeClass : public ::Dialogs::OptionPage { \
|
||||
typedef ::QtUtilities::OptionPage SomeClass##Base; \
|
||||
class QT_UTILITIES_EXPORT SomeClass : public ::QtUtilities::OptionPage { \
|
||||
public: \
|
||||
explicit SomeClass(QWidget *parentWidget = nullptr); \
|
||||
~SomeClass() override; \
|
||||
|
@ -164,8 +164,8 @@ template <class UiClass> inline UiClass *UiFileBasedOptionPage<UiClass>::ui()
|
|||
* \remarks Must be closed with END_DECLARE_OPTION_PAGE.
|
||||
*/
|
||||
#define BEGIN_DECLARE_OPTION_PAGE_CUSTOM_CTOR(SomeClass) \
|
||||
typedef ::Dialogs::OptionPage SomeClass##Base; \
|
||||
class QT_UTILITIES_EXPORT SomeClass : public ::Dialogs::OptionPage { \
|
||||
typedef ::QtUtilities::OptionPage SomeClass##Base; \
|
||||
class QT_UTILITIES_EXPORT SomeClass : public ::QtUtilities::OptionPage { \
|
||||
public: \
|
||||
~SomeClass() override; \
|
||||
bool apply() override; \
|
||||
|
@ -182,8 +182,8 @@ template <class UiClass> inline UiClass *UiFileBasedOptionPage<UiClass>::ui()
|
|||
namespace Ui { \
|
||||
class SomeClass; \
|
||||
} \
|
||||
typedef ::Dialogs::UiFileBasedOptionPage<Ui::SomeClass> SomeClass##Base; \
|
||||
class QT_UTILITIES_EXPORT SomeClass : public ::Dialogs::UiFileBasedOptionPage<Ui::SomeClass> { \
|
||||
typedef ::QtUtilities::UiFileBasedOptionPage<Ui::SomeClass> SomeClass##Base; \
|
||||
class QT_UTILITIES_EXPORT SomeClass : public ::QtUtilities::UiFileBasedOptionPage<Ui::SomeClass> { \
|
||||
public: \
|
||||
~SomeClass() override; \
|
||||
bool apply() override; \
|
||||
|
@ -217,7 +217,7 @@ private:
|
|||
* \remarks Might be required when the class is used by another application.
|
||||
*/
|
||||
#define INSTANTIATE_UI_FILE_BASED_OPTION_PAGE(SomeClass) \
|
||||
namespace Dialogs { \
|
||||
namespace QtUtilities { \
|
||||
template class UiFileBasedOptionPage<Ui::SomeClass>; \
|
||||
}
|
||||
|
||||
|
@ -228,7 +228,7 @@ private:
|
|||
* \remarks Might be required when the class is used by another application.
|
||||
*/
|
||||
#define INSTANTIATE_UI_FILE_BASED_OPTION_PAGE_NS(SomeNamespace, SomeClass) \
|
||||
namespace Dialogs { \
|
||||
namespace QtUtilities { \
|
||||
template class UiFileBasedOptionPage<::SomeNamespace::Ui::SomeClass>; \
|
||||
}
|
||||
|
||||
|
@ -238,7 +238,7 @@ private:
|
|||
* \remarks Might be required when the class comes from an external library.
|
||||
*/
|
||||
#define DECLARE_EXTERN_UI_FILE_BASED_OPTION_PAGE(SomeClass) \
|
||||
namespace Dialogs { \
|
||||
namespace QtUtilities { \
|
||||
namespace Ui { \
|
||||
class SomeClass; \
|
||||
} \
|
||||
|
@ -257,7 +257,7 @@ private:
|
|||
class SomeClass; \
|
||||
} \
|
||||
} \
|
||||
namespace Dialogs { \
|
||||
namespace QtUtilities { \
|
||||
extern template class UiFileBasedOptionPage<::SomeNamespace::Ui::SomeClass>; \
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::QtAppearanceOptionPage</class>
|
||||
<widget class="QWidget" name="Dialogs::QtAppearanceOptionPage">
|
||||
<class>QtUtilities::QtAppearanceOptionPage</class>
|
||||
<widget class="QWidget" name="QtUtilities::QtAppearanceOptionPage">
|
||||
<property name="windowTitle">
|
||||
<string>Appearance</string>
|
||||
</property>
|
||||
|
@ -137,7 +137,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="Widgets::PathSelection" name="styleSheetPathSelection" native="true">
|
||||
<widget class="QtUtilities::PathSelection" name="styleSheetPathSelection" native="true">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
@ -261,7 +261,7 @@ These settings might be overwritten by your Qt 5 platfrom integration plugin and
|
|||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Widgets::PathSelection</class>
|
||||
<class>QtUtilities::PathSelection</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgets/pathselection.h</header>
|
||||
<container>1</container>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::QtEnvOptionPage</class>
|
||||
<widget class="QWidget" name="Dialogs::QtEnvOptionPage">
|
||||
<class>QtUtilities::QtEnvOptionPage</class>
|
||||
<widget class="QWidget" name="QtUtilities::QtEnvOptionPage">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="Widgets::PathSelection" name="pluginPathSelection" native="true"/>
|
||||
<widget class="QtUtilities::PathSelection" name="pluginPathSelection" native="true"/>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="iconThemePathLabel">
|
||||
|
@ -40,7 +40,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="Widgets::PathSelection" name="iconThemeSearchPathSelection" native="true"/>
|
||||
<widget class="QtUtilities::PathSelection" name="iconThemeSearchPathSelection" native="true"/>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="translationsSearchPathLabel">
|
||||
|
@ -50,7 +50,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="Widgets::PathSelection" name="translationPathSelection" native="true"/>
|
||||
<widget class="QtUtilities::PathSelection" name="translationPathSelection" native="true"/>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
|
@ -87,7 +87,7 @@
|
|||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Widgets::PathSelection</class>
|
||||
<class>QtUtilities::PathSelection</class>
|
||||
<extends>QWidget</extends>
|
||||
<header>widgets/pathselection.h</header>
|
||||
<container>1</container>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::QtLanguageOptionPage</class>
|
||||
<widget class="QWidget" name="Dialogs::QtLanguageOptionPage">
|
||||
<class>QtUtilities::QtLanguageOptionPage</class>
|
||||
<widget class="QWidget" name="QtUtilities::QtLanguageOptionPage">
|
||||
<property name="windowTitle">
|
||||
<string>Localization</string>
|
||||
</property>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
struct QtSettingsData {
|
||||
QtSettingsData();
|
||||
|
@ -395,7 +395,7 @@ void QtEnvOptionPage::reset()
|
|||
ui()->iconThemeSearchPathSelection->lineEdit()->setText(m_settings.additionalIconThemeSearchPath);
|
||||
ui()->translationPathSelection->lineEdit()->setText(TranslationFiles::additionalTranslationFilePath());
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
INSTANTIATE_UI_FILE_BASED_OPTION_PAGE(QtAppearanceOptionPage)
|
||||
INSTANTIATE_UI_FILE_BASED_OPTION_PAGE(QtLanguageOptionPage)
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
QT_FORWARD_DECLARE_CLASS(QFontDialog)
|
||||
QT_FORWARD_DECLARE_CLASS(QSettings)
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
class OptionCategory;
|
||||
struct QtSettingsData;
|
||||
|
@ -55,7 +55,7 @@ public:
|
|||
private:
|
||||
std::unique_ptr<QtSettingsData> m_d;
|
||||
};
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
DECLARE_EXTERN_UI_FILE_BASED_OPTION_PAGE(QtAppearanceOptionPage)
|
||||
DECLARE_EXTERN_UI_FILE_BASED_OPTION_PAGE(QtLanguageOptionPage)
|
||||
|
|
|
@ -15,10 +15,10 @@
|
|||
#include <QShowEvent>
|
||||
#include <QStringBuilder>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Dialogs::SettingsDialog
|
||||
* \class SettingsDialog
|
||||
* \brief The SettingsDialog class provides a framework for creating settings
|
||||
* dialogs with different categories and subcategories.
|
||||
*/
|
||||
|
@ -280,4 +280,4 @@ void SettingsDialog::reset()
|
|||
}
|
||||
emit resetted();
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
namespace Dialogs {
|
||||
namespace QtUtilities {
|
||||
|
||||
class OptionCategoryModel;
|
||||
class OptionCategoryFilterModel;
|
||||
|
@ -75,6 +75,6 @@ inline OptionCategoryModel *SettingsDialog::categoryModel()
|
|||
{
|
||||
return m_categoryModel;
|
||||
}
|
||||
} // namespace Dialogs
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // DIALOGS_SETTINGSDIALOG_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dialogs::SettingsDialog</class>
|
||||
<widget class="QDialog" name="Dialogs::SettingsDialog">
|
||||
<class>QtUtilities::SettingsDialog</class>
|
||||
<widget class="QDialog" name="QtUtilities::SettingsDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
@ -58,7 +58,7 @@
|
|||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="Widgets::ClearLineEdit" name="filterLineEdit">
|
||||
<widget class="QtUtilities::ClearLineEdit" name="filterLineEdit">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>140</width>
|
||||
|
@ -173,7 +173,7 @@
|
|||
</widget>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>Widgets::ClearLineEdit</class>
|
||||
<class>QtUtilities::ClearLineEdit</class>
|
||||
<extends>QLineEdit</extends>
|
||||
<header>widgets/clearlineedit.h</header>
|
||||
</customwidget>
|
||||
|
|
|
@ -1,374 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>Dialogs::AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="32"/>
|
||||
<source>About</source>
|
||||
<translation>Über</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="135"/>
|
||||
<source>application name</source>
|
||||
<translatorcomment>just a placeholder</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="145"/>
|
||||
<source>version</source>
|
||||
<translatorcomment>just a placeholder</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="171"/>
|
||||
<source>description</source>
|
||||
<translatorcomment>just a placeholder</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="193"/>
|
||||
<source>website link</source>
|
||||
<translatorcomment>just a placeholder</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="231"/>
|
||||
<source>creators</source>
|
||||
<translatorcomment>just a placeholder</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="60"/>
|
||||
<source>developed by %1</source>
|
||||
<translation>entwickelt von %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="69"/>
|
||||
<source>Linked against:</source>
|
||||
<translation>Gegen folgende Bibliotheken gelinkt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="72"/>
|
||||
<source>For updates and bug reports visit the <a href="%1" style="text-decoration: underline; color: palette(link);">project website</a>.</source>
|
||||
<translation>Für Aktualisierung und Melden von Fehlern besuche die <a href="%1" style="text-decoration: underline; color: palette(link);">Webseite des Projekts</a>.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::EnterPasswordDialog</name>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="12"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="51"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="190"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="205"/>
|
||||
<source>Enter the password</source>
|
||||
<translation>Passwort eingeben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="64"/>
|
||||
<source>user name</source>
|
||||
<translation>Benutzername</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="86"/>
|
||||
<source>password</source>
|
||||
<translation>Passwort</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="102"/>
|
||||
<source>repeat password</source>
|
||||
<translation>Password wiederholen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="130"/>
|
||||
<source>show password</source>
|
||||
<translation>Passwort zeigen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="137"/>
|
||||
<source>don't use a password</source>
|
||||
<translation>Kein Passwort verwenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="213"/>
|
||||
<source>Capslock is active</source>
|
||||
<translation>Feststelltaste ist aktiviert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="239"/>
|
||||
<source>Abort</source>
|
||||
<translation>Abbrechen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="254"/>
|
||||
<source>Confirm</source>
|
||||
<translation>Bestätigen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="190"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="205"/>
|
||||
<source>Enter the new password</source>
|
||||
<translation>Neues Passwort festlegen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="290"/>
|
||||
<source>You didn't enter a user name.</source>
|
||||
<translation>Es wurde kein Benutzername eingegeben.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="292"/>
|
||||
<source>You didn't enter a password.</source>
|
||||
<translation>Es wurde kein Passwort eingegeben.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="297"/>
|
||||
<source>You have to enter the new password twice to ensure you enterd it correct.</source>
|
||||
<translation>Um sicher zu stellen, dass das neue Passwort richtig eingegeben wurde, muss es zweimal eingegeben werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="300"/>
|
||||
<source>You mistyped the password.</source>
|
||||
<translation>Erstes und zweites Passwort stimmen nicht überein.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::PaletteEditor</name>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="20"/>
|
||||
<source>Edit Palette</source>
|
||||
<translation>Palette ändern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="53"/>
|
||||
<source>Tune Palette</source>
|
||||
<translation>Palette</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="84"/>
|
||||
<source>Show Detai&ls</source>
|
||||
<translation>Details einblenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="91"/>
|
||||
<source>&Compute Details</source>
|
||||
<translation>Details berechnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="101"/>
|
||||
<source>Quick</source>
|
||||
<translation>Einfach</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::PaletteModel</name>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="323"/>
|
||||
<source>Color Role</source>
|
||||
<translation>Farbrolle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="325"/>
|
||||
<source>Active</source>
|
||||
<translation>Aktiv</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="327"/>
|
||||
<source>Inactive</source>
|
||||
<translation>Inaktiv</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="329"/>
|
||||
<source>Disabled</source>
|
||||
<translation>Deaktiviert</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::QtAppearanceOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="6"/>
|
||||
<source>Appearance</source>
|
||||
<translation>Erscheinungsbild</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="21"/>
|
||||
<source>Use system default</source>
|
||||
<translation>Verwende Systemvorgabe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="34"/>
|
||||
<source>Font</source>
|
||||
<translation>Schriftart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="71"/>
|
||||
<source>More options ...</source>
|
||||
<translation>Weitere Optionen ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="93"/>
|
||||
<source>Widget style</source>
|
||||
<translation>Widget-Stil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="132"/>
|
||||
<source>Style sheet</source>
|
||||
<translation>Stylesheet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="162"/>
|
||||
<source>Palette</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="175"/>
|
||||
<source>select ...</source>
|
||||
<translation>Bearbeiten ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="195"/>
|
||||
<source>Icon theme</source>
|
||||
<translation>Symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="249"/>
|
||||
<source>These settings take effect after restarting the application.
|
||||
These settings might be overwritten by your Qt 5 platfrom integration plugin and hence have no effect.</source>
|
||||
<translation>Diese Einstellungen wirken sich erst nach einem Neustart der Anwendung aus.
|
||||
Außerdem werden sie vielleicht vom QPA plugin überschrieben und funktionieren daher nicht.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::QtEnvOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="14"/>
|
||||
<source>Environment/paths</source>
|
||||
<translation>Umgebung/Pfade</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="28"/>
|
||||
<source>Additional plugin directory</source>
|
||||
<translation>Zusätzliches Plugin-Verzeichnis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="38"/>
|
||||
<source>Additional icon theme search path</source>
|
||||
<translation>Zusätzliches Verzeichnis für Symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="48"/>
|
||||
<source>Additional translation search path</source>
|
||||
<translation>Zusätzliches Verzeichnis für Übersetzungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="79"/>
|
||||
<source>These settings take effect after restarting the application.</source>
|
||||
<translation>Diese Einstellungen wirken sich erst nach einem Neustart der Anwendung aus.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::QtLanguageOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="6"/>
|
||||
<source>Localization</source>
|
||||
<translation>Lokalisierung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="43"/>
|
||||
<source>Locale</source>
|
||||
<translation>Gebietsschema</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="53"/>
|
||||
<source>Use system default</source>
|
||||
<translation>Verwende Systemvorgabe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="98"/>
|
||||
<source>These settings take effect after restarting the application.</source>
|
||||
<translation>Diese Einstellungen wirken sich erst nach einem Neustart der Anwendung aus.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::SettingsDialog</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="14"/>
|
||||
<source>Settings</source>
|
||||
<translation>Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="53"/>
|
||||
<location filename="../settingsdialog/settingsdialog.cpp" line="150"/>
|
||||
<source>No category selected</source>
|
||||
<translation>Keine Kategorie gewählt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="69"/>
|
||||
<source>Filter</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="136"/>
|
||||
<source>Abort</source>
|
||||
<translation>Abbrechen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="150"/>
|
||||
<source>Apply</source>
|
||||
<translation>Anwenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="161"/>
|
||||
<source>OK</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.cpp" line="245"/>
|
||||
<source><p><b>Errors occurred when applying changes:</b></p><ul></source>
|
||||
<translation><p><b>Beim Anwenden der Einstellungen sind Fehler aufgetreten:</b></p><ul></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.cpp" line="250"/>
|
||||
<source>unknonw error</source>
|
||||
<translation>unbekannter Fehler</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MiscUtils::RecentMenuManager</name>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="35"/>
|
||||
<source>&Recent</source>
|
||||
<translation>&Zuletzt verwendet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="38"/>
|
||||
<source>&Clear list</source>
|
||||
<translation>&Liste löschen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="144"/>
|
||||
<source>Recently opened files - </source>
|
||||
<translation>Kürzlich geöffnete Dateien - </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="145"/>
|
||||
<source>The selected file can't be found anymore. Do you want to delete the obsolete entry from the list?</source>
|
||||
<translation>Die ausgewählte Datei kann nicht mehr gefunden werden. Soll die Datei aus der Liste gelöscht werden?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="148"/>
|
||||
<source>keep entry</source>
|
||||
<translation>Eintrag behalten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="149"/>
|
||||
<source>delete entry</source>
|
||||
<translation>Eintrag löschen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../widgets/buttonoverlay.cpp" line="84"/>
|
||||
<location filename="../widgets/buttonoverlay.cpp" line="78"/>
|
||||
<source>Clear</source>
|
||||
<translation>Text löschen</translation>
|
||||
</message>
|
||||
|
@ -390,51 +26,410 @@ Außerdem werden sie vielleicht vom QPA plugin überschrieben und funktionieren
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Utilities::windowTitle</name>
|
||||
<name>QtUtilities::AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="30"/>
|
||||
<source>Unsaved - %1</source>
|
||||
<translation>Nicht gespeichert - %1</translation>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="24"/>
|
||||
<source>About</source>
|
||||
<translation type="unfinished">Über</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="33"/>
|
||||
<source>%1 - %2 - %3</source>
|
||||
<translation></translation>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="127"/>
|
||||
<source>application name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="38"/>
|
||||
<source>*Unsaved - %1</source>
|
||||
<translation>*Nicht gespeichert - %1</translation>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="137"/>
|
||||
<source>version</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="41"/>
|
||||
<source>*%1 - %2 - %3</source>
|
||||
<translation></translation>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="163"/>
|
||||
<source>description</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="185"/>
|
||||
<source>website link</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="226"/>
|
||||
<source>creators</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="62"/>
|
||||
<source>developed by %1</source>
|
||||
<translation type="unfinished">entwickelt von %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="72"/>
|
||||
<source>Linked against:</source>
|
||||
<translation type="unfinished">Gegen folgende Bibliotheken gelinkt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="75"/>
|
||||
<source>For updates and bug reports visit the <a href="%1" style="text-decoration: underline; color: palette(link);">project website</a>.</source>
|
||||
<translation type="unfinished">Für Aktualisierung und Melden von Fehlern besuche die <a href="%1" style="text-decoration: underline; color: palette(link);">Webseite des Projekts</a>.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Widgets::PathSelection</name>
|
||||
<name>QtUtilities::EnterPasswordDialog</name>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="12"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="51"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="190"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="205"/>
|
||||
<source>Enter the password</source>
|
||||
<translation type="unfinished">Passwort eingeben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="64"/>
|
||||
<source>user name</source>
|
||||
<translation type="unfinished">Benutzername</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="86"/>
|
||||
<source>password</source>
|
||||
<translation type="unfinished">Passwort</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="102"/>
|
||||
<source>repeat password</source>
|
||||
<translation type="unfinished">Password wiederholen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="130"/>
|
||||
<source>show password</source>
|
||||
<translation type="unfinished">Passwort zeigen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="137"/>
|
||||
<source>don't use a password</source>
|
||||
<translation type="unfinished">Kein Passwort verwenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="213"/>
|
||||
<source>Capslock is active</source>
|
||||
<translation type="unfinished">Feststelltaste ist aktiviert</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="239"/>
|
||||
<source>Abort</source>
|
||||
<translation type="unfinished">Abbrechen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="254"/>
|
||||
<source>Confirm</source>
|
||||
<translation type="unfinished">Bestätigen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="190"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="205"/>
|
||||
<source>Enter the new password</source>
|
||||
<translation type="unfinished">Neues Passwort festlegen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="290"/>
|
||||
<source>You didn't enter a user name.</source>
|
||||
<translation type="unfinished">Es wurde kein Benutzername eingegeben.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="292"/>
|
||||
<source>You didn't enter a password.</source>
|
||||
<translation type="unfinished">Es wurde kein Passwort eingegeben.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="297"/>
|
||||
<source>You have to enter the new password twice to ensure you enterd it correct.</source>
|
||||
<translation type="unfinished">Um sicher zu stellen, dass das neue Passwort richtig eingegeben wurde, muss es zweimal eingegeben werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.cpp" line="300"/>
|
||||
<source>You mistyped the password.</source>
|
||||
<translation type="unfinished">Erstes und zweites Passwort stimmen nicht überein.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::PaletteEditor</name>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="20"/>
|
||||
<source>Edit Palette</source>
|
||||
<translation type="unfinished">Palette ändern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="53"/>
|
||||
<source>Tune Palette</source>
|
||||
<translation type="unfinished">Palette</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="84"/>
|
||||
<source>Show Detai&ls</source>
|
||||
<translation type="unfinished">Details einblenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="91"/>
|
||||
<source>&Compute Details</source>
|
||||
<translation type="unfinished">Details berechnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="101"/>
|
||||
<source>Quick</source>
|
||||
<translation type="unfinished">Einfach</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::PaletteModel</name>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="321"/>
|
||||
<source>Color Role</source>
|
||||
<translation type="unfinished">Farbrolle</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="323"/>
|
||||
<source>Active</source>
|
||||
<translation type="unfinished">Aktiv</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="325"/>
|
||||
<source>Inactive</source>
|
||||
<translation type="unfinished">Inaktiv</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="327"/>
|
||||
<source>Disabled</source>
|
||||
<translation type="unfinished">Deaktiviert</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::PathSelection</name>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="56"/>
|
||||
<location filename="../widgets/pathselection.cpp" line="76"/>
|
||||
<source>Select ...</source>
|
||||
<translation>Wählen ...</translation>
|
||||
<translation type="unfinished">Wählen ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="81"/>
|
||||
<source>Open</source>
|
||||
<translation>Öffnen</translation>
|
||||
<translation type="unfinished">Öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="84"/>
|
||||
<source>Explore</source>
|
||||
<translation>Im Dateibrowser öffnen</translation>
|
||||
<translation type="unfinished">Im Dateibrowser öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="120"/>
|
||||
<location filename="../widgets/pathselection.cpp" line="122"/>
|
||||
<source>Select path</source>
|
||||
<translation>Pfad auswählen</translation>
|
||||
<translation type="unfinished">Pfad auswählen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::QtAppearanceOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="6"/>
|
||||
<source>Appearance</source>
|
||||
<translation type="unfinished">Erscheinungsbild</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="21"/>
|
||||
<source>Use system default</source>
|
||||
<translation type="unfinished">Verwende Systemvorgabe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="34"/>
|
||||
<source>Font</source>
|
||||
<translation type="unfinished">Schriftart</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="71"/>
|
||||
<source>More options ...</source>
|
||||
<translation type="unfinished">Weitere Optionen ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="93"/>
|
||||
<source>Widget style</source>
|
||||
<translation type="unfinished">Widget-Stil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="132"/>
|
||||
<source>Style sheet</source>
|
||||
<translation type="unfinished">Stylesheet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="162"/>
|
||||
<source>Palette</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="175"/>
|
||||
<source>select ...</source>
|
||||
<translation type="unfinished">Bearbeiten ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="195"/>
|
||||
<source>Icon theme</source>
|
||||
<translation type="unfinished">Symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="249"/>
|
||||
<source>These settings take effect after restarting the application.
|
||||
These settings might be overwritten by your Qt 5 platfrom integration plugin and hence have no effect.</source>
|
||||
<translation type="unfinished">Diese Einstellungen wirken sich erst nach einem Neustart der Anwendung aus.
|
||||
Außerdem werden sie vielleicht vom QPA plugin überschrieben und funktionieren daher nicht.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::QtEnvOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="14"/>
|
||||
<source>Environment/paths</source>
|
||||
<translation type="unfinished">Umgebung/Pfade</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="28"/>
|
||||
<source>Additional plugin directory</source>
|
||||
<translation type="unfinished">Zusätzliches Plugin-Verzeichnis</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="38"/>
|
||||
<source>Additional icon theme search path</source>
|
||||
<translation type="unfinished">Zusätzliches Verzeichnis für Symbole</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="48"/>
|
||||
<source>Additional translation search path</source>
|
||||
<translation type="unfinished">Zusätzliches Verzeichnis für Übersetzungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="79"/>
|
||||
<source>These settings take effect after restarting the application.</source>
|
||||
<translation type="unfinished">Diese Einstellungen wirken sich erst nach einem Neustart der Anwendung aus.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::QtLanguageOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="6"/>
|
||||
<source>Localization</source>
|
||||
<translation type="unfinished">Lokalisierung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="43"/>
|
||||
<source>Locale</source>
|
||||
<translation type="unfinished">Gebietsschema</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="53"/>
|
||||
<source>Use system default</source>
|
||||
<translation type="unfinished">Verwende Systemvorgabe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="98"/>
|
||||
<source>These settings take effect after restarting the application.</source>
|
||||
<translation type="unfinished">Diese Einstellungen wirken sich erst nach einem Neustart der Anwendung aus.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::RecentMenuManager</name>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="35"/>
|
||||
<source>&Recent</source>
|
||||
<translation type="unfinished">&Zuletzt verwendet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="38"/>
|
||||
<source>&Clear list</source>
|
||||
<translation type="unfinished">&Liste löschen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="144"/>
|
||||
<source>Recently opened files - </source>
|
||||
<translation type="unfinished">Kürzlich geöffnete Dateien - </translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="145"/>
|
||||
<source>The selected file can't be found anymore. Do you want to delete the obsolete entry from the list?</source>
|
||||
<translation type="unfinished">Die ausgewählte Datei kann nicht mehr gefunden werden. Soll die Datei aus der Liste gelöscht werden?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="148"/>
|
||||
<source>keep entry</source>
|
||||
<translation type="unfinished">Eintrag behalten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="149"/>
|
||||
<source>delete entry</source>
|
||||
<translation type="unfinished">Eintrag löschen</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::SettingsDialog</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="14"/>
|
||||
<source>Settings</source>
|
||||
<translation type="unfinished">Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="53"/>
|
||||
<location filename="../settingsdialog/settingsdialog.cpp" line="150"/>
|
||||
<source>No category selected</source>
|
||||
<translation type="unfinished">Keine Kategorie gewählt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="69"/>
|
||||
<source>Filter</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="136"/>
|
||||
<source>Abort</source>
|
||||
<translation type="unfinished">Abbrechen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="150"/>
|
||||
<source>Apply</source>
|
||||
<translation type="unfinished">Anwenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="161"/>
|
||||
<source>OK</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.cpp" line="245"/>
|
||||
<source><p><b>Errors occurred when applying changes:</b></p><ul></source>
|
||||
<translation type="unfinished"><p><b>Beim Anwenden der Einstellungen sind Fehler aufgetreten:</b></p><ul></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.cpp" line="250"/>
|
||||
<source>unknonw error</source>
|
||||
<translation type="unfinished">unbekannter Fehler</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Utilities::windowTitle</name>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="32"/>
|
||||
<source>Unsaved - %1</source>
|
||||
<translation>Nicht gespeichert - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="35"/>
|
||||
<source>%1 - %2 - %3</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="40"/>
|
||||
<source>*Unsaved - %1</source>
|
||||
<translation>*Nicht gespeichert - %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="43"/>
|
||||
<source>*%1 - %2 - %3</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -2,55 +2,79 @@
|
|||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>Dialogs::AboutDialog</name>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="32"/>
|
||||
<location filename="../widgets/buttonoverlay.cpp" line="78"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtGui::QtLanguageOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtsettings.cpp" line="367"/>
|
||||
<source>recognized by Qt as</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtGui::QtOptionCategory</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtsettings.cpp" line="215"/>
|
||||
<source>Qt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::AboutDialog</name>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="24"/>
|
||||
<source>About</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="135"/>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="127"/>
|
||||
<source>application name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="145"/>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="137"/>
|
||||
<source>version</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="171"/>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="163"/>
|
||||
<source>description</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="193"/>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="185"/>
|
||||
<source>website link</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="231"/>
|
||||
<location filename="../aboutdialog/aboutdialog.ui" line="226"/>
|
||||
<source>creators</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="60"/>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="62"/>
|
||||
<source>developed by %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="69"/>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="72"/>
|
||||
<source>Linked against:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="72"/>
|
||||
<location filename="../aboutdialog/aboutdialog.cpp" line="75"/>
|
||||
<source>For updates and bug reports visit the <a href="%1" style="text-decoration: underline; color: palette(link);">project website</a>.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::EnterPasswordDialog</name>
|
||||
<name>QtUtilities::EnterPasswordDialog</name>
|
||||
<message>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="12"/>
|
||||
<location filename="../enterpassworddialog/enterpassworddialog.ui" line="51"/>
|
||||
|
@ -127,7 +151,7 @@
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::PaletteEditor</name>
|
||||
<name>QtUtilities::PaletteEditor</name>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.ui" line="20"/>
|
||||
<source>Edit Palette</source>
|
||||
|
@ -155,30 +179,55 @@
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::PaletteModel</name>
|
||||
<name>QtUtilities::PaletteModel</name>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="323"/>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="321"/>
|
||||
<source>Color Role</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="325"/>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="323"/>
|
||||
<source>Active</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="327"/>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="325"/>
|
||||
<source>Inactive</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="329"/>
|
||||
<location filename="../paletteeditor/paletteeditor.cpp" line="327"/>
|
||||
<source>Disabled</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::QtAppearanceOptionPage</name>
|
||||
<name>QtUtilities::PathSelection</name>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="56"/>
|
||||
<location filename="../widgets/pathselection.cpp" line="76"/>
|
||||
<source>Select ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="81"/>
|
||||
<source>Open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="84"/>
|
||||
<source>Explore</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="120"/>
|
||||
<location filename="../widgets/pathselection.cpp" line="122"/>
|
||||
<source>Select path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::QtAppearanceOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtappearanceoptionpage.ui" line="6"/>
|
||||
<source>Appearance</source>
|
||||
|
@ -232,7 +281,7 @@ These settings might be overwritten by your Qt 5 platfrom integration plugin and
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::QtEnvOptionPage</name>
|
||||
<name>QtUtilities::QtEnvOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtenvoptionpage.ui" line="14"/>
|
||||
<source>Environment/paths</source>
|
||||
|
@ -260,7 +309,7 @@ These settings might be overwritten by your Qt 5 platfrom integration plugin and
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::QtLanguageOptionPage</name>
|
||||
<name>QtUtilities::QtLanguageOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtlanguageoptionpage.ui" line="6"/>
|
||||
<source>Localization</source>
|
||||
|
@ -283,7 +332,40 @@ These settings might be overwritten by your Qt 5 platfrom integration plugin and
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Dialogs::SettingsDialog</name>
|
||||
<name>QtUtilities::RecentMenuManager</name>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="35"/>
|
||||
<source>&Recent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="38"/>
|
||||
<source>&Clear list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="144"/>
|
||||
<source>Recently opened files - </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="145"/>
|
||||
<source>The selected file can't be found anymore. Do you want to delete the obsolete entry from the list?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="148"/>
|
||||
<source>keep entry</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="149"/>
|
||||
<source>delete entry</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtUtilities::SettingsDialog</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/settingsdialog.ui" line="14"/>
|
||||
<source>Settings</source>
|
||||
|
@ -326,109 +408,27 @@ These settings might be overwritten by your Qt 5 platfrom integration plugin and
|
|||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MiscUtils::RecentMenuManager</name>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="35"/>
|
||||
<source>&Recent</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="38"/>
|
||||
<source>&Clear list</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="144"/>
|
||||
<source>Recently opened files - </source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="145"/>
|
||||
<source>The selected file can't be found anymore. Do you want to delete the obsolete entry from the list?</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="148"/>
|
||||
<source>keep entry</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/recentmenumanager.cpp" line="149"/>
|
||||
<source>delete entry</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../widgets/buttonoverlay.cpp" line="84"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtGui::QtLanguageOptionPage</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtsettings.cpp" line="367"/>
|
||||
<source>recognized by Qt as</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QtGui::QtOptionCategory</name>
|
||||
<message>
|
||||
<location filename="../settingsdialog/qtsettings.cpp" line="215"/>
|
||||
<source>Qt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Utilities::windowTitle</name>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="30"/>
|
||||
<location filename="../misc/dialogutils.cpp" line="32"/>
|
||||
<source>Unsaved - %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="33"/>
|
||||
<location filename="../misc/dialogutils.cpp" line="35"/>
|
||||
<source>%1 - %2 - %3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="38"/>
|
||||
<location filename="../misc/dialogutils.cpp" line="40"/>
|
||||
<source>*Unsaved - %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../misc/dialogutils.cpp" line="41"/>
|
||||
<location filename="../misc/dialogutils.cpp" line="43"/>
|
||||
<source>*%1 - %2 - %3</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Widgets::PathSelection</name>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="56"/>
|
||||
<location filename="../widgets/pathselection.cpp" line="76"/>
|
||||
<source>Select ...</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="81"/>
|
||||
<source>Open</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="84"/>
|
||||
<source>Explore</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../widgets/pathselection.cpp" line="120"/>
|
||||
<location filename="../widgets/pathselection.cpp" line="122"/>
|
||||
<source>Select path</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
|
|
@ -10,16 +10,10 @@
|
|||
|
||||
#include <functional>
|
||||
|
||||
/*!
|
||||
* \namespace Widgets
|
||||
* \brief Provides a set of extended widgets such as ClearLineEdit and
|
||||
* ClearComboBox.
|
||||
*/
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::ButtonOverlay
|
||||
* \class ButtonOverlay
|
||||
* \brief The ButtonOverlay class is used to display buttons on top of other
|
||||
* widgets.
|
||||
*
|
||||
|
@ -196,4 +190,4 @@ void ButtonOverlay::showInfo()
|
|||
QToolTip::showText(QCursor::pos(), m_infoButton->toolTip(), m_infoButton);
|
||||
}
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -10,7 +10,7 @@ QT_FORWARD_DECLARE_CLASS(QHBoxLayout)
|
|||
QT_FORWARD_DECLARE_CLASS(QString)
|
||||
QT_FORWARD_DECLARE_CLASS(QPixmap)
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class IconButton;
|
||||
|
||||
|
@ -67,6 +67,6 @@ inline bool ButtonOverlay::isInfoButtonEnabled() const
|
|||
{
|
||||
return m_infoButton != nullptr;
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_BUTTONOVERLAY_H
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
#include <QStyle>
|
||||
#include <QStyleOptionComboBox>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::ClearComboBox
|
||||
* \class ClearComboBox
|
||||
* \brief A QComboBox with an embedded button for clearing its contents.
|
||||
*/
|
||||
|
||||
|
@ -54,4 +54,4 @@ bool ClearComboBox::isCleared() const
|
|||
{
|
||||
return currentText().isEmpty();
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <QComboBox>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class QT_UTILITIES_EXPORT ClearComboBox : public QComboBox, public ButtonOverlay {
|
||||
Q_OBJECT
|
||||
|
@ -19,6 +19,6 @@ private Q_SLOTS:
|
|||
void handleClearButtonClicked() override;
|
||||
};
|
||||
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_CLEARCOMBOBOX_H
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#include "./clearlineedit.h"
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::ClearLineEdit
|
||||
* \class ClearLineEdit
|
||||
* \brief A QLineEdit with an embedded button for clearing its contents.
|
||||
*/
|
||||
|
||||
|
@ -42,4 +42,4 @@ bool ClearLineEdit::isCleared() const
|
|||
{
|
||||
return text().isEmpty();
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QHBoxLayout)
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class IconButton;
|
||||
|
||||
|
@ -22,6 +22,6 @@ private Q_SLOTS:
|
|||
void handleTextChanged(const QString &text);
|
||||
void handleClearButtonClicked() override;
|
||||
};
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_CLEARLINEEDIT_H
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::ClearPlainTextEdit
|
||||
* \class ClearPlainTextEdit
|
||||
* \brief A QPlainTextEdit with an embedded button for clearing its contents.
|
||||
*/
|
||||
|
||||
|
@ -61,4 +61,4 @@ bool ClearPlainTextEdit::isCleared() const
|
|||
return document()->isEmpty();
|
||||
}
|
||||
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
#include <QPlainTextEdit>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class QT_UTILITIES_EXPORT ClearPlainTextEdit : public QPlainTextEdit, public ButtonOverlay {
|
||||
Q_OBJECT
|
||||
|
@ -20,6 +20,6 @@ private Q_SLOTS:
|
|||
void handleScroll();
|
||||
};
|
||||
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_CLEARPLAINTEXTEDIT_H
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
#include <QStyle>
|
||||
#include <QStyleOptionSpinBox>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::ClearSpinBox
|
||||
* \class ClearSpinBox
|
||||
* \brief A QSpinBox with an embedded button for clearing its contents and the
|
||||
* ability to hide
|
||||
* the minimum value.
|
||||
|
@ -75,4 +75,4 @@ QString ClearSpinBox::textFromValue(int val) const
|
|||
return QSpinBox::textFromValue(val);
|
||||
}
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
QT_FORWARD_DECLARE_CLASS(QHBoxLayout)
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class IconButton;
|
||||
|
||||
|
@ -72,6 +72,6 @@ inline void ClearSpinBox::setPlaceholderText(const QString &placeholderText)
|
|||
{
|
||||
lineEdit()->setPlaceholderText(placeholderText);
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_CLEARSPINBOX_H
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
#include <QStyleOptionFocusRect>
|
||||
#include <QStylePainter>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::IconButton
|
||||
* \class IconButton
|
||||
* \brief A simple QAbstractButton implementation displaying a QPixmap.
|
||||
*/
|
||||
|
||||
|
@ -77,4 +77,4 @@ void IconButton::keyReleaseEvent(QKeyEvent *event)
|
|||
QAbstractButton::keyReleaseEvent(event);
|
||||
event->accept();
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <QAbstractButton>
|
||||
#include <QPixmap>
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class QT_UTILITIES_EXPORT IconButton : public QAbstractButton {
|
||||
Q_OBJECT
|
||||
|
@ -45,6 +45,6 @@ inline void IconButton::setPixmap(const QPixmap &pixmap)
|
|||
m_pixmap = pixmap;
|
||||
update();
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_ICONBUTTON_H
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
/*!
|
||||
* \class Widgets::PathSelection
|
||||
* \class PathSelection
|
||||
* \brief A QLineEdit with a QPushButton next to it which allows to select
|
||||
* file/directory via QFileDialog.
|
||||
*/
|
||||
|
@ -79,10 +79,10 @@ bool PathSelection::eventFilter(QObject *obj, QEvent *event)
|
|||
if (fileInfo.exists()) {
|
||||
if (fileInfo.isFile()) {
|
||||
connect(menu->addAction(QIcon::fromTheme(QStringLiteral("system-run")), tr("Open")), &QAction::triggered,
|
||||
bind(&DesktopUtils::openLocalFileOrDir, m_lineEdit->text()));
|
||||
bind(&openLocalFileOrDir, m_lineEdit->text()));
|
||||
} else if (fileInfo.isDir()) {
|
||||
connect(menu->addAction(QIcon::fromTheme(QStringLiteral("system-file-manager")), tr("Explore")), &QAction::triggered,
|
||||
bind(&DesktopUtils::openLocalFileOrDir, m_lineEdit->text()));
|
||||
bind(&openLocalFileOrDir, m_lineEdit->text()));
|
||||
}
|
||||
}
|
||||
menu->exec(static_cast<QContextMenuEvent *>(event)->globalPos());
|
||||
|
@ -127,4 +127,4 @@ void PathSelection::showFileDialog()
|
|||
}
|
||||
}
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
QT_FORWARD_DECLARE_CLASS(QPushButton)
|
||||
QT_FORWARD_DECLARE_CLASS(QCompleter)
|
||||
|
||||
namespace Widgets {
|
||||
namespace QtUtilities {
|
||||
|
||||
class ClearLineEdit;
|
||||
|
||||
|
@ -72,6 +72,6 @@ inline void PathSelection::provideCustomFileDialog(QFileDialog *customFileDialog
|
|||
{
|
||||
m_customDialog = customFileDialog;
|
||||
}
|
||||
} // namespace Widgets
|
||||
} // namespace QtUtilities
|
||||
|
||||
#endif // WIDGETS_PATHSELECTION_H
|
||||
|
|
Loading…
Reference in New Issue