Moved AboutMeDialog into profileplugin
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
#include "aboutmedialog.h"
|
||||
#include "ui_aboutmedialog.h"
|
||||
#include "profiledialog.h"
|
||||
#include "ui_profiledialog.h"
|
||||
|
||||
AboutMeDialog::AboutMeDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent) :
|
||||
ProfileDialog::ProfileDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent) :
|
||||
QDialog(parent),
|
||||
ui(new Ui::AboutMeDialog)
|
||||
ui(new Ui::ProfileDialog)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
@@ -26,7 +26,7 @@ AboutMeDialog::AboutMeDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget
|
||||
ui->lineEditBetriebsnr->setText(userInfo.betriebsnr);
|
||||
}
|
||||
|
||||
AboutMeDialog::~AboutMeDialog()
|
||||
ProfileDialog::~ProfileDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
20
plugins/profileplugin/profiledialog.h
Normal file
20
plugins/profileplugin/profiledialog.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "zeiterfassungguilib_global.h"
|
||||
#include "replies/getuserinforeply.h"
|
||||
|
||||
namespace Ui { class ProfileDialog; }
|
||||
|
||||
class ZEITERFASSUNGGUILIBSHARED_EXPORT ProfileDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ProfileDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent = Q_NULLPTR);
|
||||
~ProfileDialog();
|
||||
|
||||
private:
|
||||
Ui::ProfileDialog *ui;
|
||||
};
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>AboutMeDialog</class>
|
||||
<widget class="QDialog" name="AboutMeDialog">
|
||||
<class>ProfileDialog</class>
|
||||
<widget class="QDialog" name="ProfileDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
@@ -11,21 +11,9 @@
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>About me</string>
|
||||
<string>Profile</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0">
|
||||
<item>
|
||||
<widget class="QLabel" name="labelTitle">
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>About me</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QScrollArea" name="scrollArea">
|
||||
<property name="widgetResizable">
|
||||
@@ -315,7 +303,7 @@
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>AboutMeDialog</receiver>
|
||||
<receiver>ProfileDialog</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
@@ -4,12 +4,13 @@
|
||||
#include <QDir>
|
||||
#include <QCoreApplication>
|
||||
#include <QLocale>
|
||||
#include <QDialog>
|
||||
#include <QMenu>
|
||||
#include <QAction>
|
||||
|
||||
#include "mainwindow.h"
|
||||
|
||||
#include "profiledialog.h"
|
||||
|
||||
ProfilePlugin::ProfilePlugin(QObject *parent) :
|
||||
ZeiterfassungPlugin(parent)
|
||||
{
|
||||
@@ -32,7 +33,7 @@ ProfilePlugin::ProfilePlugin(QObject *parent) :
|
||||
|
||||
void ProfilePlugin::attachTo(MainWindow &mainWindow)
|
||||
{
|
||||
auto dialog = new QDialog(&mainWindow);
|
||||
auto dialog = new ProfileDialog(mainWindow.userInfo(), &mainWindow);
|
||||
mainWindow.menuTools()->addAction(QIcon(QStringLiteral(":/zeiterfassung/plugins/profileplugin/images/profile.png")),
|
||||
tr("My profile"), dialog, &QDialog::open);
|
||||
}
|
||||
|
@@ -14,11 +14,13 @@ DEPENDPATH += $$PWD/../../zeiterfassungcorelib $$PWD/../../zeiterfassungguilib
|
||||
|
||||
DEFINES += QT_DEPRECATED_WARNINGS QT_DISABLE_DEPRECATED_BEFORE=0x060000 QT_MESSAGELOGCONTEXT
|
||||
|
||||
HEADERS += profileplugin.h
|
||||
HEADERS += profiledialog.h \
|
||||
profileplugin.h
|
||||
|
||||
SOURCES += profileplugin.cpp
|
||||
SOURCES += profiledialog.cpp \
|
||||
profileplugin.cpp
|
||||
|
||||
FORMS +=
|
||||
FORMS += profiledialog.ui
|
||||
|
||||
RESOURCES += profileplugin_resources.qrc
|
||||
|
||||
|
@@ -1,12 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>ProfileDialog</name>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="14"/>
|
||||
<source>Profile</source>
|
||||
<translation>Profil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="35"/>
|
||||
<source>User-ID:</source>
|
||||
<translation>Benutzer-ID:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="45"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation>E-Mail:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="55"/>
|
||||
<source>Long username:</source>
|
||||
<translation>Langer Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="65"/>
|
||||
<source>Text:</source>
|
||||
<translation>Text:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="75"/>
|
||||
<source>Username:</source>
|
||||
<translation>Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="123"/>
|
||||
<source>Street:</source>
|
||||
<translation>Straße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="130"/>
|
||||
<source>City:</source>
|
||||
<translation>Stadt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="137"/>
|
||||
<source>Employed since:</source>
|
||||
<translation>Angestellt seit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="144"/>
|
||||
<source>Employed till:</source>
|
||||
<translation>Angestellt bis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="151"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation>Geburtsort:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="158"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation>Postleitzahl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="165"/>
|
||||
<source>Religion:</source>
|
||||
<translation>Religion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="172"/>
|
||||
<source>Department:</source>
|
||||
<translation>Abteilung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="179"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation>Verwendgr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="186"/>
|
||||
<source>Taetig:</source>
|
||||
<translation>Taetig:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation>Arbverh:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="200"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation>Betriebsnr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.cpp" line="17"/>
|
||||
<location filename="../profiledialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation>dd.MM.yyyy</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProfilePlugin</name>
|
||||
<message>
|
||||
<location filename="../profileplugin.cpp" line="35"/>
|
||||
<location filename="../profileplugin.cpp" line="38"/>
|
||||
<source>My profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>Mein Profil</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
@@ -1,10 +1,109 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>ProfileDialog</name>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="14"/>
|
||||
<source>Profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="35"/>
|
||||
<source>User-ID:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="45"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="55"/>
|
||||
<source>Long username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="65"/>
|
||||
<source>Text:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="75"/>
|
||||
<source>Username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="123"/>
|
||||
<source>Street:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="130"/>
|
||||
<source>City:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="137"/>
|
||||
<source>Employed since:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="144"/>
|
||||
<source>Employed till:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="151"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="158"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="165"/>
|
||||
<source>Religion:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="172"/>
|
||||
<source>Department:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="179"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="186"/>
|
||||
<source>Taetig:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="193"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.ui" line="200"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../profiledialog.cpp" line="17"/>
|
||||
<location filename="../profiledialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ProfilePlugin</name>
|
||||
<message>
|
||||
<location filename="../profileplugin.cpp" line="35"/>
|
||||
<location filename="../profileplugin.cpp" line="38"/>
|
||||
<source>My profile</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@@ -1,20 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
#include "zeiterfassungguilib_global.h"
|
||||
#include "replies/getuserinforeply.h"
|
||||
|
||||
namespace Ui { class AboutMeDialog; }
|
||||
|
||||
class ZEITERFASSUNGGUILIBSHARED_EXPORT AboutMeDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit AboutMeDialog(const GetUserInfoReply::UserInfo &userInfo, QWidget *parent = Q_NULLPTR);
|
||||
~AboutMeDialog();
|
||||
|
||||
private:
|
||||
Ui::AboutMeDialog *ui;
|
||||
};
|
@@ -19,7 +19,6 @@
|
||||
#include "zeiterfassungsettings.h"
|
||||
#include "stripfactory.h"
|
||||
#include "stripswidget.h"
|
||||
#include "dialogs/aboutmedialog.h"
|
||||
#include "dialogs/settingsdialog.h"
|
||||
#include "replies/getprojectsreply.h"
|
||||
#include "replies/createbookingreply.h"
|
||||
@@ -47,7 +46,6 @@ MainWindow::MainWindow(ZeiterfassungSettings &settings, ZeiterfassungApi &erfass
|
||||
ui->actionRefresh->setShortcut(QKeySequence::Refresh);
|
||||
connect(ui->actionRefresh, &QAction::triggered, this, &MainWindow::refreshEverything);
|
||||
|
||||
connect(ui->actionAboutMe, &QAction::triggered, [=](){ AboutMeDialog(userInfo, this).exec(); });
|
||||
connect(ui->actionSettings, &QAction::triggered, [=](){ SettingsDialog(m_settings, this).exec(); });
|
||||
|
||||
ui->actionHelp->setShortcut(QKeySequence::HelpContents);
|
||||
|
@@ -211,7 +211,6 @@
|
||||
<property name="title">
|
||||
<string>&About</string>
|
||||
</property>
|
||||
<addaction name="actionAboutMe"/>
|
||||
<addaction name="actionSettings"/>
|
||||
<addaction name="actionHelp"/>
|
||||
<addaction name="separator"/>
|
||||
|
@@ -1,106 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>AboutMeDialog</name>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="14"/>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="25"/>
|
||||
<source>About me</source>
|
||||
<translation>Über mich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="47"/>
|
||||
<source>User-ID:</source>
|
||||
<translation>Benutzer-ID:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="57"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation>E-Mail:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="67"/>
|
||||
<source>Long username:</source>
|
||||
<translation>Langer Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="77"/>
|
||||
<source>Text:</source>
|
||||
<translation>Text:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="87"/>
|
||||
<source>Username:</source>
|
||||
<translation>Benutzername:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="135"/>
|
||||
<source>Street:</source>
|
||||
<translation>Straße:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="142"/>
|
||||
<source>City:</source>
|
||||
<translation>Stadt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="149"/>
|
||||
<source>Employed since:</source>
|
||||
<translation>Angestellt seit:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="156"/>
|
||||
<source>Employed till:</source>
|
||||
<translation>Angestellt bis:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="163"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation>Geburtsort:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="170"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation>Postleitzahl:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="177"/>
|
||||
<source>Religion:</source>
|
||||
<translation>Religion:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="184"/>
|
||||
<source>Department:</source>
|
||||
<translation>Abteilung:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="191"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation>Verwendgr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="198"/>
|
||||
<source>Taetig:</source>
|
||||
<translation>Taetig:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="205"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation>Arbverh:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="212"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation>Betriebsnr:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="17"/>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation>dd.MM.yyyy</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AuthenticationDialog</name>
|
||||
<message>
|
||||
@@ -168,8 +68,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="143"/>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Start</source>
|
||||
<translation>Kommen</translation>
|
||||
</message>
|
||||
@@ -189,107 +89,107 @@
|
||||
<translation>&Über</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="223"/>
|
||||
<location filename="../mainwindow.ui" line="222"/>
|
||||
<source>&View</source>
|
||||
<translation>&Ansicht</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="230"/>
|
||||
<location filename="../mainwindow.ui" line="229"/>
|
||||
<source>&Tools</source>
|
||||
<translation>&Werkzeuge</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="255"/>
|
||||
<location filename="../mainwindow.ui" line="254"/>
|
||||
<source>&Quit</source>
|
||||
<translation>&Beenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="264"/>
|
||||
<location filename="../mainwindow.ui" line="263"/>
|
||||
<source>About &Me</source>
|
||||
<translation>Über &mich</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="273"/>
|
||||
<location filename="../mainwindow.ui" line="272"/>
|
||||
<source>About &zeiterfassung</source>
|
||||
<translation>Über &zeiterfassung</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="282"/>
|
||||
<location filename="../mainwindow.ui" line="281"/>
|
||||
<source>About &Qt</source>
|
||||
<translation>Über &Qt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="291"/>
|
||||
<location filename="../mainwindow.ui" line="290"/>
|
||||
<source>&Today</source>
|
||||
<translation>&Heute</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="300"/>
|
||||
<location filename="../mainwindow.ui" line="299"/>
|
||||
<source>&Refresh everything</source>
|
||||
<translation>Alles &neu laden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="309"/>
|
||||
<location filename="../mainwindow.ui" line="308"/>
|
||||
<source>&Settings</source>
|
||||
<translation>&Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="318"/>
|
||||
<location filename="../mainwindow.ui" line="317"/>
|
||||
<source>Help</source>
|
||||
<translation>Hilfe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="41"/>
|
||||
<location filename="../mainwindow.cpp" line="40"/>
|
||||
<source>Zeiterfassung - %0 (%1)</source>
|
||||
<translation>Zeiterfassung - %0 (%1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<location filename="../mainwindow.cpp" line="68"/>
|
||||
<source>Subproject</source>
|
||||
<translation>Subprojekt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="71"/>
|
||||
<location filename="../mainwindow.cpp" line="69"/>
|
||||
<source>Workpackage</source>
|
||||
<translation>Arbeitspaket</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="72"/>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<source>Text</source>
|
||||
<translation>Text</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="171"/>
|
||||
<location filename="../mainwindow.cpp" line="172"/>
|
||||
<location filename="../mainwindow.cpp" line="169"/>
|
||||
<location filename="../mainwindow.cpp" line="170"/>
|
||||
<source>Could not load bookings!</source>
|
||||
<translation>Konnte Buchungen nicht laden!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="192"/>
|
||||
<location filename="../mainwindow.cpp" line="291"/>
|
||||
<location filename="../mainwindow.cpp" line="190"/>
|
||||
<location filename="../mainwindow.cpp" line="289"/>
|
||||
<source>Could not create booking!</source>
|
||||
<translation>Konnte Buchung nicht erstellen!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="220"/>
|
||||
<location filename="../mainwindow.cpp" line="276"/>
|
||||
<location filename="../mainwindow.cpp" line="218"/>
|
||||
<location filename="../mainwindow.cpp" line="274"/>
|
||||
<source>Could not edit time assignment!</source>
|
||||
<translation>Konnte Kontierung nicht bearbeiten!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="384"/>
|
||||
<location filename="../mainwindow.cpp" line="393"/>
|
||||
<location filename="../mainwindow.cpp" line="382"/>
|
||||
<location filename="../mainwindow.cpp" line="391"/>
|
||||
<source>%0 (%1)</source>
|
||||
<translation>%0 (%1)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="237"/>
|
||||
<location filename="../mainwindow.cpp" line="235"/>
|
||||
<source>Could not create time assignment!</source>
|
||||
<translation>Konnte Kontierung nicht erstellen!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Switch</source>
|
||||
<translation>Wechseln</translation>
|
||||
</message>
|
||||
|
@@ -1,106 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="en_US">
|
||||
<context>
|
||||
<name>AboutMeDialog</name>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="14"/>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="25"/>
|
||||
<source>About me</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="47"/>
|
||||
<source>User-ID:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="57"/>
|
||||
<source>E-Mail:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="67"/>
|
||||
<source>Long username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="77"/>
|
||||
<source>Text:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="87"/>
|
||||
<source>Username:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="135"/>
|
||||
<source>Street:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="142"/>
|
||||
<source>City:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="149"/>
|
||||
<source>Employed since:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="156"/>
|
||||
<source>Employed till:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="163"/>
|
||||
<source>Place of birth:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="170"/>
|
||||
<source>Zipcode:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="177"/>
|
||||
<source>Religion:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="184"/>
|
||||
<source>Department:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="191"/>
|
||||
<source>Verwendgr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="198"/>
|
||||
<source>Taetig:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="205"/>
|
||||
<source>Arbverh:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.ui" line="212"/>
|
||||
<source>Betriebsnr:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="17"/>
|
||||
<location filename="../dialogs/aboutmedialog.cpp" line="18"/>
|
||||
<source>dd.MM.yyyy</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AuthenticationDialog</name>
|
||||
<message>
|
||||
@@ -168,8 +68,8 @@
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="143"/>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Start</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -189,107 +89,107 @@
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="223"/>
|
||||
<location filename="../mainwindow.ui" line="222"/>
|
||||
<source>&View</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="230"/>
|
||||
<location filename="../mainwindow.ui" line="229"/>
|
||||
<source>&Tools</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="255"/>
|
||||
<location filename="../mainwindow.ui" line="254"/>
|
||||
<source>&Quit</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="264"/>
|
||||
<location filename="../mainwindow.ui" line="263"/>
|
||||
<source>About &Me</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="273"/>
|
||||
<location filename="../mainwindow.ui" line="272"/>
|
||||
<source>About &zeiterfassung</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="282"/>
|
||||
<location filename="../mainwindow.ui" line="281"/>
|
||||
<source>About &Qt</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="291"/>
|
||||
<location filename="../mainwindow.ui" line="290"/>
|
||||
<source>&Today</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="300"/>
|
||||
<location filename="../mainwindow.ui" line="299"/>
|
||||
<source>&Refresh everything</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="309"/>
|
||||
<location filename="../mainwindow.ui" line="308"/>
|
||||
<source>&Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.ui" line="318"/>
|
||||
<location filename="../mainwindow.ui" line="317"/>
|
||||
<source>Help</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="41"/>
|
||||
<location filename="../mainwindow.cpp" line="40"/>
|
||||
<source>Zeiterfassung - %0 (%1)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<location filename="../mainwindow.cpp" line="68"/>
|
||||
<source>Subproject</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="71"/>
|
||||
<location filename="../mainwindow.cpp" line="69"/>
|
||||
<source>Workpackage</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="72"/>
|
||||
<location filename="../mainwindow.cpp" line="70"/>
|
||||
<source>Text</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="171"/>
|
||||
<location filename="../mainwindow.cpp" line="172"/>
|
||||
<location filename="../mainwindow.cpp" line="169"/>
|
||||
<location filename="../mainwindow.cpp" line="170"/>
|
||||
<source>Could not load bookings!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="192"/>
|
||||
<location filename="../mainwindow.cpp" line="291"/>
|
||||
<location filename="../mainwindow.cpp" line="190"/>
|
||||
<location filename="../mainwindow.cpp" line="289"/>
|
||||
<source>Could not create booking!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="237"/>
|
||||
<location filename="../mainwindow.cpp" line="235"/>
|
||||
<source>Could not create time assignment!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="220"/>
|
||||
<location filename="../mainwindow.cpp" line="276"/>
|
||||
<location filename="../mainwindow.cpp" line="218"/>
|
||||
<location filename="../mainwindow.cpp" line="274"/>
|
||||
<source>Could not edit time assignment!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="354"/>
|
||||
<location filename="../mainwindow.cpp" line="365"/>
|
||||
<location filename="../mainwindow.cpp" line="352"/>
|
||||
<location filename="../mainwindow.cpp" line="363"/>
|
||||
<source>Switch</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../mainwindow.cpp" line="384"/>
|
||||
<location filename="../mainwindow.cpp" line="393"/>
|
||||
<location filename="../mainwindow.cpp" line="382"/>
|
||||
<location filename="../mainwindow.cpp" line="391"/>
|
||||
<source>%0 (%1)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@@ -19,7 +19,6 @@ SOURCES += mainwindow.cpp \
|
||||
stripfactory.cpp \
|
||||
stripswidget.cpp \
|
||||
zeiterfassungplugin.cpp \
|
||||
dialogs/aboutmedialog.cpp \
|
||||
dialogs/authenticationdialog.cpp \
|
||||
dialogs/languageselectiondialog.cpp \
|
||||
dialogs/settingsdialog.cpp
|
||||
@@ -29,7 +28,6 @@ HEADERS += mainwindow.h \
|
||||
stripswidget.h \
|
||||
zeiterfassungguilib_global.h \
|
||||
zeiterfassungplugin.h \
|
||||
dialogs/aboutmedialog.h \
|
||||
dialogs/authenticationdialog.h \
|
||||
dialogs/languageselectiondialog.h \
|
||||
dialogs/settingsdialog.h
|
||||
@@ -37,8 +35,7 @@ HEADERS += mainwindow.h \
|
||||
FORMS += mainwindow.ui \
|
||||
dialogs/settingsdialog.ui \
|
||||
dialogs/languageselectiondialog.ui \
|
||||
dialogs/authenticationdialog.ui \
|
||||
dialogs/aboutmedialog.ui
|
||||
dialogs/authenticationdialog.ui
|
||||
|
||||
RESOURCES += zeiterfassungguilib_resources.qrc
|
||||
|
||||
|
Reference in New Issue
Block a user