diff --git a/doc/examples/transitions/qml/Transitions/main.qml b/doc/examples/transitions/qml/Transitions/main.qml index 20e8c4f1908..6f1800ce856 100644 --- a/doc/examples/transitions/qml/Transitions/main.qml +++ b/doc/examples/transitions/qml/Transitions/main.qml @@ -4,7 +4,7 @@ //! [0] -import QtQuick 1.0 +import QtQuick 1.1 Rectangle { id: page diff --git a/doc/images/qmldesigner-anchor-fill-screen.png b/doc/images/qmldesigner-anchor-fill-screen.png index b8a9587db2f..9b7395818bd 100644 Binary files a/doc/images/qmldesigner-anchor-fill-screen.png and b/doc/images/qmldesigner-anchor-fill-screen.png differ diff --git a/doc/images/qmldesigner-solid-color-button.png b/doc/images/qmldesigner-solid-color-button.png index 368747bee56..3c59667b35c 100644 Binary files a/doc/images/qmldesigner-solid-color-button.png and b/doc/images/qmldesigner-solid-color-button.png differ diff --git a/doc/images/qmldesigner-transparent-button.png b/doc/images/qmldesigner-transparent-button.png index 51060f2f836..a968468e8ce 100644 Binary files a/doc/images/qmldesigner-transparent-button.png and b/doc/images/qmldesigner-transparent-button.png differ diff --git a/doc/images/qmldesigner-tutorial-desing-mode.png b/doc/images/qmldesigner-tutorial-desing-mode.png index 946527fb4d3..05ebe786087 100644 Binary files a/doc/images/qmldesigner-tutorial-desing-mode.png and b/doc/images/qmldesigner-tutorial-desing-mode.png differ diff --git a/doc/images/qmldesigner-tutorial-page.png b/doc/images/qmldesigner-tutorial-page.png index e2c8ed1bfb7..783f9d19026 100644 Binary files a/doc/images/qmldesigner-tutorial-page.png and b/doc/images/qmldesigner-tutorial-page.png differ diff --git a/doc/images/qmldesigner-tutorial-project.png b/doc/images/qmldesigner-tutorial-project.png index 959501a9ed6..d016f0bdde7 100644 Binary files a/doc/images/qmldesigner-tutorial-project.png and b/doc/images/qmldesigner-tutorial-project.png differ diff --git a/doc/images/qmldesigner-tutorial-quick-toolbar.png b/doc/images/qmldesigner-tutorial-quick-toolbar.png index 29f9faea7c4..48ffc07c352 100644 Binary files a/doc/images/qmldesigner-tutorial-quick-toolbar.png and b/doc/images/qmldesigner-tutorial-quick-toolbar.png differ diff --git a/doc/images/qmldesigner-tutorial-state1.png b/doc/images/qmldesigner-tutorial-state1.png index 4ee85b3f445..a9242f998ab 100644 Binary files a/doc/images/qmldesigner-tutorial-state1.png and b/doc/images/qmldesigner-tutorial-state1.png differ diff --git a/doc/images/qmldesigner-tutorial-topleftrect-layout.png b/doc/images/qmldesigner-tutorial-topleftrect-layout.png index c0f757b8303..26cf5c8b1c7 100644 Binary files a/doc/images/qmldesigner-tutorial-topleftrect-layout.png and b/doc/images/qmldesigner-tutorial-topleftrect-layout.png differ diff --git a/doc/images/qmldesigner-tutorial-topleftrect.png b/doc/images/qmldesigner-tutorial-topleftrect.png index 81298d3e3c5..6c048cb980f 100644 Binary files a/doc/images/qmldesigner-tutorial-topleftrect.png and b/doc/images/qmldesigner-tutorial-topleftrect.png differ diff --git a/doc/images/qmldesigner-tutorial-user-icon.png b/doc/images/qmldesigner-tutorial-user-icon.png index d45deae9938..0eb34633299 100644 Binary files a/doc/images/qmldesigner-tutorial-user-icon.png and b/doc/images/qmldesigner-tutorial-user-icon.png differ diff --git a/doc/images/qmldesigner-tutorial.png b/doc/images/qmldesigner-tutorial.png index a9b38a82026..a4afab78681 100644 Binary files a/doc/images/qmldesigner-tutorial.png and b/doc/images/qmldesigner-tutorial.png differ diff --git a/doc/src/qtquick/qtquick-app-tutorial.qdoc b/doc/src/qtquick/qtquick-app-tutorial.qdoc index 1c319105d27..6b7baba6256 100644 --- a/doc/src/qtquick/qtquick-app-tutorial.qdoc +++ b/doc/src/qtquick/qtquick-app-tutorial.qdoc @@ -35,7 +35,7 @@ \note To complete this tutorial, you must have Qt 4.7 or later installed. - This tutorial uses basic elements and illustrates basic concepts of + This tutorial uses built-in QML elements and illustrates basic concepts of \l {http://doc.qt.nokia.com/4.7/qtquick.html}{Qt Quick}. This tutorial describes how to use the \QC to implement the @@ -53,8 +53,8 @@ \list 1 - \o Select \gui{File > New File or Project > Qt Quick Project > Qt Quick - Application > Choose}. + \o Select \gui{File > New File or Project > Applications > + Qt Quick Application (Built-in Elements) > Choose}. \o In the \gui{Name} field, type \bold {Transitions}. @@ -150,7 +150,7 @@ \o In the \gui Colors group, \gui Rectangle field, click the \inlineimage qmldesigner-transparent-button.png - button to make the rectangle transparent. + (\gui Transparent) button to make the rectangle transparent. \o In the \gui Border field, set the border color to #808080. @@ -161,7 +161,7 @@ border color, try setting the border color to solid by clicking the \inlineimage qmldesigner-solid-color-button.png - button. + (\gui {Solid Color}) button. \o In the \gui Radius field, select 6 to create rounded corners for the rectangle. @@ -187,7 +187,8 @@ \o Click \gui {Layout}, and then click the \inlineimage qmldesigner-anchor-fill-screen.png - button to anchor the mouse area to the rectangle. + (\gui {Fill to Parent}) button to anchor the mouse area to the + rectangle. \o In the code editor, edit the pointer to the clicked expression in the mouse area element, as illustrated by the following code diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index 3159bb98f13..32357b03a56 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -211,6 +211,10 @@ CMakeProjectManager::Internal::CMakeBuildSettingsWidget + + Run cmake + CMake ausführen + Reconfigure project: Projekt neu konfigurieren: @@ -219,6 +223,10 @@ &Change &Ändern + + Build directory: + Build-Verzeichnis: + CMakeProjectManager::Internal::CMakeOpenProjectWizard @@ -251,7 +259,7 @@ Debugger: - Debugger: + Debugger: Run Environment @@ -1154,35 +1162,35 @@ Core::FileManager File Error - Dateifehler + Dateifehler Overwrite? - Überschreiben? + Überschreiben? An item named '%1' already exists at this location. Do you want to overwrite it? - Es existiert bereits eine Datei des Namens '%1' an dieser Stelle. Wollen Sie sie überschreiben? + Es existiert bereits eine Datei des Namens '%1' an dieser Stelle. Wollen Sie sie überschreiben? Save File As - Datei speichern + Datei speichern Open File - Datei öffnen + Datei öffnen File Is Read Only - Die Datei ist schreibgeschützt + Die Datei ist schreibgeschützt Make Writable - Schreibbar machen + Schreibbar machen Save As... - Speichern als... + Speichern als... File is Read Only @@ -1190,11 +1198,11 @@ The file <i>%1</i> is read only. - Die Datei <i>%1</i> ist schreibgeschützt. + Die Datei <i>%1</i> ist schreibgeschützt. Open with VCS (%1) - Öffnen mittels Versionskontrollsystem (%1) + Öffnen mittels Versionskontrollsystem (%1) Make writable @@ -1206,7 +1214,7 @@ Cannot reload %1 - %1 konnte nicht neu geladen werden + %1 konnte nicht neu geladen werden @@ -1544,13 +1552,21 @@ Dateien und Klassen - All templates + All Templates Alle Vorlagen - %1 templates + %1 Templates Vorlagen für %1 + + All templates + Alle Vorlagen + + + %1 templates + Vorlagen für %1 + Platform independent Plattformunabhängig @@ -2743,6 +2759,10 @@ Qt Creator kann sich nicht anhängen. Break on "qFatal" Bei "qFatal" anhalten + + Break on "raise" + Bei "raise" anhalten + Use dynamic object type for display Dynamischen Objekttyp in Anzeige verwenden @@ -2805,7 +2825,7 @@ Qt Creator kann sich nicht anhängen. Break on "abort" - Bei "abort" anhalten + Bei "abort" anhalten Use Dynamic Object Type for Display @@ -3300,6 +3320,10 @@ markers in the source code editor. .gdbinit file on debugger startup. Gestattet oder unterdrückt das Lesen der Vorgabe-.gdbinit-Datei des Nutzers beim Starten des Debuggers. + + Stop when raise() is called + Bei Aufruf von raise() anhalten + Show more start modes in the Debug->Start Debugging menu Mehr Startmodi im Menü Debuggen ->Debuggen anzeigen @@ -3331,7 +3355,7 @@ at debugger startup. Stop when abort is called - Bei Aufruf von abort() anhalten + Bei Aufruf von abort() anhalten Enable reverse debugging @@ -3550,16 +3574,28 @@ at debugger startup. Fortsetzung angefordert... - '%1' contains no identifier + '%1' contains no identifier. '%1' enthält keinen Bezeichner + + String literal %1. + Zeichenketten-Literal %1. + + + Cowardly refusing to evaluate expression '%1' with potential side effects. + Werte Ausdruck '%1' mit potentiellen Seiteneffekten nicht aus. + + + '%1' contains no identifier + '%1' enthält keinen Bezeichner + String literal %1 - Zeichenketten-Literal %1 + Zeichenketten-Literal %1 Cowardly refusing to evaluate expression '%1' with potential side effects - Werte Ausdruck '%1' mit potentiellen Seiteneffekten nicht aus + Werte Ausdruck '%1' mit potentiellen Seiteneffekten nicht aus Stopped at %1:%2. @@ -4372,6 +4408,10 @@ Versuchen Sie, das Projekt neu zu erstellen. Multiple inheritance Mehrfachvererbung + + Add Qt version #ifdef for module names + Von Qt-Version abhängige #ifdef-Direktiven für Modulnamen einfügen + Designer::Internal::FormClassWizardDialog @@ -5309,7 +5349,11 @@ Grund: %3 Select Git Repository - Wählen ein Git-Repository aus + Wählen ein Git-Repository aus + + + Select Working Directory + Wählen Sie das Arbeitsverzeichnis aus Error @@ -5321,7 +5365,7 @@ Grund: %3 Repository location: - Repository: + Repository: Select @@ -5331,6 +5375,10 @@ Grund: %3 Change: Änderung: + + Working directory: + Arbeitsverzeichnis: + Git::Internal::CloneWizard @@ -5759,7 +5807,7 @@ Grund: %3 Show Commit... - Commit anzeigen... + Commit anzeigen... Subversion @@ -5840,6 +5888,10 @@ rückgängig machen? Remotes... Git Remotes ... + + Show... + Anzeigen... + Patch Patch anwenden @@ -7747,12 +7799,20 @@ Fehler: %2 Arbeitsverzeichnis: - Run in &Terminal + Run in &terminal In &Terminal ausführen + + Base environment for this run configuration: + Basisumgebung für diese Ausführungskonfiguration: + + + Run in &Terminal + In &Terminal ausführen + Debugger: - Debugger: + Debugger: Run Environment @@ -7760,7 +7820,7 @@ Fehler: %2 Base environment for this runconfiguration: - Basisumgebung für diese Ausführungskonfiguration + Basisumgebung für diese Ausführungskonfiguration Clean Environment @@ -8262,6 +8322,10 @@ konnte dem Projekt '%2' nicht hinzugefügt werden. Manage ... + Verwaltung... + + + Manage... Verwaltung... @@ -8375,6 +8439,10 @@ konnte dem Projekt '%2' nicht hinzugefügt werden. Run Ausführen + + Sessions + Sitzungen + Ctrl+R Ctrl+R @@ -8611,7 +8679,7 @@ Möchten Sie sie ignorieren? Recent Sessions - Zuletzt benutzte Sitzungen + Zuletzt benutzte Sitzungen Build Project "%1" @@ -9320,9 +9388,13 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Build Environment Build-Umgebung + + Qt4 Run Configuration + Qt 4-Ausführungskonfiguration + Qt4 RunConfiguration - Qt4 RunConfiguration + Qt4 RunConfiguration @@ -9343,9 +9415,13 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Run in terminal In Terminal ausführen + + Base environment for this run configuration: + Basisumgebung für diese Ausführungskonfiguration: + Debugger: - Debugger: + Debugger: Run Environment @@ -9353,7 +9429,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Base environment for this runconfiguration: - Basisumgebung für diese Ausführungskonfiguration + Basisumgebung für diese Ausführungskonfiguration Clean Environment @@ -9410,7 +9486,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Debugger: - Debugger: + Debugger: @@ -9585,9 +9661,13 @@ S60 emulator run configuration default display name, %1 is base pro-File name<b>qmake:</b> %1 %2 <b>qmake:</b> %1 %2 + + <b>Warning:</b> The tool chain suggests using another mkspec. + <b>Warnung:</b> Die Toolchain gibt eine andere mkspec vor. + <b>Warning:</b> The tool chain suggested "%1" as mkspec. - <b>Warnung:</b> Die Toolchain gibt "%1" als mkspec an. + <b>Warnung:</b> Die Toolchain gibt "%1" als mkspec an. Enable QML debugging: @@ -10808,6 +10888,14 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Ctrl+Shift+V Ctrl+Shift+V + + Indent + Einrückung + + + Unindent + Ausrücken + Go to Line Start Zeilenanfang @@ -13400,7 +13488,11 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Unconfigured Project Settings - Nicht konfigurierte Projekte + Nicht konfigurierte Projekte + + + Unconfigured Project + Nicht konfiguriertes Projekt @@ -13498,7 +13590,13 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Building helper(s) with toolchain '%1' ... - Erstelle Ausgabe-Hilfsbibliothek mit der Toolchain '%1'... + Erstelle Ausgabe-Hilfsbibliothek mit der Toolchain '%1'... + + + + Building helper(s) with toolchain '%1'... + + Erstelle Ausgabe-Hilfsbibliothek(en) mit Toolchain '%1'... @@ -13836,9 +13934,21 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Creates a Qt Quick UI project with a single QML file that contains the main view. -You can review Qt Quick UI projects in the QML Viewer and you need not build them. You do not need to have the development environment installed on your computer to create and run this type of projects. +You can review Qt Quick UI projects in the QML Viewer and you need not build them. You do not need to have the development environment installed on your computer to create and run this type of projects. + +Requires <b>Qt 4.7.4</b> or newer. Erstellt ein Qt Quick-UI-Projekt aus einer einzelnen QML-Datei, die die Hauptansicht enthält. +Qt Quick-UI-Projekte benötigen keine Erstellung und können direkt im QML-Betrachter ausgeführt werden. Zur Erstellung und Ausführung dieser Projekte ist keine Entwicklungsumgebung erforderlich. + +Erfordert <b>Qt 4.7.4</b> oder neuer. + + + Creates a Qt Quick UI project with a single QML file that contains the main view. + +You can review Qt Quick UI projects in the QML Viewer and you need not build them. You do not need to have the development environment installed on your computer to create and run this type of projects. + Erstellt ein Qt Quick-UI-Projekt aus einer einzelnen QML-Datei, die die Hauptansicht enthält. + Qt Quick-UI-Projekte benötigen keine Erstellung und können direkt im QML-Betrachter ausgeführt werden. Zur Erstellung und Ausführung dieser Projekte ist keine Entwicklungsumgebung erforderlich. @@ -14058,7 +14168,7 @@ Qt Quick-UI-Projekte benötigen keine Erstellung und können direkt im QML-Betra Core::EditorToolBar Close Document - Dokument schließen + Dokument schließen Split @@ -14312,7 +14422,7 @@ Verwenden Sie die Eigenschaft importPaths, um Importpfade zu qmlproject-basierte CodePaster::PasteBinDotComSettings Pastebin.com - Pastebin.com + Pastebin.com @@ -15089,13 +15199,21 @@ with a password, which you can enter below. Es wird empfohlen, den privatenSchlüssel mit einem Passwort zu sichern, was sie unten angeben können. - Encrypt key file + Encrypt Key File Schlüsseldatei verschlüsseln - Do not encrypt key file + Do Not Encrypt Key File Schlüsseldatei nicht verschlüsseln + + Encrypt key file + Schlüsseldatei verschlüsseln + + + Do not encrypt key file + Schlüsseldatei nicht verschlüsseln + CodePaster::FileShareProtocol @@ -15475,6 +15593,14 @@ IDs müssen außerdem mit einem Kleinbuchstaben beginnen. Add #include %1 #include %1 hinzufügen + + Switch with Previous Parameter + Mit vorangehendem Parameter tauschen + + + Switch with Next Parameter + Mit nächstem Parameter tauschen + Convert to Objective-C String Literal In Objective-C-Zeichenkettenliteral wandeln @@ -15928,19 +16054,19 @@ IDs müssen außerdem mit einem Kleinbuchstaben beginnen. Utils::DebuggerLanguageChooser C++ - C++ + C++ QML - QML + QML Debug port: - Port für Debugger: + Port für Debugger: <a href="qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html">What are the prerequisites?</a> - <a href="qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html">Was sind die Voraussetzungen?</a> + <a href="qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html">Was sind die Voraussetzungen?</a> @@ -16255,9 +16381,13 @@ Flags: %3 Option '%1' is missing the parameter. Das Kommandozeilenargument '%1' erfordert einen Parameter. + + Only one executable allowed! + Es ist nur eine ausführbare Datei zulässig! + The parameter '%1' of option '%2' does not match the pattern <server:port>@<executable>@<architecture>. - Der Parameter '%1' der Option '%2' entspricht nicht dem Muster <Server:Portnummer>@<Ausführbare Datei>@<Architektur>. + Der Parameter '%1' der Option '%2' entspricht nicht dem Muster <Server:Portnummer>@<Ausführbare Datei>@<Architektur>. The parameter '%1' of option '%2' does not match the pattern <handle>:<pid>. @@ -16448,9 +16578,13 @@ wenn es außerhalb von git bash aufgerufen wird. Split Side by Side Nebeneinander teilen + + Close Document + Dokument schließen + Close - Schließen + Schließen @@ -17259,9 +17393,13 @@ Der Pfad zur Bibliothek und der Pfad zu den Headerdateien werden zur .pro-Datei This wizard generates a Qt Quick application project. Dieser Wizard erstellt ein Qt Quick-Anwendungsprojekt. + + Select existing QML file + Verwende existierende QML-Datei + Application Type - Typ der Anwendung + Typ der Anwendung @@ -17436,6 +17574,26 @@ Bitte prüfen Sie die Zugriffsrechte des Ordners. Launching Starte + + Setup failed. + Die Initialisierung schlug fehl. + + + Loading finished. + Laden beendet. + + + Run failed. + Ausführung fehlgeschlagen. + + + Running. + Läuft. + + + Run requested... + Ausführung angefordert... + This debugger cannot handle user input. Dieser Debugger kann keine Nutzereingaben verarbeiten. @@ -17776,16 +17934,70 @@ Wählt Qt-Versionen für Simulator und mobile Ziele aus, sofern sie verfügbar s Qt4ProjectManager::Internal::QtQuickAppWizard Qt Quick Application - Neue Qt Quick-Anwendung + Neue Qt Quick-Anwendung Creates a Qt Quick application project that can contain both QML and C++ code and includes a QDeclarativeView. You can build the application and deploy it on desktop and mobile target platforms. For example, you can create signed Symbian Installation System (SIS) packages for this type of projects. Moreover, you can select to use a set of premade UI components in your Qt Quick application. To utilize the components, Qt 4.7.4 or newer is required. - Erstellt ein Qt Quick-Projekt, welches QML- und C++-Code enthält und eine Instanz der Klasse QDeclarativeView verwendet. + Erstellt ein Qt Quick-Projekt, welches QML- und C++-Code enthält und eine Instanz der Klasse QDeclarativeView verwendet. Sie können diese Anwendung sowohl auf Desktop- als auch auf mobilen Plattformen ausführen. Dieser Projekttyp ermöglicht zum Beispiel die Erstellung eines signierten Symbian Installation System (SIS)-Paketes. Zusätzlich gestattet es die Verwendung vorgefertigter UI-Komponenten in Ihrer Qt Quick-Anwendung. Dies erfordert Qt 4.7.3 oder neuer. + + Creates a Qt Quick application project that can contain both QML and C++ code and includes a QDeclarativeView. + + + Erstellt eine Qt Quick-Anwendung, die sowohl QML- als auch C++-Code enthält und eine Instanz der Klasse QDeclarativeView verwendet. + + + Qt Quick Application (Built-in Elements) + Qt Quick-Anwendung (nur eingebaute Elemente) + + + The built-in elements in the QtQuick namespace allow you to write cross-platform applications with a custom look and feel. + +Requires <b>Qt 4.7.0</b> or newer. + Die eingebauten Elemente im QtQuick-Namensraum erlauben es, plattformübergreifende Anwendungen mit benutzerdefinierbarem Look and Feel zu erstellen. + +Erfordert <b>Qt 4.7.0</b> oder neuer. + + + Qt Quick Application for Symbian + Qt Quick-Anwendung für Symbian + + + The Qt Quick Components for Symbian are a set of ready-made components that are designed with specific native appearance for the Symbian platform. + +Requires <b>Qt 4.7.4</b> or newer, and the component set installed for your Qt version. + Die Qt Quick-Komponenten für Symbian sind ein Satz vorgefertigter Komponenten, die entworfen worden, um das Symbian-spezifische Erscheinungsbild wiederzugeben. + +Erfordert <b>Qt 4.7.4</b> oder neuer sowie die Installation des Komponentensatzes für diese Qt-Version. + + + Qt Quick Application for MeeGo Harmattan + Qt Quick-Anwendung für Meego/Harmattan + + + The Qt Quick Components for MeeGo Harmattan are a set of ready-made components that are designed with specific native appearance for the MeeGo Harmattan platform. + +Requires <b>Qt 4.7.4</b> or newer, and the component set installed for your Qt version. + Die Qt Quick-Komponenten für Meego/Harmattan sind ein Satz vorgefertigter Komponenten, die entworfen worden, um das spezifische Erscheinungsbild der Meego/Harmattan-Plattformen wiederzugeben. + +Erfordert <b>Qt 4.7.4</b> oder neuer sowie die Installation der Komponenten für diese Qt-Version voraus. + + + Qt Quick Application (from Existing QML File) + Qt Quick-Anwendung (von existierender QML-Datei) + + + Creates a deployable Qt Quick application from existing QML files. All files and directories that reside in the same directory as the main .qml file are deployed. You can modify the contents of the directory any time before deploying. + +Requires <b>Qt 4.7.0</b> or newer. + Erstellt eine Qt Quick-Anwendung aus bereits existierenden QML-Dateien. Alle im Ordner der Haupt-QML-Datei befindlichen Dateien und Ordner sind zum Deployment vorgesehen. Der Inhalt des Ordners kann vor dem Deployment beliebig geändert werden. + +Erforder <b>Qt 4.7.0</b> oder neuer. + QmlJS::Bind @@ -17966,18 +18178,18 @@ Bei GDB kann eine durch '\n' getrennte Kommandosequenz angegeben werde Debugger::Internal::Console Clear Contents - Inhalt löschen + Inhalt löschen Save Contents - Inhalt speichern + Inhalt speichern Debugger::Internal::ConsoleWindow Console - Konsole + Konsole @@ -18493,7 +18705,7 @@ Hinweis: Unter Umständen wird die lokale Datei gelöscht. Starting debugger '%1' for ABI '%2'... - Starte Debugger '%1' für ABI '%2'... + Starte Debugger '%1' für ABI '%2'... Debugger finished. @@ -18600,7 +18812,11 @@ Hinweis: Unter Umständen wird die lokale Datei gelöscht. QML Script Console - QML Skript-Konsole + QML Skript-Konsole + + + Starting debugger "%1" for ABI "%2"... + Starte Debugger "%1" für ABI "%2"... Continue @@ -18884,6 +19100,12 @@ Hinweis: Unter Umständen wird die lokale Datei gelöscht. Do you want to retry? Qt Creator konnte keine Verbindung zur Debuggerkomponente im Prozess herstellen. Soll es noch einmal versucht werden? + + + Could not connect to the in-process QML debugger. +%1 + Es konnte keine Verbindung zur Debug-Komponente im Prozess hergestellt werden. +%1 QML Debugger: Remote host closed connection. @@ -18897,7 +19119,7 @@ Soll es noch einmal versucht werden? Could not connect to the in-process QML debugger: %1 %1 is detailed error message - QML-Debugger: Es konnte keine Verbindung zur Debug-Komponente im Prozess hergestellt werden: + QML-Debugger: Es konnte keine Verbindung zur Debug-Komponente im Prozess hergestellt werden: %1 @@ -18928,6 +19150,10 @@ Soll es noch einmal versucht werden? QML Debugger disconnected. QML-Debugger getrennt. + + Context: + Kontext: + StackHandler @@ -19345,7 +19571,7 @@ Fehler: %2 Debugger: - Debugger: + Debugger: Run Environment @@ -20731,6 +20957,18 @@ Lokale Pull-Operationen werden nicht auf den Master-Branch angewandt.Autodetect Automatisch bestimmen + + mkspec: + mkspec: + + + All possible mkspecs separated by a semicolon (';'). + Mittels Semikolon (';') getrennte Liste aller verwendbaren mkspecs. + + + Reset + Rücksetzen + ProjectExplorer::Internal::ToolChainModel @@ -20896,15 +21134,15 @@ Fehler: %2 Create Build Configurations: - Build-Konfigurationen erstellen: + Build-Konfigurationen erstellen: Use Shadow Building - Shadow-Build verwenden + Shadow-Build verwenden Qt Version: - Qt-Version: + Qt-Version: debug @@ -20918,7 +21156,7 @@ Fehler: %2 No build found - Keine Builds gefunden + Keine Builds gefunden No build found in %1 matching project %2. @@ -20926,11 +21164,15 @@ Fehler: %2 The build found in %1 is incompatible with this target - Der im Ordner %1 befindliche Build ist nicht zu diesem Ziel kompatibel. + Der im Ordner %1 befindliche Build ist nicht zu diesem Ziel kompatibel. Incompatible build found - Inkompatibler Build gefunden + Inkompatibler Build gefunden + + + Create build configurations: + Build-Konfigurationen erstellen: For Each Qt Version One Debug And One Release @@ -20949,16 +21191,48 @@ Fehler: %2 Keine - Already imported build + Shadow build + Shadow-Build: + + + Qt version: + Qt-Version: + + + No Build Found + Keine Build gefunden + + + Incompatible Build Found + Inkompatibler Build gefunden + + + The build found in %1 is incompatible with this target. + Der im Ordner %1 befindliche Build ist nicht zu diesem Ziel kompatibel. + + + Already Imported Build Build bereits importiert - The build found in %1 is already imported + The build found in %1 is already imported. Der Build in %1 ist bereits importiert + + Import build from %1. + Build aus %1. importieren. + + + Already imported build + Build bereits importiert + + + The build found in %1 is already imported + Der Build in %1 ist bereits importiert + Import build from %1 - Build aus %1 importieren + Build aus %1 importieren <b>Error:</b> @@ -21613,7 +21887,7 @@ Außerdem wird die Anwendung bei Verwendung einer nicht freigegebenen Qt-Version Analyzer::AnalyzerProjectSettings Analyzer Settings - Analyse-Einstellungen + Analyse-Einstellungen @@ -22111,6 +22385,10 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält. Tool Chain: + Toolchain: + + + Tool chain: Toolchain: @@ -22889,11 +23167,11 @@ Bei vollständiger Cache-Simulation werden weitere Ereigniszähler aktiviert: BinEditorFile Cannot open %1: %2 - Die Datei %1 kann nicht geöffnet werden: %2 + Die Datei %1 kann nicht geöffnet werden: %2 File Error - Dateifehler + Dateifehler @@ -22927,7 +23205,7 @@ Sollen sie überschrieben werden? File was restored from auto-saved copy. Use <i>Save</i> to confirm, or <i>Revert to Saved</i> to discard changes. Refers to menu entries. - Die Datei wurde von einer Sicherheitskopie wiederhergestellt. Wählen Sie <i>Speichern</i> zur Bestätigung oder <i>Wiederherstellen</i> um die Änderungen zu verwerfen. + Die Datei wurde von einer Sicherheitskopie wiederhergestellt. Wählen Sie <i>Speichern</i> zur Bestätigung oder <i>Wiederherstellen</i> um die Änderungen zu verwerfen. @@ -23025,7 +23303,11 @@ Sollen sie überschrieben werden? ImageViewer::Internal::ImageViewer Cannot open image file %1 - Die Bilddatei %1 kann nicht geöffnet werden. + Die Bilddatei %1 kann nicht geöffnet werden. + + + Cannot open image file %1. + Die Bilddatei %1. kann nicht geöffnet werden. @@ -24426,6 +24708,12 @@ Sie bleiben bestehen. RemoteLinux::AbstractRemoteLinuxDebugSupport Preparing remote side ... + + Bereite Gegenseite vor... + + + + Preparing remote side... Bereite Gegenseite vor... @@ -24495,15 +24783,15 @@ Sie bleiben bestehen. C++ - C++ + C++ QML - QML + QML Debugging type: - Debuggen: + Debuggen: Base environment for this run configuration: @@ -24534,6 +24822,12 @@ Sie bleiben bestehen. RemoteLinux::AbstractRemoteLinuxRunControl Starting remote process ... + + Starte entfernten Prozess... + + + + Starting remote process... Starte entfernten Prozess... @@ -24861,11 +25155,11 @@ Zusätzlich wird die Verbindung zum Gerät getestet. RecentSessions %1 (last session) - %1 (zuletzt benutzt) + %1 (zuletzt benutzt) %1 (current session) - %1 (aktuelle Sitzung) + %1 (aktuelle Sitzung) @@ -24881,31 +25175,35 @@ Zusätzlich wird die Verbindung zum Gerät getestet. Select QML File QML-Datei auswählen + + Select Existing QML file + Verwende existierende QML-Datei + Qt Quick Application Type - Qt Quick-Anwendung + Qt Quick-Anwendung Built-in elements only (for all platforms) - Nur eingebaute Elemente (alle Plattformen) + Nur eingebaute Elemente (alle Plattformen) Qt Quick Components for Symbian - Qt Quick-Komponenten für Symbian + Qt Quick-Komponenten für Symbian Qt Quick Components for MeeGo/Harmattan - Qt Quick-Komponenten für Meego/Harmattan + Qt Quick-Komponenten für Meego/Harmattan Use an existing .qml file - Verwende existierende .qml-Datei + Verwende existierende .qml-Datei The built-in elements in the QtQuick namespace allow you to write cross-platform applications with a custom look and feel. Requires Qt 4.7.1 or newer. - Die eingebauten Elemente im QtQuick-Namensraum erlauben es, plattformübergreifende Anwendungen mit benutzerdefinierbarem Look and Feel zu erstellen. + Die eingebauten Elemente im QtQuick-Namensraum erlauben es, plattformübergreifende Anwendungen mit benutzerdefinierbarem Look and Feel zu erstellen. Erfordert Qt 4.7.1 oder neuer. @@ -24913,7 +25211,7 @@ Erfordert Qt 4.7.1 oder neuer. The Qt Quick Components for Symbian are a set of ready-made components that are designed with specific native appearance for the Symbian platform. Requires Qt 4.7.4 or newer, and the component set installed for your Qt version. - Die Qt Quick-Komponenten für Symbian sind ein Satz vorgefertigter Komponenten, die entworfen worden, um das Symbian-spezifische Erscheinungsbild wiederzugeben. + Die Qt Quick-Komponenten für Symbian sind ein Satz vorgefertigter Komponenten, die entworfen worden, um das Symbian-spezifische Erscheinungsbild wiederzugeben. Erfordert Qt 4.7.4 oder neuer sowie die Installation des Komponentensatzes für diese Qt-Version. @@ -24921,7 +25219,7 @@ Erfordert Qt 4.7.4 oder neuer sowie die Installation des Komponentensatzes für The Qt Quick Components for MeeGo/Harmattan are a set of ready-made components that are designed with specific native appearance for the MeeGo/Harmattan platform. Requires Qt 4.7.4 or newer, and the component set installed for your Qt version. - Die Qt Quick-Komponenten für Meego/Harmattan sind ein Satz vorgefertigter Komponenten, die entworfen worden, um das spezifische Erscheinungsbild der Meego/Harmattan-Plattformen wiederzugeben. + Die Qt Quick-Komponenten für Meego/Harmattan sind ein Satz vorgefertigter Komponenten, die entworfen worden, um das spezifische Erscheinungsbild der Meego/Harmattan-Plattformen wiederzugeben. Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-Version voraus. @@ -25026,7 +25324,7 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V <Unknown> Unknown user of paste. - <Unbekannt> + <Unbekannt> @@ -25043,6 +25341,10 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V Loading data Lade Daten + + Application stopped before loading all data + Anwendung vor Laden aller Daten gestoppt + QmlDesigner::TextToModelMerger error message @@ -25423,9 +25725,13 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V <p>An uncaught exception occurred:</p><p>%1</p> <p>Eine unbehandelte Ausnahme ist aufgetreten:</p><p>%2</p> + + <p>An uncaught exception occurred in '%1':</p><p>%2</p> + <p>In '%1' ist eine unbehandelte Ausnahme ist aufgetreten:</p><p>%2</p> + <p>An uncaught exception occurred in <i>%1</i>:</p><p>%2</p> - <p>In <i>%1</i> ist eine unbehandelte Ausnahme ist aufgetreten :</p><p>%2</p> + <p>In <i>%1</i> ist eine unbehandelte Ausnahme ist aufgetreten :</p><p>%2</p> Uncaught Exception @@ -25843,9 +26149,13 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V The directory you have entered does not exist and cannot be created. Der angegebene Ordner existiert nicht und kann nicht angelegt werden. + + Creating keys... + Erzeuge Schlüssel... + Creating keys ... - Erzeuge Schlüssel... + Erzeuge Schlüssel... Key creation failed: %1 @@ -25973,9 +26283,13 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V Ohne Qt-Version kann keine Installation auf sysroot durchgeführt werden. - Installing package to sysroot ... + Installing package to sysroot... Installiere Paket auf sysroot... + + Installing package to sysroot ... + Installiere Paket auf sysroot... + Installation to sysroot failed, continuing anyway. Die Installation des Paketes auf sysroot schlug fehl, setze fort. @@ -26006,9 +26320,13 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V Ohne Qt-Version kann nicht auf sysroot kopiert werden. - Copying files to sysroot ... + Copying files to sysroot... Kopiere Dateien auf sysroot... + + Copying files to sysroot ... + Kopiere Dateien auf sysroot... + Sysroot installation failed: %1 Continuing anyway. @@ -26035,7 +26353,7 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V Creating package file ... - Erzeuge Paketdatei... + Erzeuge Paketdatei... Package created. @@ -26049,6 +26367,10 @@ Setzt Qt 4.7.4 oder neuer sowie die Installation der Komponenten für diese Qt-V No Qt4 build configuration Keine Qt4-Build-Konfiguration + + Creating package file... + Erzeuge Paketdatei... + Package Creation: Running command '%1'. Paketerstellung: Führe Kommando '%1' aus. @@ -26269,7 +26591,7 @@ Es wird versucht eine Paketdatei zu erstellen, es können aber Probleme auftrete Removing left-over temporary directory ... - Löschen der verbliebenen temporären Ordner... + Löschen der verbliebenen temporären Ordner... Error removing temporary directory: %1 @@ -26281,7 +26603,7 @@ Es wird versucht eine Paketdatei zu erstellen, es können aber Probleme auftrete Setting up temporary directory ... - Erstelle temporären Ordner... + Erstelle temporären Ordner... Error: Could not create temporary directory. @@ -26301,12 +26623,28 @@ Es wird versucht eine Paketdatei zu erstellen, es können aber Probleme auftrete Cleaning up temporary directory ... + Temporären Ordner bereinigen... + + + Removing left-over temporary directory... + Löschen verbliebenen temporären Ordner... + + + Setting up temporary directory... + Erstelle temporären Ordner... + + + Cleaning up temporary directory... Temporären Ordner bereinigen... Failed to create directory '%1'. Der Ordner '%1' konnte nicht erstellt werden. + + Could not set execute permissions for rules file: %1 + Die Ausführungsberechtigung der rules-Datei konnte nicht gesetzt werden: %1 + Could not copy file '%1' to '%2': %3. Die Datei '%1' konnte nicht nach '%2' kopiert werden: %3 @@ -26342,9 +26680,17 @@ Es wird versucht eine Paketdatei zu erstellen, es können aber Probleme auftrete Erzeuge Quellpaket... - Starting scp ... + Starting scp... Starte scp... + + Uploading file %1... + Lade Datei %1 hoch... + + + Starting scp ... + Starte scp... + SSH error: %1 SSH-Fehler: %1 @@ -26371,7 +26717,7 @@ Es wird versucht eine Paketdatei zu erstellen, es können aber Probleme auftrete Uploading file %1 ... - Lade Datei %1 hoch... + Lade Datei %1 hoch... Cannot open file for reading: %1. @@ -26755,9 +27101,13 @@ Möchten Sie sie zum Projekt hinzufügen?</html> Qt Creator - Do you want to remove the packaging file(s) associated with the target '%1'? + Do you want to remove the packaging files associated with the target '%1'? Möchten Sie die Paketdateien löschen, die zum Ziel '%1' gehören? + + Do you want to remove the packaging file(s) associated with the target '%1'? + Möchten Sie die Paketdateien löschen, die zum Ziel '%1' gehören? + Error creating packaging directory '%1'. Fehler beim Anlegen des Paket-Ordners '%1'. @@ -26794,16 +27144,28 @@ Möchten Sie sie zum Projekt hinzufügen?</html> Die Bilddatei '%1' konnte nicht exportiert werden. - Unable to create Debian templates: No Qt version set + Unable to create Debian templates: No Qt version set. Es konnten keine Debian-Vorlagen erstellt werden: Es ist keine Qt-Version eingestellt. + + Unable to create Debian templates: dh_make failed (%1). + Es konnten keine Debian-Vorlagedateien erstellt werden: dh_make schlug fehl (%1). + + + Unable to create debian templates: dh_make failed (%1). + Es konnten keine Debian-Vorlagedateien erstellt werden: dh_make schlug fehl (%1). + + + Unable to create Debian templates: No Qt version set + Es konnten keine Debian-Vorlagen erstellt werden: Es ist keine Qt-Version eingestellt. + Unable to create Debian templates: dh_make failed (%1) - Es konnten keine Debian-Vorlagedateien erstellt werden: dh_make schlug fehl (%1) + Es konnten keine Debian-Vorlagedateien erstellt werden: dh_make schlug fehl (%1) Unable to create debian templates: dh_make failed (%1) - Es konnten keine Debian-Vorlagedateien erstellt werden: dh_make schlug fehl (%1) + Es konnten keine Debian-Vorlagedateien erstellt werden: dh_make schlug fehl (%1) Unable to move new debian directory to '%1'. @@ -27073,7 +27435,7 @@ Ist das Gerät verbunden und für Netzwerkzugriff eingerichtet? RemoteLinux::Internal::LinuxDeviceConfigurationsSettingsWidget You will need at least one port. - Sie benötigen mindestens einen freien Port. + Sie benötigen mindestens einen freien Port. Physical Device @@ -27105,63 +27467,63 @@ Ist das Gerät verbunden und für Netzwerkzugriff eingerichtet? Authentication type: - Art der Authentifizierung: + Art der Authentifizierung: Password - Passwort + Passwort &Key - Schl&üssel + Schl&üssel &Host name: - &Hostname: + &Hostname: IP or host name of the device - IP-Adresse oder Hostname des Geräts + IP-Adresse oder Hostname des Geräts &SSH port: - &SSH-Port: + &SSH-Port: Free ports: - Freie Ports: + Freie Ports: You can enter lists and ranges like this: 1024,1026-1028,1030 - Sie können Listen und Bereiche wie folgt angeben: 1024,1026-1028,1030 + Sie können Listen und Bereiche wie folgt angeben: 1024,1026-1028,1030 Timeout: - Zeitlimit: + Zeitlimit: s - s + s &Username: - &Nutzername: + &Nutzername: &Password: - &Passwort: + &Passwort: Show password - Passwort anzeigen + Passwort anzeigen Private key file: - Private Schlüsseldatei: + Private Schlüsseldatei: Set as Default - Als Vorgabe setzen + Als Vorgabe setzen &Add... @@ -27183,6 +27545,14 @@ Ist das Gerät verbunden und für Netzwerkzugriff eingerichtet? &Generate SSH Key... &Erzeuge SSH-Schlüssel... + + General + Allgemein + + + OS Type Specific + Betriebssystemabhängig + RemoteLinux::LinuxDeviceTestDialog @@ -28998,16 +29368,36 @@ Gibt an, wie sich die Rücktaste bezüglich Einrückung verhält. Enable hover &tooltips only when Shift key is down - &Maus-Tooltips nur bei gedrückter Umschalttaste zeigen + &Maus-Tooltips nur bei gedrückter Umschalttaste zeigen Enable &keyboard tooltips when pressing and releasing the Alt key - &Tastatur-Tooltips nur bei Drücken und Loslassen der Alt-Taste zeigen + &Tastatur-Tooltips nur bei Drücken und Loslassen der Alt-Taste zeigen Enable built-in camel case &navigation Eingebaute CamelCase-Navigation aktivieren + + Show help tooltips: + Tool-Tips anzeigen: + + + On Mouseover + Wenn sich der Mauszeiger über dem Element befindet + + + On Shift+Mouseover + Wenn sich der Mauszeiger über dem Element befindet und die Umschalttaste gedrückt ist + + + Press Alt to display context-sensitive help or type information as tooltips. + Drücken Sie die Alt-Taste um kontextabhängige Hilfe oder Typinformation als Tool-Tip anzuzeigen. + + + Using keyboard shortcut (Alt) + Tastaturkürzel (Alt-Taste) + TextEditor::Internal::CodeStyleSelectorWidget @@ -29394,10 +29784,18 @@ should a repository require SSH-authentication (see documentation on SSH and the Recently used sessions - Zuletzt benutzte Sitzungen + Zuletzt benutzte Sitzungen Recently used Projects + Zuletzt bearbeitete Projekte + + + Sessions + Sitzungen + + + Recent Projects Zuletzt bearbeitete Projekte @@ -30122,6 +30520,10 @@ should a repository require SSH-authentication (see documentation on SSH and the Debugger::DebuggerEnginePrivate + + Attempting to interrupt. + Unterbreche. + Debugger Test Debugger-Test @@ -30131,19 +30533,19 @@ should a repository require SSH-authentication (see documentation on SSH and the Debugger::Internal::QmlJSScriptConsoleWidget Clear Console - Konsole löschen + Konsole löschen Log - Log + Log Warning - Warnung + Warnung Error - Fehler + Fehler @@ -30154,7 +30556,7 @@ should a repository require SSH-authentication (see documentation on SSH and the Context: - Kontext: + Kontext: Context: %1 @@ -30162,23 +30564,23 @@ should a repository require SSH-authentication (see documentation on SSH and the Cut - Ausschneiden + Ausschneiden Copy - Kopieren + Kopieren Paste - Einfügen + Einfügen Select All - Alles auswählen + Alles auswählen Clear - Löschen + Löschen @@ -30591,7 +30993,11 @@ Möchten Sie es beenden? Analyzer::Internal::AnalyzerRunConfigWidget Analyzer Settings: - Analyse-Einstellungen + Analyse-Einstellungen + + + Analyzer settings: + Analyse-Einstellungen: Analyzer Settings @@ -30652,7 +31058,11 @@ Möchten Sie es beenden? VcsBase::Internal::UrlTextCursorHandler Open URL in browser ... - URL in Browser öffnen... + URL in Browser öffnen... + + + Open URL in browser... + URL in Browser öffnen... Copy URL location @@ -30663,6 +31073,10 @@ Möchten Sie es beenden? VcsBase::Internal::EmailTextCursorHandler Send email to ... + Sende E-Mail an... + + + Send email to... Sende E-Mail an... @@ -30704,6 +31118,10 @@ Möchten Sie es beenden? <p>The project <b>%1</b> is not yet configured.</p><p>Qt Creator uses the Qt version: <b>%2</b> and the tool chain: <b>%3</b> to parse the project. You can edit these in the <b><a href="edit">settings</a></b></p> + <p>Das Projekt <b>%1</b> ist noch nicht konfiguriert.</p><p>Qt Creator verwendet die Qt-Version: <b>%2</b> und die Toolchain: <b>%3</b> um es zu einzulesen. Sie können dies unter <b><a href="edit">Einstellungen</a></b> ändern.</p> + + + <p>The project <b>%1</b> is not yet configured.</p><p>Qt Creator uses the Qt version: <b>%2</b> and the tool chain: <b>%3</b> to parse the project. You can edit these in the <b><a href="edit">options.</a></b></p> <p>Das Projekt <b>%1</b> ist noch nicht konfiguriert.</p><p>Qt Creator verwendet die Qt-Version: <b>%2</b> und die Toolchain: <b>%3</b> um es zu einzulesen. Sie können dies unter <b><a href="edit">Einstellungen</a></b> ändern.</p> @@ -30721,6 +31139,13 @@ Möchten Sie es beenden? Qt4ProjectManager::Internal::UnConfiguredSettingsWidget + + Qt Creator can open qmake projects without configuring them for building. +The C++ and QML code models need a Qt version and tool chain to offer code completion. + + Qt Creator kann qmake-basierte Projekte öffnen, ohne sie zur Erstellung zu konfigurieren. +Die C++- beziehungsweise QML-Codemodelle benötigen eine Qt-Version und eine Toolchain für die Code-Vervollständigung. + Qt Version: Qt-Version: @@ -30760,4 +31185,359 @@ Möchten Sie es beenden? Embedded Linux + + RemoteLinux::GenericLinuxDeviceConfigurationWidget + + Form + Formular + + + Authentication type: + Art der Authentifizierung: + + + Password + Passwort + + + &Key + Schl&üssel + + + &Host name: + &Hostname: + + + IP or host name of the device + IP-Adresse oder Hostname des Geräts + + + &SSH port: + &SSH-Port: + + + Free ports: + Freie Ports: + + + You can enter lists and ranges like this: 1024,1026-1028,1030 + Sie können Listen und Bereiche wie folgt angeben: 1024,1026-1028,1030 + + + Timeout: + Zeitlimit: + + + s + s + + + &Username: + &Nutzername: + + + &Password: + &Passwort: + + + Show password + Passwort anzeigen + + + Private key file: + Private Schlüsseldatei: + + + Set as Default + Als Vorgabe setzen + + + You will need at least one port. + Sie benötigen mindestens einen freien Port. + + + + Todo::Internal::AddKeywordDialog + + Keyword + Schlüsselwort + + + Icon + Icon + + + Color + Farbe + + + + Todo::Internal::OptionsDialog + + Form + Form + + + Keywords + Schlüsselworte + + + Add + Hinzufügen + + + Edit + Bearbeiten + + + Remove + Löschen + + + Reset + Rücksetzen + + + Scanning scope + Suchbereich + + + Scan in the whole project + Im gesamten Projekt suchen + + + + Scan in the current opened file + In gegenwärtig geöffneter Datei suchen + + + + SessionItem + + Clone + Klonen + + + Rename + Umbenennen + + + Delete + Löschen + + + + Sessions + + %1 (last session) + %1 (zuletzt benutzt) + + + %1 (current session) + %1 (aktuelle Sitzung) + + + + Analyzer::AnalyzerRunConfigurationAspect + + Analyzer Settings + Analyse-Einstellungen + + + + BinEditorDocument + + Cannot open %1: %2 + Die Datei %1 kann nicht geöffnet werden: %2 + + + File Error + Dateifehler + + + + Core::DocumentManager + + File Error + Dateifehler + + + Overwrite? + Überschreiben? + + + An item named '%1' already exists at this location. Do you want to overwrite it? + Es existiert bereits eine Datei des Namens '%1' an dieser Stelle. Wollen Sie sie überschreiben? + + + Save File As + Datei speichern + + + Open File + Datei öffnen + + + File Is Read Only + Die Datei ist schreibgeschützt + + + The file <i>%1</i> is read only. + Die Datei <i>%1</i> ist schreibgeschützt. + + + Open with VCS (%1) + Öffnen mittels Versionskontrollsystem (%1) + + + Make Writable + Schreibbar machen + + + Save As... + Speichern als... + + + Cannot reload %1 + %1 konnte nicht neu geladen werden + + + + Core::IDocument + + File was restored from auto-saved copy. Use <i>Save</i> to confirm, or <i>Revert to Saved</i> to discard changes. + Die Datei wurde von einer Sicherheitskopie wiederhergestellt. Wählen Sie <i>Speichern</i> zur Bestätigung oder <i>Wiederherstellen</i> um die Änderungen zu verwerfen. + + + + Debugger::Internal::DebuggerRunConfigWidget + + Debugger Settings + Debugger-Einstellungen + + + Enable C++ + C++ aktivieren + + + Enable QML + QML aktivieren + + + Debug port: + Port für Debugger: + + + <a href="qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html">What are the prerequisites?</a> + <a href="qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html">Was sind die Voraussetzungen?</a> + + + + Debugger::Internal::QtMessageLogEditor + + Cu&t + &Ausschneiden + + + &Copy + &Kopieren + + + &Paste + &Einfügen + + + Select &All + Alles aus&wählen + + + C&lear + &Löschen + + + + Debugger::Internal::QtMessageLogView + + &Copy + &Kopieren + + + &Show in Editor + In &Editor anzeigen + + + C&lear + &Löschen + + + + Debugger::Internal::QtMessageLogWindow + + Log + Log + + + Warning + Warnung + + + Error + Fehler + + + Clear Console + Konsole löschen + + + + ProjectExplorer::Internal::SessionModel + + New session name + Name der neuen Sitzung + + + + ProjectExplorer::DebuggerRunConfigurationAspect + + Debugger settings + Debugger-Einstellungen + + + + Todo::Internal::TodoItemsModel + + Description + Beschreibung + + + File + Datei + + + Line + Zeile + + + + Todo::Internal::TodoOutputPane + + To-Do Entries + Einträge + + + Scan in the current opened file + In gegenwärtig geöffneter Datei suchen + + + Scan in the whole project + Im gesamten Projekt suchen + + + + Todo::Internal::OptionsPage + + To-Do + To Do + + diff --git a/share/qtcreator/welcomescreen/widgets/ProjectItem.qml b/share/qtcreator/welcomescreen/widgets/ProjectItem.qml index 068a92dc312..30a20c1e75a 100644 --- a/share/qtcreator/welcomescreen/widgets/ProjectItem.qml +++ b/share/qtcreator/welcomescreen/widgets/ProjectItem.qml @@ -37,6 +37,12 @@ Item { width: 480 height: 32 + Rectangle { + anchors.fill: parent + color: "#f9f9f9" + opacity: projectNameText.hovered ? 1 : 0 + } + property alias projectName: projectNameText.text property alias projectPath: pathText.text diff --git a/share/qtcreator/welcomescreen/widgets/RecentProjects.qml b/share/qtcreator/welcomescreen/widgets/RecentProjects.qml index 384c6817293..e3b6c853389 100644 --- a/share/qtcreator/welcomescreen/widgets/RecentProjects.qml +++ b/share/qtcreator/welcomescreen/widgets/RecentProjects.qml @@ -49,7 +49,7 @@ ScrollArea { Column { id: column - spacing: 2 + spacing: 6 Repeater { id: repeater diff --git a/src/app/app_version.h.in b/src/app/app_version.h.in index bca0325043f..79f2a05769c 100644 --- a/src/app/app_version.h.in +++ b/src/app/app_version.h.in @@ -48,7 +48,7 @@ namespace Constants { const char * const IDE_VERSION_LONG = IDE_VERSION_STR; const char * const IDE_AUTHOR = \"Nokia Corporation\"; -const char * const IDE_YEAR = \"2011\"; +const char * const IDE_YEAR = \"2012\"; #ifdef IDE_VERSION_DESCRIPTION const char * const IDE_VERSION_DESCRIPTION_STR = STRINGIFY(IDE_VERSION_DESCRIPTION); diff --git a/src/plugins/analyzerbase/analyzerrunconfigwidget.cpp b/src/plugins/analyzerbase/analyzerrunconfigwidget.cpp index e5dbd371138..321eb675c0b 100644 --- a/src/plugins/analyzerbase/analyzerrunconfigwidget.cpp +++ b/src/plugins/analyzerbase/analyzerrunconfigwidget.cpp @@ -85,7 +85,8 @@ AnalyzerRunConfigWidget::AnalyzerRunConfigWidget() globalSettingLayout->addStretch(2); m_subConfigWidget = new QWidget(this); - new QVBoxLayout(m_subConfigWidget); + QVBoxLayout *subConfigLayout = new QVBoxLayout(m_subConfigWidget); + subConfigLayout->setContentsMargins(0, 0, 0, 0); layout->addWidget(m_subConfigWidget); } diff --git a/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp b/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp index 7d8ffdc69bb..3a9c1c2a6a0 100644 --- a/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp +++ b/src/plugins/coreplugin/dialogs/externaltoolconfig.cpp @@ -74,15 +74,11 @@ Qt::DropActions ExternalToolModel::supportedDropActions() const return Qt::MoveAction; } -QString ExternalToolModel::uncategorizedDisplayName() const -{ - static QString uncategorized = tr("Uncategorized"); - return uncategorized; -} - int ExternalToolModel::columnCount(const QModelIndex &parent) const { - if (!parent.isValid() || toolForIndex(parent) || !categoryForIndex(parent).isEmpty()) + bool categoryFound; + categoryForIndex(parent, &categoryFound); + if (!parent.isValid() || toolForIndex(parent) || categoryFound) return 1; return 0; } @@ -91,9 +87,11 @@ QVariant ExternalToolModel::data(const QModelIndex &index, int role) const { if (ExternalTool *tool = toolForIndex(index)) return data(tool, role); - QString category = categoryForIndex(index); - QTC_ASSERT(!category.isEmpty(), return QVariant()); - return data(category, role); + bool found; + QString category = categoryForIndex(index, &found); + if (found) + return data(category, role); + return QVariant(); } QVariant ExternalToolModel::data(ExternalTool *tool, int role) const @@ -113,10 +111,9 @@ QVariant ExternalToolModel::data(const QString &category, int role) const switch (role) { case Qt::DisplayRole: case Qt::EditRole: - return category; + return category.isEmpty() ? tr("Uncategorized") : category; case Qt::ToolTipRole: - return category == uncategorizedDisplayName() - ? tr("Tools that will appear directly under the External Tools menu.") : QVariant(); + return category.isEmpty() ? tr("Tools that will appear directly under the External Tools menu.") : QVariant(); default: break; } @@ -130,8 +127,9 @@ QMimeData *ExternalToolModel::mimeData(const QModelIndexList &indexes) const QModelIndex modelIndex = indexes.first(); ExternalTool *tool = toolForIndex(modelIndex); QTC_ASSERT(tool, return 0); - QString category = categoryForIndex(modelIndex.parent()); - QTC_ASSERT(!category.isEmpty(), return 0); + bool found; + QString category = categoryForIndex(modelIndex.parent(), &found); + QTC_ASSERT(found, return 0); QMimeData *md = new QMimeData(); QByteArray ba; QDataStream stream(&ba, QIODevice::WriteOnly); @@ -149,8 +147,9 @@ bool ExternalToolModel::dropMimeData(const QMimeData *data, Q_UNUSED(column) if (action != Qt::MoveAction || !data) return false; - QString toCategory = categoryForIndex(parent); - QTC_ASSERT(!toCategory.isEmpty(), return false); + bool found; + QString toCategory = categoryForIndex(parent, &found); + QTC_ASSERT(found, return false); QByteArray ba = data->data(QLatin1String("application/qtcreator-externaltool-config")); if (ba.isEmpty()) return false; @@ -159,15 +158,14 @@ bool ExternalToolModel::dropMimeData(const QMimeData *data, int pos = -1; stream >> category; stream >> pos; - QTC_ASSERT(!category.isEmpty(), return false); QList &items = m_tools[category]; QTC_ASSERT(pos >= 0 && pos < items.count(), return false); - beginRemoveRows(index(rowForCategory(category), 0), pos, pos); + beginRemoveRows(index(m_tools.keys().indexOf(category), 0), pos, pos); ExternalTool *tool = items.takeAt(pos); endRemoveRows(); if (row < 0) row = m_tools.value(toCategory).count(); - beginInsertRows(index(rowForCategory(toCategory), 0), row, row); + beginInsertRows(index(m_tools.keys().indexOf(toCategory), 0), row, row); m_tools[toCategory].insert(row, tool); endInsertRows(); return true; @@ -181,8 +179,9 @@ QStringList ExternalToolModel::mimeTypes() const QModelIndex ExternalToolModel::index(int row, int column, const QModelIndex &parent) const { if (column == 0 && parent.isValid()) { - QString category = categoryForIndex(parent); - if (!category.isEmpty()) { + bool found; + QString category = categoryForIndex(parent, &found); + if (found) { QList items = m_tools.value(category); if (row < items.count()) { return createIndex(row, 0, items.at(row)); @@ -197,11 +196,13 @@ QModelIndex ExternalToolModel::index(int row, int column, const QModelIndex &par QModelIndex ExternalToolModel::parent(const QModelIndex &child) const { if (ExternalTool *tool = toolForIndex(child)) { + int categoryIndex = 0; QMapIterator > it(m_tools); while (it.hasNext()) { it.next(); if (it.value().contains(tool)) - return index(rowForCategory(it.key()), 0); + return index(categoryIndex, 0); + ++categoryIndex; } } return QModelIndex(); @@ -214,8 +215,9 @@ int ExternalToolModel::rowCount(const QModelIndex &parent) const if (toolForIndex(parent)) { return 0; } - QString category = categoryForIndex(parent); - if (!category.isEmpty()) { + bool found; + QString category = categoryForIndex(parent, &found); + if (found) { return m_tools.value(category).count(); } @@ -226,9 +228,10 @@ Qt::ItemFlags ExternalToolModel::flags(const QModelIndex &index) const { if (toolForIndex(index)) return TOOL_ITEM_FLAGS; - QString category = categoryForIndex(index); - if (!category.isEmpty()) { - if (category == uncategorizedDisplayName()) + bool found; + QString category = categoryForIndex(index, &found); + if (found) { + if (category.isEmpty()) return TOOLSMENU_ITEM_FLAGS; return CATEGORY_ITEM_FLAGS; } @@ -248,18 +251,17 @@ bool ExternalToolModel::setData(const QModelIndex &modelIndex, const QVariant &v emit dataChanged(modelIndex, modelIndex); return true; } else { - QString category = categoryForIndex(modelIndex); - if (!category.isEmpty()) { + bool found; + QString category = categoryForIndex(modelIndex, &found); + if (found) { if (string.isEmpty() || m_tools.contains(string)) return false; // rename category QList categories = m_tools.keys(); - int previousIndex = rowForCategory(category); - categories.removeAll(uncategorizedDisplayName()); // prepended again after sorting new list + int previousIndex = categories.indexOf(category); categories.removeAt(previousIndex); categories.append(string); qSort(categories); - categories.prepend(uncategorizedDisplayName()); // prepend, so order is like in view int newIndex = categories.indexOf(string); if (newIndex != previousIndex) { // we have same parent so we have to do special stuff for beginMoveRows... @@ -293,34 +295,19 @@ ExternalTool *ExternalToolModel::toolForIndex(const QModelIndex &index) const return static_cast(index.internalPointer()); } -QString ExternalToolModel::categoryForIndex(const QModelIndex &index) const +QString ExternalToolModel::categoryForIndex(const QModelIndex &index, bool *found) const { if (index.isValid() && !index.parent().isValid() && index.column() == 0 && index.row() >= 0) { const QList &keys = m_tools.keys(); - if (index.row() == 0) - return uncategorizedDisplayName(); if (index.row() < keys.count()) { - int uncategorizedIndex = keys.indexOf(uncategorizedDisplayName()); - if (index.row() <= uncategorizedIndex) - return keys.at(index.row() - 1); + if (found) *found = true; return keys.at(index.row()); } } + if (found) *found = false; return QString(); } -int ExternalToolModel::rowForCategory(const QString &category) const -{ - if (category == uncategorizedDisplayName()) - return 0; - const QList &keys = m_tools.keys(); - int uncategorizedIndex = keys.indexOf(uncategorizedDisplayName()); - int index = keys.indexOf(category); - if (index < uncategorizedIndex) - return index + 1; - return index; -} - void ExternalToolModel::revertTool(const QModelIndex &modelIndex) { ExternalTool *tool = toolForIndex(modelIndex); @@ -343,10 +330,8 @@ QModelIndex ExternalToolModel::addCategory() category = categoryBase + QString::number(count); } QList categories = m_tools.keys(); - categories.removeAll(uncategorizedDisplayName()); // prepended again after sorting new list categories.append(category); qSort(categories); - categories.prepend(uncategorizedDisplayName()); // prepend, so order is like in view int pos = categories.indexOf(category); beginInsertRows(QModelIndex(), pos, pos); @@ -357,9 +342,10 @@ QModelIndex ExternalToolModel::addCategory() QModelIndex ExternalToolModel::addTool(const QModelIndex &atIndex) { - QString category = categoryForIndex(atIndex); - if (category.isEmpty()) - category = categoryForIndex(atIndex.parent()); + bool found; + QString category = categoryForIndex(atIndex, &found); + if (!found) + category = categoryForIndex(atIndex.parent(), &found); ExternalTool *tool = new ExternalTool; tool->setDisplayCategory(category); @@ -491,8 +477,8 @@ void ExternalToolConfig::setTools(const QMap > &t itemCopy.append(new ExternalTool(tool)); toolsCopy.insert(it.key(), itemCopy); } - if (!toolsCopy.contains(m_model->uncategorizedDisplayName())) - toolsCopy.insert(m_model->uncategorizedDisplayName(), QList()); + if (!toolsCopy.contains(QString())) + toolsCopy.insert(QString(), QList()); m_model->setTools(toolsCopy); ui->toolTree->expandAll(); } diff --git a/src/plugins/coreplugin/dialogs/externaltoolconfig.h b/src/plugins/coreplugin/dialogs/externaltoolconfig.h index d7c4b09d433..dde62af8915 100644 --- a/src/plugins/coreplugin/dialogs/externaltoolconfig.h +++ b/src/plugins/coreplugin/dialogs/externaltoolconfig.h @@ -73,14 +73,12 @@ public: QMap > tools() const; ExternalTool *toolForIndex(const QModelIndex &modelIndex) const; - QString categoryForIndex(const QModelIndex &modelIndex) const; - int rowForCategory(const QString &category) const; + QString categoryForIndex(const QModelIndex &modelIndex, bool *found) const; void revertTool(const QModelIndex &modelIndex); QModelIndex addCategory(); QModelIndex addTool(const QModelIndex &atIndex); void removeTool(const QModelIndex &modelIndex); Qt::DropActions supportedDropActions() const; - QString uncategorizedDisplayName() const; private: QVariant data(ExternalTool *tool, int role = Qt::DisplayRole) const; QVariant data(const QString &category, int role = Qt::DisplayRole) const; diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp index ecec8c00bbd..beb0ef3f883 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.cpp @@ -34,6 +34,7 @@ #include "mainwindow.h" #include "vcsmanager.h" +#include #include #include @@ -42,6 +43,7 @@ #include #include #include +#include Q_DECLARE_METATYPE(Core::IDocument*) @@ -54,10 +56,15 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent, { m_ui.setupUi(this); setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); - QPushButton *discardButton = m_ui.buttonBox->addButton(tr("Do not Save"), QDialogButtonBox::DestructiveRole); +#ifdef Q_OS_MAC + // QDialogButtonBox's behavior for "destructive" is wrong, the "do not save" should be left-aligned + QDialogButtonBox::ButtonRole discardButtonRole = QDialogButtonBox::ResetRole; +#else + QDialogButtonBox::ButtonRole discardButtonRole = QDialogButtonBox::DestructiveRole; +#endif + QPushButton *discardButton = m_ui.buttonBox->addButton(tr("Do not Save"), discardButtonRole); m_ui.buttonBox->button(QDialogButtonBox::Save)->setDefault(true); - m_ui.buttonBox->button(QDialogButtonBox::Save)->setFocus(Qt::TabFocusReason); - m_ui.buttonBox->button(QDialogButtonBox::Save)->setMinimumWidth(130); // bad magic number to avoid resizing of button + m_ui.treeWidget->setFocus(); m_ui.saveBeforeBuildCheckBox->setVisible(false); @@ -74,11 +81,17 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent, } QTreeWidgetItem *item = new QTreeWidgetItem(m_ui.treeWidget, QStringList() << visibleName << QDir::toNativeSeparators(directory)); + if (!fileName.isEmpty()) + item->setIcon(0, FileIconProvider::instance()->icon(QFileInfo(fileName))); item->setData(0, Qt::UserRole, qVariantFromValue(document)); } m_ui.treeWidget->resizeColumnToContents(0); m_ui.treeWidget->selectAll(); +#ifdef Q_OS_MAC + m_ui.treeWidget->setAlternatingRowColors(true); +#endif + adjustButtonWidths(); updateSaveButton(); connect(m_ui.buttonBox->button(QDialogButtonBox::Save), SIGNAL(clicked()), @@ -108,6 +121,32 @@ void SaveItemsDialog::updateSaveButton() } } +void SaveItemsDialog::adjustButtonWidths() +{ + // give save button a size that all texts fit in, so it doesn't get resized + // Mac: make cancel + save button same size (work around dialog button box issue) + QStringList possibleTexts; + possibleTexts << tr("Save") << tr("Save All"); + if (m_ui.treeWidget->topLevelItemCount() > 1) + possibleTexts << tr("Save Selected"); + int maxTextWidth = 0; + QPushButton *saveButton = m_ui.buttonBox->button(QDialogButtonBox::Save); + foreach (const QString &text, possibleTexts) { + saveButton->setText(text); + int hint = saveButton->sizeHint().width(); + if (hint > maxTextWidth) + maxTextWidth = hint; + } +#ifdef Q_OS_MAC + QPushButton *cancelButton = m_ui.buttonBox->button(QDialogButtonBox::Cancel); + int cancelButtonWidth = cancelButton->sizeHint().width(); + if (cancelButtonWidth > maxTextWidth) + maxTextWidth = cancelButtonWidth; + cancelButton->setMinimumWidth(maxTextWidth); +#endif + saveButton->setMinimumWidth(maxTextWidth); +} + void SaveItemsDialog::collectItemsToSave() { m_itemsToSave.clear(); diff --git a/src/plugins/coreplugin/dialogs/saveitemsdialog.h b/src/plugins/coreplugin/dialogs/saveitemsdialog.h index e4702f0dbcf..5560af287fc 100644 --- a/src/plugins/coreplugin/dialogs/saveitemsdialog.h +++ b/src/plugins/coreplugin/dialogs/saveitemsdialog.h @@ -70,6 +70,8 @@ private slots: void updateSaveButton(); private: + void adjustButtonWidths(); + Ui::SaveItemsDialog m_ui; QList m_itemsToSave; }; diff --git a/src/plugins/debugger/breakhandler.cpp b/src/plugins/debugger/breakhandler.cpp index ccc367461a2..e3d8e1e107d 100644 --- a/src/plugins/debugger/breakhandler.cpp +++ b/src/plugins/debugger/breakhandler.cpp @@ -744,8 +744,7 @@ void BreakHandler::setEnabled(BreakpointModelId id, bool on) if (it->data.enabled == on) return; it->data.enabled = on; - it->destroyMarker(); - it->updateMarker(id); + it->updateMarkerIcon(); if (it->engine) { it->state = BreakpointChangeRequested; scheduleSynchronization(); @@ -780,8 +779,7 @@ void BreakHandler::setTracepoint(BreakpointModelId id, bool on) if (it->data.tracepoint == on) return; it->data.tracepoint = on; - it->destroyMarker(); - it->updateMarker(id); + it->updateMarkerIcon(); if (it->engine) { it->state = BreakpointChangeRequested; @@ -1414,6 +1412,12 @@ bool BreakHandler::BreakpointItem::isLocatedAt || fileNameMatch(fileName, markerFileName())); } +void BreakHandler::BreakpointItem::updateMarkerIcon() +{ + marker->setIcon(icon()); + marker->updateMarker(); +} + void BreakHandler::BreakpointItem::updateMarker(BreakpointModelId id) { QString file = markerFileName(); diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index 8c167ac094f..ca003552f91 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -197,6 +197,7 @@ private: bool isLocatedAt(const QString &fileName, int lineNumber, bool useMarkerPosition) const; void updateMarker(BreakpointModelId id); + void updateMarkerIcon(); QString toToolTip() const; QString markerFileName() const; int markerLineNumber() const; diff --git a/src/plugins/debugger/breakpointmarker.cpp b/src/plugins/debugger/breakpointmarker.cpp index fb1799cd124..214184f9a6e 100644 --- a/src/plugins/debugger/breakpointmarker.cpp +++ b/src/plugins/debugger/breakpointmarker.cpp @@ -67,8 +67,8 @@ void BreakpointMarker::removedFromEditor() void BreakpointMarker::updateLineNumber(int lineNumber) { - breakHandler()->updateLineNumberFromMarker(m_id, lineNumber); BaseTextMark::updateLineNumber(lineNumber); + breakHandler()->updateLineNumberFromMarker(m_id, lineNumber); } } // namespace Internal diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index bd8f94d3335..ba1e99b9de8 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -715,7 +715,7 @@ void GdbEngine::interruptInferior() QTC_ASSERT(state() == InferiorStopRequested, qDebug() << "INTERRUPT INFERIOR: " << state(); return); - if (0 && debuggerCore()->boolSetting(TargetAsync)) { + if (usesExecInterrupt()) { postCommand("-exec-interrupt"); } else { showStatusMessage(tr("Stop requested..."), 5000); @@ -1634,7 +1634,7 @@ void GdbEngine::handleStop1(const GdbMi &data) } else { showMessage(_("HANDLING SIGNAL " + name)); if (debuggerCore()->boolSetting(UseMessageBoxForSignals) - && !isStopperThread) + && !isStopperThread && !isAutoTestRunning()) showStoppedBySignalMessageBox(_(meaning), _(name)); if (!name.isEmpty() && !meaning.isEmpty()) reasontr = msgStoppedBySignal(_(meaning), _(name)); @@ -1667,7 +1667,7 @@ void GdbEngine::handleStop2() if (supportsThreads()) { if (m_gdbAdapter->isCodaAdapter()) { m_gdbAdapter->codaReloadThreads(); - } else if (m_isMacGdb) { + } else if (m_isMacGdb || m_gdbVersion < 70100) { postCommand("-thread-list-ids", Discardable, CB(handleThreadListIds)); } else { // This is only available in gdb 7.1+. @@ -1715,6 +1715,11 @@ void GdbEngine::handleShowVersion(const GdbResponse &response) if (m_gdbVersion > 70300) m_hasBreakpointNotifications = true; + + if (usesExecInterrupt()) + postCommand("set target-async on", ConsoleCommand); + else + postCommand("set target-async off", ConsoleCommand); } } @@ -4707,11 +4712,7 @@ bool GdbEngine::startGdb(const QStringList &args, const QString &settingsIdHint) postCommand("set trust-readonly-sections on", ConsoleCommand); postCommand("set auto-solib-add on", ConsoleCommand); postCommand("set remotecache on", ConsoleCommand); - - if (0 && debuggerCore()->boolSetting(TargetAsync)) { - postCommand("set target-async on", ConsoleCommand); - postCommand("set non-stop on", ConsoleCommand); - } + //postCommand("set non-stop on", ConsoleCommand); // Work around https://bugreports.qt-project.org/browse/QTCREATORBUG-2004 postCommand("maintenance set internal-warning quit no", ConsoleCommand); @@ -5130,6 +5131,17 @@ bool GdbEngine::isHiddenBreakpoint(const BreakpointResponseId &id) const return isQFatalBreakpoint(id) || isQmlStepBreakpoint(id); } +bool GdbEngine::usesExecInterrupt() const +{ + if (m_gdbVersion < 70000) + return false; + + // debuggerCore()->boolSetting(TargetAsync) + DebuggerStartMode mode = startParameters().startMode; + return mode == AttachToRemoteServer + || mode == AttachToRemoteProcess; +} + void GdbEngine::scheduleTestResponse(int testCase, const QByteArray &response) { if (!m_testCases.contains(testCase) && startParameters().testCase != testCase) diff --git a/src/plugins/debugger/gdb/gdbengine.h b/src/plugins/debugger/gdb/gdbengine.h index f8b8fc3df59..08d4e0b17a5 100644 --- a/src/plugins/debugger/gdb/gdbengine.h +++ b/src/plugins/debugger/gdb/gdbengine.h @@ -732,6 +732,8 @@ private: ////////// View & Data Stuff ////////// BreakpointResponseId m_qFatalBreakpointResponseId; bool m_actingOnExpectedStop; + bool usesExecInterrupt() const; + QHash m_scheduledTestResponses; QSet m_testCases; }; diff --git a/src/plugins/debugger/qml/qmlengine.cpp b/src/plugins/debugger/qml/qmlengine.cpp index c84ea15d855..5580926d416 100644 --- a/src/plugins/debugger/qml/qmlengine.cpp +++ b/src/plugins/debugger/qml/qmlengine.cpp @@ -154,6 +154,9 @@ public: bool visit(UiScriptBinding *ast) { + if (!ast->statement) + return true; + quint32 sourceStartLine = ast->firstSourceLocation().startLine; quint32 statementStartLine; quint32 statementColumn; @@ -165,6 +168,8 @@ public: } else if (ast->statement->kind == Node::Kind_Block) { Block *block = static_cast(ast->statement); + if (!block || !block->statements) + return true; statementStartLine = block->statements->firstSourceLocation(). startLine; statementColumn = block->statements->firstSourceLocation(). diff --git a/src/plugins/debugger/qml/qmlengine.h b/src/plugins/debugger/qml/qmlengine.h index b8558c98e6f..25e11669563 100644 --- a/src/plugins/debugger/qml/qmlengine.h +++ b/src/plugins/debugger/qml/qmlengine.h @@ -91,6 +91,8 @@ public: QmlAdapter *adapter() const; + void insertBreakpoint(BreakpointModelId id); + public slots: void disconnected(); void documentUpdated(QmlJS::Document::Ptr doc); @@ -130,7 +132,6 @@ private: void selectThread(int index); void attemptBreakpointSynchronization(); - void insertBreakpoint(BreakpointModelId id); void removeBreakpoint(BreakpointModelId id); void changeBreakpoint(BreakpointModelId id); bool acceptsBreakpoint(BreakpointModelId id) const; diff --git a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp index b7c7b8ba994..ee888af93e6 100644 --- a/src/plugins/debugger/qml/qmlv8debuggerclient.cpp +++ b/src/plugins/debugger/qml/qmlv8debuggerclient.cpp @@ -1131,23 +1131,21 @@ void QmlV8DebuggerClient::changeBreakpoint(const BreakpointModelId &id) BreakHandler *handler = d->engine->breakHandler(); const BreakpointParameters ¶ms = handler->breakpointData(id); + BreakpointResponse br = handler->response(id); if (params.type == BreakpointAtJavaScriptThrow) { d->setExceptionBreak(AllExceptions, params.enabled); - + br.enabled = params.enabled; + handler->setResponse(id, br); } else if (params.type == BreakpointOnQmlSignalHandler) { d->setBreakpoint(QString(_(EVENT)), params.functionName, params.enabled); - + br.enabled = params.enabled; + handler->setResponse(id, br); } else { - int breakpoint = d->breakpoints.value(id); - d->changeBreakpoint(breakpoint, params.enabled, QLatin1String(params.condition), - params.ignoreCount); + //V8 supports only minimalistic changes in breakpoint + //Remove the breakpoint and add again + removeBreakpoint(id); + d->engine->insertBreakpoint(id); } - - BreakpointResponse br = handler->response(id); - br.enabled = params.enabled; - br.condition = params.condition; - br.ignoreCount = params.ignoreCount; - handler->setResponse(id, br); } void QmlV8DebuggerClient::synchronizeBreakpoints() diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index 715e355122e..97393c43fa4 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -418,7 +418,7 @@ public: bool isReturn() const { - return m_key == Key_Return; + return m_key == Key_Return || m_key == Key_Enter; } bool isEscape() const diff --git a/src/plugins/projectexplorer/taskmodel.cpp b/src/plugins/projectexplorer/taskmodel.cpp index 1d929e0f4f4..edf903ef44c 100644 --- a/src/plugins/projectexplorer/taskmodel.cpp +++ b/src/plugins/projectexplorer/taskmodel.cpp @@ -163,7 +163,6 @@ void TaskModel::updateTaskLineNumber(unsigned int id, int line) if (m_tasks.at(i).taskId == id) { m_tasks[i].movedLine = line; emit dataChanged(index(i, 0), index(i, 0)); - return; } } diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.cpp b/src/plugins/qt4projectmanager/qt4projectmanager.cpp index 033c9188e97..a57a903b3fc 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanager.cpp +++ b/src/plugins/qt4projectmanager/qt4projectmanager.cpp @@ -482,7 +482,8 @@ UnConfiguredSettings Qt4Manager::unconfiguredSettings() const } } m_unConfiguredVersionId = version->uniqueId(); - m_unconfiguredToolChainId = toolChain->id(); + if (toolChain) + m_unconfiguredToolChainId = toolChain->id(); } UnConfiguredSettings us; us.version = version; diff --git a/src/plugins/qtsupport/qtoptionspage.cpp b/src/plugins/qtsupport/qtoptionspage.cpp index a87ee0b8c87..19647113187 100644 --- a/src/plugins/qtsupport/qtoptionspage.cpp +++ b/src/plugins/qtsupport/qtoptionspage.cpp @@ -596,7 +596,9 @@ void QtOptionsPageWidget::addQtDir() QFileDialog::getOpenFileName(this, tr("Select a qmake executable"), QString(), - filterForQmakeFileDialog())); + filterForQmakeFileDialog(), + 0, + QFileDialog::DontResolveSymlinks)); if (qtVersion.isNull()) return; if (QtVersionManager::instance()->qtVersionForQMakeBinary(qtVersion)) { @@ -642,7 +644,10 @@ void QtOptionsPageWidget::editPath() Utils::FileName qtVersion = Utils::FileName::fromString( QFileDialog::getOpenFileName(this, tr("Select a qmake executable"), - dir, filterForQmakeFileDialog())); + dir, + filterForQmakeFileDialog(), + 0, + QFileDialog::DontResolveSymlinks)); if (qtVersion.isNull()) return; BaseQtVersion *version = QtVersionFactory::createQtVersionFromQMakePath(qtVersion); diff --git a/src/plugins/texteditor/codestylepool.cpp b/src/plugins/texteditor/codestylepool.cpp index bc63d99732e..c73ecc04125 100644 --- a/src/plugins/texteditor/codestylepool.cpp +++ b/src/plugins/texteditor/codestylepool.cpp @@ -69,7 +69,7 @@ public: QString CodeStylePoolPrivate::generateUniqueId(const QString &id) const { - if (!m_idToCodeStyle.contains(id)) + if (!id.isEmpty() && !m_idToCodeStyle.contains(id)) return id; int idx = id.size(); @@ -80,7 +80,7 @@ QString CodeStylePoolPrivate::generateUniqueId(const QString &id) const } const QString baseName = id.left(idx); - QString newName = baseName; + QString newName = baseName.isEmpty() ? QLatin1String("codestyle") : baseName; int i = 2; while (m_idToCodeStyle.contains(newName)) newName = baseName + QString::number(i++); diff --git a/src/plugins/texteditor/codestyleselectorwidget.cpp b/src/plugins/texteditor/codestyleselectorwidget.cpp index d17f5cd7802..cd4041ba06b 100644 --- a/src/plugins/texteditor/codestyleselectorwidget.cpp +++ b/src/plugins/texteditor/codestyleselectorwidget.cpp @@ -117,6 +117,7 @@ CodeStyleDialog::CodeStyleDialog(ICodeStylePreferencesFactory *factory, m_codeStyle = factory->createCodeStyle(); m_codeStyle->setTabSettings(codeStyle->tabSettings()); m_codeStyle->setValue(codeStyle->value()); + m_codeStyle->setId(codeStyle->id()); m_codeStyle->setDisplayName(m_originalDisplayName); QWidget *editor = factory->createEditor(m_codeStyle, this);