diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index 6489b127f84..6cefbd28134 100644 --- a/share/qtcreator/translations/qtcreator_de.ts +++ b/share/qtcreator/translations/qtcreator_de.ts @@ -14,7 +14,7 @@ Die Kommandozeilen-Argumente konnten nicht an die laufende Instanz übermittelt werden. Sie antwortet nicht. - + Couldn't find 'Core.pluginspec' in %1 Die Datei 'Core.pluginspec' konnte in %1 nicht gefunden werden @@ -60,6 +60,34 @@ Löschen + + AttachTcfDialog + + + Start Debugger + Debugger starten + + + + Host and port: + Host und Portnummer: + + + + Architecture: + Architektur: + + + + Use server start script: + Server-Startskript benutzen: + + + + Server start script: + Server-Startskript: + + BINEditor::Internal::BinEditorPlugin @@ -101,7 +129,7 @@ Neuer Ordner - + @@ -139,21 +167,25 @@ Entfernen - + + You are going to delete a Folder which will also<br>remove its content. Are you sure you would like to continue? + Beim Löschen eines Ordners wird auch dessen Inhalt gelöscht.<br>Möchten Sie trotzdem fortsetzen? + + + New Folder Neuer Ordner - You are going to delete a Folder which will also<br>remove its content. Are you sure to continue? - Beim Löschen eines Ordners wird auch dessen Inhalt gelöscht.<br>Möchten Sie trotzdem fortsetzen? + Beim Löschen eines Ordners wird auch dessen Inhalt gelöscht.<br>Möchten Sie trotzdem fortsetzen? BookmarkWidget - + Delete Folder Ordner löschen @@ -307,11 +339,6 @@ BreakCondition - Dialog - - - - Condition: Bedingung: @@ -386,6 +413,11 @@ CMake CMake + + + CMake executable + Ausführbare CMake-Datei + CMakeProjectManager::Internal::InSourceBuildPage @@ -459,11 +491,6 @@ CdbOptionsPageWidget - Form - - - - These options take effect at the next start of Qt Creator. Die Einstellungen werden beim nächsten Start von Qt Creator wirksam. @@ -474,13 +501,23 @@ - TextLabel - + Cdb + Cdb - Cdb - Cdb + Debugger Paths + Debugger-Pfade + + + + Symbol paths: + Symbolpfade: + + + + Source paths: + Quelltext-Pfade: @@ -494,11 +531,6 @@ ChangeSelectionDialog - Dialog - - - - Repository Location: Repository: @@ -576,11 +608,6 @@ CodePaster::PasteSelectDialog - Dialog - - - - Paste: Ausschnitt: @@ -589,11 +616,6 @@ CodePaster::SettingsPage - Form - - - - CodePaster Server: CodePaster Server: @@ -627,11 +649,6 @@ CommonOptionsPage - Form - - - - User interface Benutzeroberfläche @@ -686,11 +703,6 @@ CompletionSettingsPage - Form - - - - Code Completion Code-Vervollständigung @@ -728,7 +740,7 @@ ContentWindow - + Open Link Adresse öffnen @@ -810,12 +822,12 @@ Sollen sie überschrieben werden? Core::EditorManager - + Revert to Saved Wiederherstellen - + Close Schließen @@ -826,12 +838,12 @@ Sollen sie überschrieben werden? - + Close Others Andere schließen - + Next Document in History Nächstes Dokument im Verlauf @@ -971,7 +983,7 @@ Sollen sie überschrieben werden? - + Opening File Datei Öffnen @@ -986,28 +998,53 @@ Sollen sie überschrieben werden? Datei öffnen - - + + File is Read Only + Die Datei ist schreibgeschützt + + + + The file %1 is read only. + Die Datei %1 ist schreibgeschützt. + + + + Open with VCS (%1) + Öffnen mittels Versionskontrollsystem (%1) + + + + Save as ... + Speichern als... + + + + Failed! Fehler - - Could not open the file for edit with SCC. + + Could not open the file for editing with SCC. Die Datei konnte nicht mit Hilfe der Versionsverwaltung schreibbar gemacht werden. - + Could not open the file for edit with SCC. + Die Datei konnte nicht mit Hilfe der Versionsverwaltung schreibbar gemacht werden. + + + Could not set permissions to writable. Die Datei konnte schreibbar gemacht werden. - + <b>Warning:</b> You are changing a read-only file. <b>Hinweis:</b> Sie sind im Begriff, eine schreibgeschützte Datei zu ändern. - + + Make writable Schreibbar machen @@ -1070,7 +1107,7 @@ Sollen sie überschrieben werden? Die Datei '%1' kann nicht gespeichert werden. Wollen Sie trotzdem fortsetzen und Ihre Änderungen aufgeben? - + Overwrite? Überschreiben? @@ -1177,7 +1214,7 @@ Sollen sie überschrieben werden? Core::Internal::EditorView - + Placeholder Platzhalter @@ -1217,11 +1254,6 @@ Sollen sie überschrieben werden? - Form - - - - General settings Allgemeine Einstellungen @@ -1489,11 +1521,6 @@ Sollen sie überschrieben werden? 1 1 - - - TextLabel - - Core::Internal::OpenEditorsWidget @@ -1534,12 +1561,12 @@ Sollen sie überschrieben werden? Next Item - Nächstes Element + Nächster Eintrag Previous Item - Voriges Element + Vorangehender Eintrag @@ -1670,7 +1697,98 @@ Sollen sie überschrieben werden? Core::Internal::WelcomeMode - + + Projects + Projekte + + + + Sessions + Sitzungen + + + + Tutorials + Anleitungen + + + + Qt Demos and Examples + Qt Demos und Beispiele + + + + Did you know? + Wussten Sie schon? + + + + News from the Qt Labs + Neuigkeiten von Qt Labs + + + + Qt Websites + Qt Internetseiten + + + + http://labs.trolltech.com/blogs/feed + Add localized feed here only if one exists + + + + + Qt Software + + + + + Qt Labs + + + + + Qt Git Hosting + + + + + Qt Centre + + + + + Qt/S60 at Forum Nokia + Qt/S60 beim Forum Nokia + + + + Qt Creator - A quick tour + Qt Creator - Schnelleinstieg + + + + Understanding widgets + Widgets verstehen + + + + Creating an address book + Erstellen einer Adressbuch-Beispielanwendung + + + + Building with qmake + Mit qmake arbeiten + + + + Writing test cases + Testfälle erstellen + + + Welcome Willkommen @@ -1679,11 +1797,34 @@ Sollen sie überschrieben werden? %1 (last session) %1 (zuletzt benutzt) + + + You can switch between Qt Creator's modes using <tt>Ctrl+number</tt>:<ol><li> - Welcome</li><li> - Edit</li><li>- Debug</li><li>- Projects</li><li>- Help</li><li></li><li>- Output</li></ol> + Sie können mittels <tt>Ctrl+Ziffer</tt> zwischen den Modi von Qt Creator wechseln:<ol><li> - Willkommen</li><li> - Editieren</li><li>- Debuggen</li><li>- Projekte</li><li>- Hilfe</li><li></li><li>- Ausgabe</li></ol> + + + + You can show and hide the side bar using <tt>Alt+0<tt>. + Die Sichtbarkeit der Seitenleiste kann mittels <tt>Alt+0<tt> umgeschaltet werden. + + + + You can fine tune the <tt>Find</tt> function by selecting &quot;Whole Words&quot; or &quot;Case Sensitive&quot;. Simply click on the icons on the right end of the line edit. + Sie können die <tt>Finden</tt>-Funktion durch Auswahl von &quot;Ganze Wörter&quot; oder &quot;Groß/Kleinschreibung&quot; steuern. Klicken Sie einfach auf die Symbole rechts vom Eingabefeld. + + + + If you add <a href="qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html">external libraries</a>, Qt Creator will automatically offer syntax highlighting and code completion. + Wenn Sie eine <a href="qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html">externe Bibliothek</a>, hinzufügen, bietet Qt Creator automatisch Syntax-Hervorhebung und Code-Vervollständigung. + + + If you add a <a href="qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html">external libraries</a>, Qt Creator will automatically offer syntax highlighting and code completion. + Wenn Sie eine <a href="qthelp://com.nokia.qtcreator/doc/creator-external-library-handling.html">externe Bibliothek</a>, hinzufügen, bietet Qt Creator automatisch Syntax-Hervorhebung und Code-Vervollständigung. + Core::Internal::WelcomePage - <style> h1 { font-size: 24px; @@ -1707,7 +1848,7 @@ p { <p><strong>Started</strong> to begin developing with Qt Creator.</p> <hr style="margin-top:15px"/> - <style> + <style> h1 { font-size: 24px; font-weight: normal; @@ -1734,39 +1875,11 @@ p { <hr style="margin-top:15px"/> - - * { - border-image: url(:/core/images/welcomemode/btn_27.png) 7; - border-width: 7; - padding: -2px 0; - font-size: 12px; - font-family: lucida sans, dejavu sans, sans serif; - color: black; -} - -*:hover { - border-image: url(:/core/images/welcomemode/btn_27_hover.png) 7; - color: white; -} - - - - - <qt>Getting Started &gt;&gt; - <qt>Schnelleinstieg &gt;&gt; + <qt>Schnelleinstieg &gt;&gt; - - #recentSessionsFrame { - border-image: url(:/core/images/welcomemode/rc_combined.png) 8; - border-width: 8; -} - - - - - + * { border-image: url(:/core/images/welcomemode/btn_26.png) 7; border-width: 7; @@ -1788,14 +1901,6 @@ p { <qt>Restore Last Session &gt;&gt; <qt>Zuletzt benutzt &gt;&gt; - - - #bottomWidget { - background-image: url(:/core/images/welcomemode/feedback-bar-background.png); -} - - - * { @@ -1823,6 +1928,59 @@ p { Help us make Qt Creator even better Helfen Sie uns, Qt Creator zu verbessern + + + #Core--Internal--WelcomePage { +background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); +} + + + + + #gradientWidget { + background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(247, 247, 247, 255), stop:1 rgba(215, 215, 215, 255)); +} + + + + + #headerFrame { + border-image: url(:/core/images/welcomemode/center_frame_header.png) 0; + border-width: 0; +} + + + + + + Getting Started + Schnelleinstieg + + + + Develop + Entwicklung + + + + Community + Community + + + + Open + Öffnen + + + + < + + + + + > + + Core::ModeManager @@ -1849,7 +2007,7 @@ p { Core::StandardFileWizard - + New %1 TODO: Grammatical case problem Neue %1 @@ -2010,11 +2168,6 @@ p { - Dialog - - - - Class name: Klassenname: @@ -2097,6 +2250,34 @@ p { Pfad: + + Core::Utils::PathListEditor + + + Insert... + Einfügen... + + + + Add... + Hinzufügen... + + + + Delete line + Zeile löschen + + + + Clear + Löschen + + + + From "%1" + Von "%1" + + Core::Utils::ProjectIntroPage @@ -2116,19 +2297,9 @@ p { - WizardPage - - - - Introduction and project location Einführung und Projektverzeichnis - - - TextLabel - - Name: @@ -2170,11 +2341,6 @@ p { Core::Utils::WizardPage - WizardPage - - - - Choose the location Verzeichnis auswählen @@ -2189,13 +2355,31 @@ p { Pfad: + + Core::Utils::reloadPrompt + + + File Changed + Datei geändert + + + + The file %1 has changed outside Qt Creator. Do you want to reload it? + Die Datei %1 wurde außerhalb von Qt Creator geändert. Möchten Sie sie neu laden? + + CppEditor::Internal::CPPEditor - + Sort alphabetically Alphabetisch sortieren + + + Reformat Document + Dokument neu formatieren + CppEditor::Internal::ClassNamePage @@ -2290,12 +2474,12 @@ p { CppFileSettingsPage - - Form - + + File naming conventions + Konventionen für die Bildung von Dateinamen - + Header suffix: Endung für Header-Dateien: @@ -2368,7 +2552,7 @@ p { CppTools::Internal::CppModelManager - + Indexing Indizierung @@ -2415,7 +2599,7 @@ p { Debugger - + <Encoding error> <Encoding-Fehler> @@ -2423,7 +2607,7 @@ p { Debugger::Internal::AttachCoreDialog - + Select Executable Ausführbare Datei auswählen @@ -2456,10 +2640,83 @@ p { Aktualisieren + + Debugger::Internal::AttachTcfDialog + + + Select Executable + Ausführbare Datei auswählen + + Debugger::Internal::BreakHandler - + + Marker File: + Marker-Datei: + + + + Marker Line: + Marker-Zeile: + + + + Breakpoint Number: + Nummer des Haltepunkts: + + + + Breakpoint Address: + Adresse des Haltepunkts: + + + + Property + Eigenschaft + + + + Requested + Angefordert + + + + Obtained + Erhalten + + + + Internal Number: + Interne Nummer: + + + + File Name: + Dateiname: + + + + Function Name: + Funktionsname: + + + + Line Number: + Zeilennummer: + + + + Condition: + Bedingung: + + + + Ignore Count: + Anhalten erst nach: + + + Number Zahl @@ -2489,7 +2746,7 @@ p { Anhalten nach - + Breakpoint will only be hit if this condition is met. Der Haltepunkt wird nur ausgelöst, wenn die Bedingung erfüllt ist. @@ -2507,7 +2764,7 @@ p { Haltepunkte - + Delete breakpoint Haltepunkt löschen @@ -2542,7 +2799,17 @@ p { Haltepunkt aktivieren - + + Use short path + Verkürzten Pfad verwenden + + + + Use full path + Vollen Pfad verwenden + + + Conditions on Breakpoint %1 Bedingungen des Haltepunkts %1 @@ -2550,7 +2817,7 @@ p { Debugger::Internal::CdbDebugEngine - + Unable to load the debugger engine library '%1': %2 Die Debugger-Bibliothek konnte '%1' nicht geladen werden: %2 @@ -2560,7 +2827,7 @@ p { '%1' konnte in der Debugger-Bibliothek '%2' nicht gefunden werden - + The dumper library '%1' does not exist. Es existiert keine Ausgabe-Hilfsbibliothek '%1'. @@ -2602,7 +2869,7 @@ p { Der Debugger konnte sich nicht an den Prozess %1 anhängen: %2 - + Unable to assign the value '%1' to '%2': %3 Der Wert '%1' konnte nicht an '%2' zugewiesen werden: %3 @@ -2689,10 +2956,28 @@ p { Suchen + + Debugger::Internal::CdbSymbolPathListEditor + + + Symbol Server... + Symbol-Server... + + + + Adds the Microsoft symbol server providing symbols for operating system libraries.Requires specifying a local cache directory. + Fügt den von Microsoft betriebenen Symbol-Server hinzu, der die Symbole für die Bibliotheken des Betriebssystems bereitstellt. Erfordert die Angabe eines lokalen Cache-Verzeichnisses. + + + + Pick a local cache directory + Wählen Sie ein Cache-Verzeichnis aus + + Debugger::Internal::DebugMode - + Debug Debuggen @@ -2700,18 +2985,18 @@ p { Debugger::Internal::DebuggerManager - + Continue Fortsetzen - + Interrupt Anhalten - + Reset Debugger Debugger zurücksetzen @@ -2776,7 +3061,7 @@ p { Zu Überwachten Ausdrücken hinzufügen - + Stop requested... Stop angefordert... @@ -2797,34 +3082,34 @@ p { Läuft... - + Changing breakpoint state requires either a fully running or fully stopped application. Das Ändern des Haltepunkt-Status erfordert, dass die Anwendung läuft oder vollständig gestoppt ist. - + Debugging VS executables is not supported. Das Debuggen von mit VS erzeugten ausführbaren Dateien wird nicht unterstützt. - - + + Warning Warnung - + Cannot attach to PID 0 Der Debugger kann nicht an die Prozess-Id 0 angehängt werden - + Cannot debug '%1': %2 '%1' kann nicht debuggt werden: %2 - + Save Debugger Log Debugger Log speichern @@ -2895,16 +3180,26 @@ p { + Attach to Running Tcf Agent... + An laufenden Tcf-Agenten anhängen... + + + + This attaches to a running 'Target Communication Framework' agent. + An einen laufenden 'Target Communication Framework'-Agenten anhängen. + + + Start and Attach to Remote Application... An entfernte Anwendung anhängen... Detach debugger - + Debugger abhängen - + Stop Debugger/Interrupt Debugger Debugger anhalten/unterbrechen @@ -2934,7 +3229,7 @@ p { Threads: - + Remove Breakpoint Haltepunkt löschen @@ -3093,7 +3388,7 @@ p { Debugger::Internal::DebuggingHelperOptionPage - + Debugging Helper Ausgabe-Hilfsbibliothek @@ -3103,7 +3398,7 @@ p { Pfad zur Ausgabe-Hilfsbibliothek einstellen - + Ctrl+Shift+F11 @@ -3157,7 +3452,7 @@ p { Debugger::Internal::GdbEngine - + The Gdb process failed to start. Either the invoked program '%1' is missing, or you may have insufficient permissions to invoke the program. Der Start des Gdb-Prozesses schlug fehl. Entweder fehlt die ausführbare Datei '%1' oder die Berechtigungen sind nicht ausreichend. @@ -3175,12 +3470,12 @@ p { An error occurred when attempting to write to the Gdb process. For example, the process may not be running, or it may have closed its input channel. - Ein Fehler trat beim Versuch des Schreibens zum Gdb-Process auf. Wahrscheinlich läuft der Prozess nicht, oder hat seinen Eingabekanal geschlossen. + Ein Fehler trat beim Versuch des Schreibens zum Gdb-Prozess auf. Wahrscheinlich läuft der Prozess nicht, oder hat seinen Eingabekanal geschlossen. An error occurred when attempting to read from the Gdb process. For example, the process may not be running. - Ein Fehler trat beim Versuch des Lesens vom Gdb-Process auf. Wahrscheinlich läuft der Prozess nicht. + Ein Fehler trat beim Versuch des Lesens vom Gdb-Prozess auf. Wahrscheinlich läuft der Prozess nicht. @@ -3190,14 +3485,14 @@ p { - + - + Error Fehler - + Library %1 loaded. Bibliothek %1 geladen. @@ -3237,7 +3532,7 @@ p { Debugger-Fehler - + Stopping temporarily. Temporär Anhalten. @@ -3252,94 +3547,97 @@ p { Core-Datei geladen. - + The upload process failed to start. Either the invoked script '%1' is missing, or you may have insufficient permissions to invoke the program. - + Das Hochladen konnte nicht gestartet weden. Entweder fehlt das Skript '%1', oder die Berechtigungen sind nicht ausreichend. The upload process crashed some time after starting successfully. - + Das Hochladen ist nach dem Starten abgestürzt. An error occurred when attempting to write to the upload process. For example, the process may not be running, or it may have closed its input channel. - + Ein Fehler trat beim Versuch des Schreibens zum Hochlade-Prozess auf. Wahrscheinlich läuft der Prozess nicht, oder hat seinen Eingabekanal geschlossen. An error occurred when attempting to read from the upload process. For example, the process may not be running. - + Ein Fehler trat beim Versuch des Lesens vom Hochlade-Prozess auf. Wahrscheinlich läuft der Prozess nicht. An unknown error in the upload process occurred. This is the default return value of error(). - + Es trat ein unbekannter Fehler im Hochlade-Prozess auf. Reading %1... - + Lese %1... - + Jumped. Stopped. - + Sprung ausgeführt/ Angehalten. - + Run to Function finished. Stopped. - + Ausgeführung bis zu Funktion beendet. Angehalten. Program exited with exit code %1 - + Das Programm wurde beendet, Rückgabewert %1 Program exited after receiving signal %1 - + Das Programm wurde nach Erhalt des Signals %1 beendet Program exited normally - + Das Programm wurde normal beendet Loading %1... - + Lade %1... Stopped at breakpoint. - + An Haltepunkt angehalten. Stopped: "%1" - + Angehalten: "%1" The debugger you are using identifies itself as: - + Der benutzte Debugger ist: This version is not officially supported by Qt Creator. Debugging will most likely not work well. Using gdb 6.7 or later is strongly recommended. - + Diese Version wird von Qt Creator nicht offiziell unterstützt. +Das Debuggen wird wahrscheinlich nicht richtig funktionieren. +Es wird empfohlen, gdb 6.7 oder später zu benutzen. Starting executable failed: - + Das Starten der ausführbaren Datei schlug fehl: + Running... @@ -3348,7 +3646,7 @@ Using gdb 6.7 or later is strongly recommended. Processing queued commands. - + Kommando-Warteschlange wird abgearbeitet. @@ -3356,77 +3654,77 @@ Using gdb 6.7 or later is strongly recommended. Angehalten. - + Debugger Startup Failure - + Fehler beim Starten des Debuggers Cannot set up communication with child process: %1 - + Die Kommunikation mit dem untergeordneten Prozesss konnte nicht hergestellt werden: %1 Starting Debugger: - + Starte Debugger: Cannot start debugger: %1 - + Der Debugger konnte nicht gestartet werden: %1 Gdb Running... - + Gdb läuft... Cannot find debugger initialization script - + Das Initalisierungsskript konnte nicht gefunden werden The debugger settings point to a script file at '%1' which is not accessible. If a script file is not needed, consider clearing that entry to avoid this warning. - + Auf die in den Debugger-Einstellungen angegebene Skriptdatei '%1' kann nicht zugegriffen werden. Wenn kein Skript benötigt wird, können Sie die Einstellung rücksetzen, um diese Warnung zu umgehen. - + Attached to running process. Stopped. - + An laufenden Prozess angehängt. Angehalten. Connecting to remote server failed: - + Die Verbindung zum Server konnte nicht hergestellt werden: Debugger exited. - + Debugger beendet. - + <could not retreive module information> - + <Modulinformation nicht verfügbar> Unable to run '%1': %2 - + '%1' kann nicht ausgeführt werden: %2 <unknown> End address of loaded module - + <unbekannt> Retrieving data for stack view... - + Daten der Stack-Anzeige werden empfangen... @@ -3449,96 +3747,123 @@ Using gdb 6.7 or later is strongly recommended. Variable <nicht im Bereich> - - - - Retrieving data for watch view (%1 requests pending)... - + + + Retrieving data for watch view (%n requests pending)... + + Daten der für die Anzeige der lokalen Variablen werden empfangen (noch eine austehende Anfrage) ... + Daten der für die Anzeige der lokalen Variablen werden empfangen (%n austehende Anfragen) ... + + + + + %n custom dumpers found. + + Ein unterstützter Typ wurde in der Ausgabe-Hilfsbibliothek gefunden. + %n unterstützte Typen wurden in der Ausgabe-Hilfsbibliothek gefunden. + + + + + <%n items> + In string list + + <Ein Element> + <%n Elemente> + - + Retrieving data for watch view (%1 requests pending)... + Daten der für die Anzeige der lokalen Variablen werden empfangen (noch %1 austehende Anfragen) ... + + + Finished retrieving data. - + Alle Daten erhalten. Cannot evaluate expression: %1 - + Der Ausdruck konnte nicht ausgewertet werden: %1 Debugging helpers not found. - + Die Ausgabe-Hilfsbibliothek konnte nicht gefunden werden. - - %1 custom dumpers found. - - - - + Custom dumper setup: %1 - + Ausgabe-Hilfsbibliothek-Initialisierung: %1 <0 items> - + <leer> - - <%1 items> - In string list - - - - + %1 <shadowed %2> Variable %1 <FIXME: does something - bug Andre about it> - + %1 <überlagert %2> <shadowed> Type of variable <FIXME: what? bug Andre about it> - + <überlagert> <n/a> - + <k.a.> <anonymous union> - + <Datentyp anonyme Union> <no information> About variable's value - + <keine Angabe> Unknown error: - + Unbekannter Fehler: %1 is a typedef. - + %1 ist eine Typdefinition (typedef). Retrieving data for tooltip... - + Empfange Daten für Tooltip... - + The dumper library '%1' does not exist. Es existiert keine Dumper-Bibliothek '%1'. + + + Dumper injection loading triggered (%1)... + Das Laden der Ausgabe-Hilfsbibliothek (%1) per Injektion wurde gestartet... + + + + Dumper loading (%1) failed: %2 + Das Laden der Ausgabe-Hilfsbibliothek (%1) schlug fehl: %2 + + + + Loading dumpers via debugger call (%1)... + Lade die Ausgabe-Hilfsbibliothek (%1) per Debugger-Aufruf... + Debugger::Internal::GdbOptionsPage @@ -3555,7 +3880,7 @@ Using gdb 6.7 or later is strongly recommended. Choose Location of Startup Script File - Pfad zu Startup Script + Pfad zu Startup-Skript @@ -3678,18 +4003,18 @@ Using gdb 6.7 or later is strongly recommended. Cannot create FiFo %1: %2 - + Die FiFo %1 konnte nicht erzeugt werden: %2 Cannot open FiFo %1: %2 - + Die FiFo %1 konnte nicht geöffnet werden: %2 Debugger::Internal::RegisterHandler - + Name Name @@ -3730,7 +4055,7 @@ Using gdb 6.7 or later is strongly recommended. Debugger::Internal::ScriptEngine - + '%1' contains no identifier '%1' enthält keinen Bezeichner @@ -3789,7 +4114,7 @@ Using gdb 6.7 or later is strongly recommended. Debugger::Internal::StackHandler - + ... @@ -3799,13 +4124,42 @@ Using gdb 6.7 or later is strongly recommended. <Mehr> - <table><tr><td>Address:</td><td>%1</td></tr><tr><td>Function: </td><td>%2</td></tr><tr><td>File: </td><td>%3</td></tr><tr><td>Line: </td><td>%4</td></tr><tr><td>From: </td><td>%5</td></tr></table><tr><td>To: </td><td>%6</td></tr></table> Tooltip for variable - <table><tr><td>Adresse:</td><td>%1</td></tr><tr><td>Funktion: </td><td>%2</td></tr><tr><td>Datei: </td><td>%3</td></tr><tr><td>Zeile: </td><td>%4</td></tr><tr><td>Von: </td><td>%5</td></tr></table><tr><td>bis: </td><td>%6</td></tr></table> + <table><tr><td>Adresse:</td><td>%1</td></tr><tr><td>Funktion: </td><td>%2</td></tr><tr><td>Datei: </td><td>%3</td></tr><tr><td>Zeile: </td><td>%4</td></tr><tr><td>Von: </td><td>%5</td></tr></table><tr><td>bis: </td><td>%6</td></tr></table> - + + Address: + Adresse: + + + + Function: + Funktion: + + + + File: + Datei: + + + + Line: + Zeile: + + + + From: + Von: + + + + To: + Bis: + + + Level Tiefe @@ -3856,7 +4210,7 @@ Using gdb 6.7 or later is strongly recommended. Debugger::Internal::StartExternalDialog - + Select Executable Ausführbare Datei auswählen @@ -3879,6 +4233,19 @@ Using gdb 6.7 or later is strongly recommended. Ausführbare Datei auswählen + + Debugger::Internal::TcfEngine + + + %1. + + + + + Stopped. + Angehalten. + + Debugger::Internal::ThreadsHandler @@ -3921,7 +4288,32 @@ Using gdb 6.7 or later is strongly recommended. Debugger::Internal::WatchHandler - + + Expression + Ausdruck + + + + ... <cut off> + ...<Rest abgeschnitten> + + + + Object Address + Adresse des Objekts + + + + Stored Address + Speicheradresse + + + + iname + iname + + + Root Wurzelelement @@ -3941,17 +4333,19 @@ Using gdb 6.7 or later is strongly recommended. Überwachte Ausdrücke - + Name Name - + + Value Wert - + + Type Typ @@ -4015,12 +4409,12 @@ Using gdb 6.7 or later is strongly recommended. DebuggingHelperOptionPage - - Form - + + Debugging Helper + Ausgabe-Hilfsbibliothek - + This will enable nice display of Qt and Standard Library objects in the Locals&Watchers view Diese Einstellung ermöglicht die Anzeige von Qt- und Standardbibliotheksobjekten in der Ansicht "Lokale Variablen und Über&wachte Ausdrücke" @@ -4055,31 +4449,30 @@ Using gdb 6.7 or later is strongly recommended. Unable to add dependency - + Die Abhängigkeit konnte nicht hinzugefügt werden This would create a circular dependency. - + Dadurch würde eine zirkuläre Abhängigkeit entstehen. Designer - - - file name is empty - + + The file name is empty. + Der Dateiname ist leer. - + XML error on line %1, col %2: %3 - + XML-Fehler auf Zeile %1, Spalte %2: %3 - no <RCC> root element - + The <RCC> root element is missing. + Das Wurzelelement (<RCC>) fehlt. @@ -4087,20 +4480,12 @@ Using gdb 6.7 or later is strongly recommended. Action editor - + Aktionseditor Signals and slots editor - - - - - Designer::Internal::FormClassWizard - - - Internal error: FormClassWizard::generateFiles: empty template contents - + Signale und Slots @@ -4108,7 +4493,7 @@ Using gdb 6.7 or later is strongly recommended. Qt Designer Form Class - + Qt Designer-Formular-Klasse @@ -4116,17 +4501,17 @@ Using gdb 6.7 or later is strongly recommended. %1 - Error - + %1 - Fehler Choose a class name - + Wählen Sie einen Klassennamen Class - + Klasse @@ -4136,37 +4521,32 @@ Using gdb 6.7 or later is strongly recommended. More - + Weiter Embedding of the UI class - + Verwendung der UI-Klasse Aggregation as a pointer member - - - - - buttonGroup - + Aggregation als Zeiger Aggregation - + Aggregation Multiple Inheritance - + Mehrfachvererbung Support for changing languages at runtime - + Wechsel der Sprache zur Laufzeit unterstützen @@ -4174,27 +4554,27 @@ Using gdb 6.7 or later is strongly recommended. Qt - + Qt Qt Designer Form - + Qt Designer-Formular This creates a new Qt Designer form file. - + Erstellt eine neues Qt Designer-Formular Qt Designer Form Class - + Qt Designer-Formular-Klasse This creates a new Qt Designer form class. - + Erstellt eine neue Qt Designer-Formular-Klasse. @@ -4202,37 +4582,37 @@ Using gdb 6.7 or later is strongly recommended. Designer widgetbox - + Widgetbox Object inspector - + Objektanzeige Property editor - + Eigenschaften Signals and slots editor - + Signale und Slots Action editor - + Aktionseditor For&m editor - + For&mulareditor Edit widgets - + Widgets bearbeiten @@ -4242,7 +4622,7 @@ Using gdb 6.7 or later is strongly recommended. Edit signals/slots - + Signale und Slots bearbeiten @@ -4252,12 +4632,12 @@ Using gdb 6.7 or later is strongly recommended. Edit buddies - + Buddies bearbeiten Edit tab order - + Tabulatorreihenfolge bearbeiten @@ -4307,22 +4687,22 @@ Using gdb 6.7 or later is strongly recommended. About Qt Designer plugins.... - + Plugins... Preview in - + Vorschau in Designer - + Designer - The image could not be create: %1 - + The image could not be created: %1 + Das Bild konnte nicht erstellt werden: %1 @@ -4330,18 +4710,18 @@ Using gdb 6.7 or later is strongly recommended. Choose a form template - + Wählen Sie eine Vorlage %1 - Error - + %1 - Fehler Designer::Internal::FormWindowEditor - + untitled kein Titel @@ -4351,17 +4731,17 @@ Using gdb 6.7 or later is strongly recommended. Error saving %1 - + Fehler beim Speichern von %1 Unable to open %1: %2 - + %1 kann nicht geöffnet werden: %2 Unable to write to %1: %2 - + Die Datei %1 kann nicht geschrieben werden: %2 @@ -4369,15 +4749,7 @@ Using gdb 6.7 or later is strongly recommended. Qt Designer Form - - - - - Designer::Internal::SettingsPage - - - Designer - + Qt Designer-Formular @@ -4385,35 +4757,39 @@ Using gdb 6.7 or later is strongly recommended. The class definition of '%1' could not be found in %2. - + Die Definition der Klasse '%1' konnte in %2 nicht gefunden werden. Error finding/adding a slot. - + Fehler beim Auffinden/Hinzufügen des Slot-Codes. No documents matching '%1' could be found. Rebuilding the project might help. - + Es konnten keine dem Suchmuster '%1' entsprechenden Dokumente gefunden werden. +Versuchen Sie, das Projekt neu zu erstellen. Unable to add the method definition. - + Die Definition der Methode konnte nicht hinzugefügt werden. + + + + Designer::Internal::SettingsPage + + + Designer + Designer DocSettingsPage - Form - - - - - Registered Documentation: + Registered Documentation Registrierte Dokumentationen @@ -4427,23 +4803,55 @@ Rebuilding the project might help. Entfernen + + DuiEditor::Internal::DuiEditorPlugin + + + + Qt QML File + Qt QML-Datei + + + + Qt + Qt + + + + DuiEditor::Internal::ScriptEditor + + + <Select Symbol> + <Symbol auswählen> + + + + Rename... + Umbenennen... + + + + New id: + Neue Id: + + + + Rename id '%1'... + Id '%1' Umbenennen + + EmbeddedPropertiesPage - Form - + Skin: + Skin: Use Virtual Box Note: This adds the toolchain to the build environment and runs the program inside a virtual machine. -It also automatically sets the correct qt version. - - - - - Skin: +It also automatically sets the correct Qt version. @@ -4451,86 +4859,66 @@ It also automatically sets the correct qt version. ExtensionSystem::Internal::PluginDetailsView - Form - - - - Name: Name: - - - TextLabel - - Version: - + Version: Compatibility Version: - + Kompatible zu Version: Vendor: - + Anbieter: Url: - + Url: Location: - + Pfad: Description: - + Beschreibung: Copyright: - + Copyright: License: - + Lizenz: Dependencies: - + Abhängigkeiten: ExtensionSystem::Internal::PluginErrorView - Form - - - - State: - - - - - TextLabel - + Status: Error Message: - + Fehlermeldung: @@ -4538,28 +4926,23 @@ It also automatically sets the correct qt version. File does not exist: %1 - + Die Datei '%1' existiert nicht. Could not open file for read: %1 - + Die Datei konnte nicht zum Lesen geöffnen werden: %1 Error parsing file %1: %2, at line %3, column %4 - + Fehler beim Lesen der Datei %1: %2 auf Zeile %3, Spalte %4 ExtensionSystem::Internal::PluginView - Form - - - - State Status @@ -4571,17 +4954,17 @@ It also automatically sets the correct qt version. Version - + Version Vendor - + Anbieter Location - + Pfad @@ -4589,82 +4972,82 @@ It also automatically sets the correct qt version. Invalid - + Ungültig Description file found, but error on read - + Fehlerhafte Beschreibungsdatei gefunden Read - + Gelesen Description successfully read - + Beschreibungsdatei gelesen Resolved - + Abhängigkeiten bestimmt Dependencies are successfully resolved - + Die Abhängigkeiten wurden erfolgreich bestimmt Loaded - + Geladen Library is loaded - + Die Bibliothek wurde geladen Initialized - + Initialisiert Plugin's initialization method succeeded - + Die Initialisierungsmethode des Plugins wurde erfolgreich abgearbeitet Running - + Läuft Plugin successfully loaded and running - + Das Plugin wurde erfolgreich geladen und läuft Stopped - + Angehalten Plugin was shut down - + Das Plugin wurde angehalten Deleted - + Gelöscht Plugin ended it's life cycle and was deleted - + Das Plugin wurde nach Ablauf seiner Nutzungsdauer gelöscht @@ -4673,30 +5056,46 @@ It also automatically sets the correct qt version. Circular dependency detected: - + Zirkuläre Abhängigkeit festgestellt: + %1(%2) depends on - + %1 (%2) hängt von + %1(%2) - + %1(%2) Cannot load plugin because dependencies are not resolved - + Das Plugin kann nicht geladen werden, weil die Abhängigkeiten nicht bestimmt werden konnten Cannot load plugin because dependency failed to load: %1(%2) Reason: %3 - + Das Plugin kann nicht geladen werden, weil eine Abhängigkeit nicht geladen werden konnte: %1(%2) +Grund: %3 + + + + FakeVim::Internal + + + Toggle vim-style editing + Editieren im vim-Modus umschalten + + + + FakeVim properties... + FakeVim-Einstellungen... @@ -4715,84 +5114,92 @@ Reason: %3 Not implemented in FakeVim - + In FakeVim nicht implementiert E20: Mark '%1' not set - + E20: Die Marke '%1' ist nicht gesetzt File '%1' exists (add ! to override) - + Die '%1' existiert bereits (Fügen Sie ! an, um sie zu überschreiben) Cannot open file '%1' for writing - + Die Datei '%1' kann nicht zum Schreiben geöffnet werden "%1" %2 %3L, %4C written - + "%1" %2 %3L, %4C geschrieben Cannot open file '%1' for reading - + Die Datei '%1' kann nicht zum Lesen geöffnet werden "%1" %2L, %3C - + - %1 lines filtered - + %n lines filtered + + Eine Zeile gefiltert + %n Zeilen gefiltert + + - + - %1 lines >ed %2 time - + %n lines >ed %1 time + What is that? + + Eine Zeile >ed %1-mal + %n Zeilen >ed %1-mal + - + E512: Unknown option: - + E512: Unbekannte Option: E492: Not an editor command: - + E492: Kein Editor-Kommando: search hit BOTTOM, continuing at TOP - + Die Suche hat das Ende erreicht, setze am Anfang fort search hit TOP, continuing at BOTTOM - + Die Suche hat den Anfang erreicht, setze am Ende fort E486: Pattern not found: - + E486: Suchmuster nicht gefunden: Already at oldest change - + Älteste Änderung erreicht Already at newest change - + Letzte Änderung erreicht @@ -4805,7 +5212,7 @@ Reason: %3 FakeVim - + FakeVim @@ -4814,100 +5221,95 @@ Reason: %3 Quit FakeVim - + FakeVim Beenden FakeVim Information - + Informationen zu FakeVim FakeVimOptionPage - Form - - - - Use FakeVim - + FakeVim benutzen Vim style settings - + Einstellungen für Vim-Stil vim's "expandtab" option - + Die "expandtab"-Einstellung von vim Expand tabulators: - + Tabulatoren expandieren: Highlight search results: - + Suchergebnisse hervorheben: Shift width: - + Einrückung: Smart tabulators: - + "Smart"-Tabularmodus: Start of line: - + Zeilenanfang: vim's "tabstop" option - + Die "tabstop"-Einstellung von vim Tabulator size: - + Tabulatorweite: Backspace: - + Rücktaste: VIM's "autoindent" option - + Die "autoindent"-Einstellung von vim Automatic indentation: - + Automatische Einrückung: Copy text editor settings - + Texteditor-Einstellungen Set Qt style - + Qt-Stil setzen Set plain style - + Einfachen Stil setzen @@ -4915,30 +5317,25 @@ Reason: %3 Add Filter Name - + Filternamen hinzufügen Filter Name: - + Filtername: FilterSettingsPage - Form - - - - Filter: Filter: Attributes: - + Attribute: @@ -5115,86 +5512,76 @@ Reason: %3 GdbOptionsPage - Form - - - - Gdb interaction - - - - - This is either a full abolute path leading to the gdb binary you intend to use or the name of a gdb binary that will be searched in your PATH. - + Gdb-Interaktion Gdb location: - + Pfad zu Gdb Environment: - + Umgebung: This is either empty or points to a file containing gdb commands that will be executed immediately after gdb starts up. - + Ein Skript mit Kommandos, die unmittelbar nach dem Gdb-Start ausgeführt werden (optional). Gdb startup script: - + Gdb-Startskript: Behaviour of breakpoint setting in plugins - + Setzen von Haltepunkten in Plugins This is the slowest but safest option. - + Die sicherste Einstellung, zugleich aber auch die langsamste. Try to set breakpoints in plugins always automatically. - + Versuche, Haltepunkte in Plugins automatisch zu setzen. Try to set breakpoints in selected plugins - + Versuche, Haltepunkte in ausgewählten Plugins zu setzen Matching regular expression: - + Regulärer Ausdruck: Never set breakpoints in plugins automatically - + Haltepunkte in Plugins niemals automatisch setzen + + + + This is either a full absolute path leading to the gdb binary you intend to use or the name of a gdb binary that will be searched in your PATH. + Geben Sie den vollen, absoluten Pfad zu der ausführbaren Datei ein, oder einen relativen Pfad, der in der Pfad-Variable gesucht wird. GenericMakeStep - Form - - - - Override %1: - + Überschreibe %1: Make arguments: - + Kommandozeilenargumente für make: @@ -5207,7 +5594,7 @@ Reason: %3 <new> - + <neu> @@ -5219,7 +5606,7 @@ Reason: %3 - Tool chain: + Toolchain: @@ -5233,7 +5620,7 @@ Reason: %3 Override %1: - + Überschreibe %1: @@ -5241,12 +5628,12 @@ Reason: %3 Import of Makefile-based Project - + Makefile-basiertes Projekt importieren Creates a generic project, supporting any build system. - + Erstellt ein generisches Projekt, was ein beliebiges Build-System unterstützt. @@ -5256,7 +5643,7 @@ Reason: %3 The project %1 could not be opened. - + Das Projekt %1 konnte nicht geöffnet werden. @@ -5264,27 +5651,27 @@ Reason: %3 Import of Makefile-based Project - + Import eines Makefile-basierten Projektes Generic Project - + Generisches Projekt Project name: - + Projektname: Location: - + Pfad: Second Page Title - + Titel der zweiten Seite @@ -5302,47 +5689,47 @@ Reason: %3 Unable to find the repository directory for '%1'. - + Das Repository-Verzeichnis für '%1' konnte nicht gefunden werden. Delete Branch - + Branch löschen Would you like to delete the branch '%1'? - + Möchten Sie den Branch '%1' löschen? Failed to delete branch - + Das Löschen des Branches schlug fehl Failed to create branch - + Das Erstellen des Branches schlug fehl Failed to stash - + Die Operation 'stash' schlug fehl Would you like to create a local branch '%1' tracking the remote branch '%2'? - + Möchten Sie einen lokalen Branch '%1' erstellen, der dem entfernten Branch '%2' folgt? Create branch - + Branch erstellen Failed to create a tracking branch - + Das Erstellen des Branches schlug fehl @@ -5352,18 +5739,13 @@ Reason: %3 General information - + Allgemeine Informationen Repository: - - - TextLabel - - Remote branches @@ -5375,12 +5757,12 @@ Reason: %3 Select a Git commit - + Wählen Sie einen Commit aus Select Git repository - + Wählen ein Git-Repository aus @@ -5390,7 +5772,7 @@ Reason: %3 Selected directory is not a Git repository - + Das ausgewählte Verzeichnis ist kein Git-Repository @@ -5403,24 +5785,24 @@ Reason: %3 Unable to determine the repository for %1. - + Das Repository von %1 konnte nicht bestimmt werden. Unable to parse the file output. - + Die Ausgabe der Datei konnte nicht ausgewertet werden. %1 Executing: %2 %3 <timestamp> Executing: <executable> <arguments> - + %1 Kommando: %2 %3 Waiting for data... - + Warte auf Daten... @@ -5450,99 +5832,101 @@ Reason: %3 Unable to add %n file(s) to %1: %2 - - - + + Keine der %n Dateien konnte zu %1 hinzugefügt werden: %2 + Keine der %n Dateien konnte zu %1 hinzugefügt werden: %2 Unable to reset %n file(s) in %1: %2 - - - + + Keine der %n Dateien in %1 konnte zurückgesetzt werden: %2 + Keine der %n Dateien in %1 konnte zurückgesetzt werden: %2 Unable to checkout %n file(s) in %1: %2 - - - + + Die Operation 'checkout' schlug für eine Datei in %1 fehl: %2 + Die Operation 'checkout' schlug für %n Dateien in %1 fehl: %2 Unable stash in %1: %2 - + Die Operation 'stash' schlug in %1 fehl: %2 Unable to run branch command: %1: %2 - + Das Kommando 'branch' konnte nicht ausgeführt werden: %1: %2 Unable to run show: %1: %2 - + Das Kommando 'show' konnte nicht ausgeführt werden: %1: %2 Changes - + Änderungen You have modified files. Would you like to stash your changes? - + Es wurden Dateien geändert. Möchten Sie stash ausführen? Unable to obtain the status: %1 - + Der Status konnte nicht abgefragt werden: %1 The repository %1 is not initialized yet. - + Das Repository ist noch nicht initialisiert. Committed %n file(s). - - - + + Eine Datei abgegeben. + %n Dateien abgegeben. Unable to commit %n file(s): %1 - - - + + Commit schlug für eine Datei fehl: %1 + + Commit schlug für %n Dateien fehl: %1 + Revert - + Rückgängig machen The file has been changed. Do you want to revert it? - + Die Datei wurde geändert. Möchten Sie die Änderungen rückgängig machen? The file is not modified. - + Datei ungeändert. There are no modified files. - + Es gibt keine geänderten Dateien. @@ -5550,25 +5934,30 @@ Reason: %3 Git Output - + Git-Ausgabe Git - + Git Git::Internal::GitPlugin - + &Git Diff Current File - + Diff für Datei + + + + Diff "%1" + Diff für "%1" @@ -5578,7 +5967,12 @@ Reason: %3 File Status - + Status der Datei + + + + Status Related to "%1" + Status relativ zu "%1" @@ -5588,7 +5982,12 @@ Reason: %3 Log File - + Log für Datei + + + + Log of "%1" + Log für "%1" @@ -5598,7 +5997,12 @@ Reason: %3 Blame - + Blame für Datei + + + + Blame for "%1" + Blame für "%1" @@ -5608,7 +6012,12 @@ Reason: %3 Undo Changes - + Änderungen rückgängig machen + + + + Undo Changes for "%1" + Änderungen in "%1" rückgängig machen @@ -5618,7 +6027,12 @@ Reason: %3 Stage File for Commit - + Datei zu Commit hinzufügen (stage) + + + + Stage "%1" for Commit + "%1" zu Commit hinzufügen (stage) @@ -5628,38 +6042,62 @@ Reason: %3 Unstage File from Commit - + Datei aus Commit entfernen (unstage) + + + + Unstage "%1" from Commit + "%1" aus Commit entfernen (unstage) Revert... - + Änderungen in Datei rückgängig machen... + + + + Revert "%1"... + Änderungen in "%1" rückgängig machen... Diff Current Project - + Diff für Projekt + + + + Diff Project "%1" + Diff für Projekt "%1" Project Status - + Status des Projekts (status) + + + + Status Project "%1" + Status des Projekts "%1" - Log Project - + Log für Projekt - + + Log Project "%1" + Log für Projekt "%1" + + + Alt+G,Alt+K Undo Project Changes - + Änderungen des Projekts rückgängig machen @@ -5669,7 +6107,7 @@ Reason: %3 Saves the current state of your work. - + Sichert den gegenwärtigen Arbeitsstand. @@ -5684,7 +6122,7 @@ Reason: %3 Restores changes saved to the stash list using "Stash". - + Stellt den gesicherten Zustand von "Stash" wieder her. @@ -5709,22 +6147,22 @@ Reason: %3 List Stashes - + Stashes auflisten Show Commit... - + Commit anzeigen... Commit - + Abgeben Diff Selected Files - + Diff für Auswahl @@ -5739,12 +6177,12 @@ Reason: %3 Could not find working directory - + Das Arbeitsverzeichnis konnte nicht gefunden werden. Another submit is currently beeing executed. - + Es läuft bereits ein Commit. @@ -5754,87 +6192,73 @@ Reason: %3 Closing git editor - + Git-Editor schließen Do you want to commit the change? - + Möchten Sie den Commit ausführen? The commit message check failed. Do you want to commit the change? - + Die Überprüfung der Beschreibung schlug fehl. Möchten Sie den Commit trotzdem ausführen? - File - Datei + Datei - Diff %1 - + Diff für %1 - Status Related to %1 - + Status relativ zu %1 - Log of %1 - + Log für %1 - Blame for %1 - + Blame für %1 - Undo Changes for %1 - + Änderungen in %1 rückgängig machen - Stage %1 for Commit - + Datei %1 zu Commit hinzufügen (stage) - Unstage %1 from Commit - + Datei %1 aus Commit entfernen (unstage) - Revert %1... - + %1 Rücksetzen (revert)... - Diff Project - + Diff für Projekt - Status Project - + Status des Projekts - Diff Project %1 - + Diff für Projekt %1 - Status Project %1 - + Status des Projekts %1 (status) - Log Project %1 - + Log für Projekt %1 @@ -5842,7 +6266,7 @@ Reason: %3 The binary '%1' could not be located in the path '%2' - + Die ausführbare Datei '%1' konnte nicht im Pfad '%2' gefunden werden @@ -5858,7 +6282,7 @@ Reason: %3 General Information - + Allgemeine Informationen @@ -5883,17 +6307,17 @@ Reason: %3 Commit Information - + Informationen zu Commit Author: - + Autor: Email: - + E-Mail-Adresse: @@ -5901,12 +6325,12 @@ Reason: %3 <New branch> - + <Neuer Branch> Type to create a new branch - + Geben Sie den Namen des neuen Branches ein @@ -5914,57 +6338,52 @@ Reason: %3 Git - + Git Git Settings - + Git-Einstellungen - Form - - - - Environment variables - + Umgebungsvariablen PATH: - + Pfad-Variable: From system - + Vom System <b>Note:</b> - + <b>Hinweis:</b> Git needs to find Perl in the environment as well. - + Git benötigt Perl. Log commit display count: - + Log-Anzeige beschränken auf: Note that huge amount of commits might take some time. - + Beachten Sie, dass eine hohe Anzahl lange Wartezeiten hervorrufen kann. Timeout (seconds): - + Zeitlimit (Sekunden): @@ -5974,14 +6393,18 @@ Reason: %3 '%1' failed (exit code %2). - + +'%1' schlug fehl (Rückgabewert %2). + '%1' completed (exit code %2). - + +'%1' erfolgreich ausgeführt (Rückgabewert %2). + @@ -6144,7 +6567,7 @@ Reason: %3 Help::Internal::HelpPlugin - + Contents Inhalt @@ -6173,18 +6596,18 @@ Reason: %3 - + Previous Vorige - - + + Next Nächste - + Add Bookmark Lesezeichen hinzufügen @@ -6209,7 +6632,7 @@ Reason: %3 Suchen im Modus "Hilfe" zeigen - + Unfiltered @@ -6313,7 +6736,7 @@ Sie wird übersprungen. HelpViewer - + Open Link in New Tab Adresse in neuem Reiter öffnen @@ -6352,7 +6775,7 @@ Sie wird übersprungen. IndexWindow - + &Look for: &Suche nach: @@ -6372,7 +6795,7 @@ Sie wird übersprungen. Type Ctrl-<Return> to execute a line. - + Sie können eine Zeile mittels <Ctrl-Return> ausführen. @@ -6385,7 +6808,7 @@ Sie wird übersprungen. Locator - + Locator @@ -6414,7 +6837,7 @@ Sie wird übersprungen. Quit - + Beenden @@ -6479,7 +6902,7 @@ Sie wird übersprungen. Files - + Dateien @@ -6527,51 +6950,28 @@ in your .pro file. MakeStep - Form - - - - Override %1: - + Überschreibe %1: Make arguments: - + Kommandozeilenargumente für make: MimeDatabase - Not a number '%1'. - + '%1' ist keine gültige Zahlenangabe. - Empty match value detected. - + Es wurde ein leerer Wert eines Match-Elementes gefunden. - Missing 'type'-attribute - - - - - Unexpected element <%1> - - - - - An error has been encountered at line %1 of %2: %3: - - - - - Cannot open %1: %2 - + Das 'type'-Attribut fehlt @@ -6589,7 +6989,7 @@ in your .pro file. Nick Names - + Aliasnamen @@ -6602,25 +7002,17 @@ in your .pro file. Löschen - - OpenEditorsView - - - Form - - - OpenWithDialog Open File With... - + Öffne Datei mit... Open file extension with: - + Öffne Endung mit: @@ -6628,12 +7020,12 @@ in your .pro file. Change Number - + Change-Nummer Change Number: - + Change-Nummer: @@ -6641,12 +7033,12 @@ in your .pro file. P4 Pending Changes - + P4 Ausstehende Changes Submit - + Abgeben @@ -6664,7 +7056,7 @@ in your .pro file. Perforce Output - + Perforce-Ausgabe @@ -6674,101 +7066,127 @@ in your .pro file. Perforce - + Perforce Perforce::Internal::PerforcePlugin - + &Perforce - Edit - Editieren + Anfordern - + + Edit "%1" + "%1" anfordern + + + Alt+P,Alt+E Edit File - + Datei zum Editieren anfordern - Add Hinzufügen - + + Add "%1" + "%1" hinzufügen + + + Alt+P,Alt+A Add File - + Datei hinzufügen - Delete Löschen - + + Delete "%1" + "%1" löschen + + + Delete File - + Datei löschen - Revert - + Rückgängig machen - + + Revert "%1" + Änderungen in "%1" rückgängig machen (revert) + + + Alt+P,Alt+R Revert File - + Änderungen in Datei rückgängig machen (revert) Diff Current File - + Diff für Datei - + + Diff "%1" + Diff für "%1" + + + Diff Current Project/Session - + Diff für Projekt/Sitzung - + + Diff Project "%1" + Diff für Projekt "%1" + + + Alt+P,Alt+D Diff Opened Files - + Diff für angeforderte Dateien Opened - + Angefordert @@ -6776,14 +7194,9 @@ in your .pro file. - - Resolve - - - - + Submit Project - + Projekt abgeben @@ -6793,51 +7206,59 @@ in your .pro file. Pending Changes... - + Ausstehende Changes... Describe... - + Change anzeigen... - Annotate Current File - + Annotation für Datei - + + Annotate "%1" + Annotation für "%1" + + + Annotate... - + Annotation... - Filelog Current File - + Filelog für Datei - + + Filelog "%1" + Filelog für "%1" + + + Alt+P,Alt+F Filelog... - + Filelog... Submit - + Abgeben Diff Selected Files - + Diff für Auswahl @@ -6852,39 +7273,40 @@ in your .pro file. p4 revert - + Rückgängig machen The file has been changed. Do you want to revert it? - + Die Datei wurde geändert. Möchten Sie die Änderungen rückgängig machen? - - + + No p4 executable specified! - + Es wurde keine ausführbaren Datei angegeben! + - + Another submit is currently executed. - + Es läuft bereits ein Submit-Vorgang. Cannot create temporary file. - + Es konnte keine temporäre Datei erstellt werden. Project has no files - + Das Projekt hat keine Dateien p4 annotate - + Annotationen @@ -6894,7 +7316,7 @@ in your .pro file. p4 filelog - + Filelog @@ -6902,80 +7324,43 @@ in your .pro file. - Edit %1 - + %1 bearbeiten - - Add %1 - - - - - Delete %1 - - - - - Revert %1 - - - - Diff %1 - + Diff für %1 - - Annotate %1 - - - - - Filelog %1 - - - - - Diff - - - - Diff Project %1 - + Diff für Projekt %1 - - Diff Current Project/Soluion - - - - + %1 Executing: %2 - + %1 Kommando: %2 + The process terminated with exit code %1. - + Der Prozess wurde beendet, Rückgabewert %1. The process terminated abnormally. - + Der Prozess wurde in unnormaler Weise beendet. Could not start perforce '%1'. Please check your settings in the preferences. - + Das Perforce-Kommando '%1' konnte nicht gestartet werden. Bitte überprüfen Sie die Einstellungen. Perforce did not respond within timeout limit (%1 ms). - + Keine Antwort von Perforce innerhalb des Zeitlimits (%1 ms). @@ -6990,43 +7375,43 @@ in your .pro file. Closing p4 Editor - + P4-Editor schließen Do you want to submit this change list? - + Möchten Sie die Changes abgeben? The commit message check failed. Do you want to submit this change list - + Die Überprüfung der Beschreibung schlug fehl. Möchten Sie den Submit-Vorgang trotzdem ausführen? Cannot execute p4 submit. - + Das Kommando p4 submit konnte nicht ausgeführt werden. Pending change - + Ausstehender Change Could not submit the change, because your workspace was out of date. Created a pending submit instead. - + Der Submit-Vorgang konnte nicht ausgeführt werden, weil Ihr Arbeitsbereich nicht auf dem aktuellsten Stand ist. Es wurde ein ausstehender Submit-Vorgang erzeugt. Timeout waiting for "where" (%1). - + Zeitüberschreitung bei der Ausführung von "where" (%1). Error running "where" on %1: The file is not mapped - + Fehler bei der Ausführung von "where" auf %1: Die Datei ist nicht bekannt @@ -7054,43 +7439,38 @@ in your .pro file. Perforce::Internal::SettingsPage - Form - - - - P4 Command: - + P4-Kommando: Use default P4 environment variables - + Vorgefundene P4-Umgebungsvariablen benutzen Environment variables - + Umgebungsvariablen P4 Client: - + P4 Client: P4 User: - + P4 Nutzer: P4 Port: - + P4 Portnummer: Perforce - + Perforce @@ -7098,7 +7478,7 @@ in your .pro file. Perforce Command - + Perforce-Kommando @@ -7106,7 +7486,7 @@ in your .pro file. Submit - + @@ -7116,12 +7496,12 @@ in your .pro file. Client: - + Client: User: - + Nutzer: @@ -7149,7 +7529,7 @@ in your .pro file. Plugin Errors of %1 - + Fehlermeldungen von %1 @@ -7158,17 +7538,17 @@ in your .pro file. The plugin '%1' does not exist. - + Es existiert kein Plugin '%1'. Unknown option %1 - + Ungültiges Kommandozeilenargument %1 The option %1 requires an argument. - + Das Kommandozeilenargument %1erfordert ein Argument @@ -7176,94 +7556,90 @@ in your .pro file. '%1' misses attribute '%2' - + Das Attribut '%1' fehlt bei '%2' '%1' has invalid format - + '%1' ist in einem ungültigem Format Invalid element '%1' - + Ungültiges Element '%1' Unexpected closing element '%1' - + Falsch platziertes schließendes Element '%1' Unexpected token - + Falsch platziertes Token Expected element '%1' as top level element - + Das Wurzelelement muss '%1' sein Resolving dependencies failed because state != Read - + Das Bestimmen der Abhängigkeiten schlug fehl, weil der Status != Gelesen ist Could not resolve dependency '%1(%2)' - + Die Abhängigkeit '%1 (%2)' konnte nicht aufgelöst werden Loading the library failed because state != Resolved - + Das Laden der Bibliothek schlug fehl, weil der Status != 'Abhängigkeiten bestimmt' ist Library base name: %1 - + +Basisname der Bibliothek: %1 Plugin is not valid (doesn't derive from IPlugin) - + Das Plugin ist ungültig (nicht von Klasse IPlugin abgeleitet) Initializing the plugin failed because state != Loaded - + Die Initialisierung des Plugins schlug fehl, weil der Status != Geladen ist Internal error: have no plugin instance to initialize - + Interner Fehler: Es existiert keine Plugininstanz zur Initialisierung Plugin initialization failed: %1 - + Die Initialisierungs des Plugins schlug fehl: %1 Cannot perform extensionsInitialized because state != Initialized - + extensionsInitialized kann nicht abgearbeitet werden, weil der Status != Initialisiert ist Internal error: have no plugin instance to perform extensionsInitialized - + Interner Fehler: Es existiert keine Plugininstanz zur Abarbeitung von extensionsInitialized ProEditorContainer - Form - - - - Advanced Mode Erweiterter Modus @@ -7339,7 +7715,7 @@ Library base name: %1 ProjectExplorer::CustomExecutableRunConfiguration - + Custom Executable Benutzerdefinierte, ausführbare Datei @@ -7449,11 +7825,6 @@ Library base name: %1 ProjectExplorer::Internal::BuildSettingsPropertiesPage - Form - - - - Configurations Konfigurationen @@ -7467,11 +7838,6 @@ Library base name: %1 - - - - TextLabel - - ProjectExplorer::Internal::BuildSettingsWidget @@ -7537,11 +7903,6 @@ Library base name: %1 ProjectExplorer::Internal::BuildStepsPage - Form - - - - 1 1 @@ -7583,7 +7944,7 @@ Library base name: %1 ProjectExplorer::Internal::CoreListenerCheckingForRunningBuild - + Cancel Build && Close Erstellen abbrechen und schließen @@ -7708,11 +8069,6 @@ Library base name: %1 ProjectExplorer::Internal::EditorSettingsPropertiesPage - Form - - - - Default File Encoding: Encoding-Vorgabe: @@ -7797,11 +8153,6 @@ Library base name: %1 ProjectExplorer::Internal::ProcessStepWidget - Form - - - - Enable custom process step Benutzerdefinierten Verarbeitungsschritt aktivieren @@ -7932,11 +8283,6 @@ Library base name: %1 ProjectExplorer::Internal::ProjetExplorerSettingsPageUi - Form - - - - Build Settings 'Build'-Einstellungen @@ -7992,11 +8338,6 @@ Library base name: %1 ProjectExplorer::Internal::RunSettingsPropertiesPage - Form - - - - Run &configuration: Ausführungskonfiguration @@ -8072,7 +8413,7 @@ Library base name: %1 Build Issues - + Build-Probleme @@ -8097,11 +8438,6 @@ Library base name: %1 ProjectExplorer::Internal::WizardPage - WizardPage - - - - Project management Projektmanagement @@ -8197,15 +8533,22 @@ Library base name: %1 Zuletzt bearbeitete Projekte - - Unload Project - Projekt entladen + Projekt entladen - Unload All Projects - Alle Projekte entladen + Alle Projekte entladen + + + + Close Project + Projekt schließen + + + + Close All Projects + Alle Projekte schließen @@ -8239,12 +8582,11 @@ Library base name: %1 - Build Project Projekt erstellen - + Ctrl+B @@ -8259,7 +8601,37 @@ Library base name: %1 Projekt bereinigen - + + Project Only + Aktuelles Projekt + + + + Build + Erstellen + + + + Rebuild + Neu Erstellen + + + + Clean + Bereinigen + + + + Current Project + Aktuelles Projekt + + + + Project "%1" + Projekt "%1" + + + Run Ausführen @@ -8316,7 +8688,7 @@ Library base name: %1 Umbenennen - + Load Project Projekt laden @@ -8327,17 +8699,20 @@ Library base name: %1 Neues Projekt - + + Close Project "%1" + Projekt "%1" schließen + + Unload Project "%1" - Projekt "%1" entladen + Projekt "%1" entladen - Build Project "%1" - Projekt '%1" erstellen + Projekt '%1" erstellen - + New File Title of dialog Neue Datei @@ -8409,14 +8784,22 @@ unter Versionsverwaltung (%2) gestellt werden? ProjectExplorer::SessionManager - Error while loading session - Fehler beim Laden der Sitzung + Fehler beim Laden der Sitzung + + + Could not load session %1 + Die Sitzung %1 konnte nicht geladen werden + + + + Error while restoring session + Beim Wiederherstellen der Sitzung ist ein Fehler aufgetreten - Could not load session %1 - Die Sitzung %1 konnte nicht geladen werden + Could not restore session %1 + Die Sitzung %1 konnte nicht wiederhergestellt werden @@ -8521,23 +8904,18 @@ unter Versionsverwaltung (%2) gestellt werden? QMakeStep - Form - - - - QMake Build Configuration: - + QMake Build-Konfiguration: debug - + debug release - + release @@ -8547,55 +8925,14 @@ unter Versionsverwaltung (%2) gestellt werden? Effective qmake call: - + Resultierender qmake-Aufruf: QObject - - File Changed - - - - - The file %1 has changed outside Qt Creator. Do you want to reload it? - - - - - File is Read Only - - - - - The file %1 is read only. - - - - - Open with VCS (%1) - - - - Make writable - Schreibbar machen - - - - Save as ... - - - - - Toggle vim-style editing - - - - - FakeVim properties... - + Schreibbar machen @@ -8685,15 +9022,123 @@ unter Versionsverwaltung (%2) gestellt werden? - QrcEditor + QmlProjectManager::Internal::QmlNewProjectWizard - - - Form + + QML Application - + + Creates a QML application. + + + + + Projects + Projekte + + + + The project %1 could not be opened. + Das Projekt %1 konnte nicht geöffnet werden. + + + + QmlProjectManager::Internal::QmlNewProjectWizardDialog + + + New QML Project + + + + + This wizard generates a QML application project. + + + + + QmlProjectManager::Internal::QmlProjectWizard + + + Import of existing QML directory + + + + + Creates a QML project from an existing directory of QML files. + + + + + Projects + Projekte + + + + The project %1 could not be opened. + Das Projekt %1 konnte nicht geöffnet werden. + + + + QmlProjectManager::Internal::QmlProjectWizardDialog + + + Import of QML Project + + + + + QML Project + + + + + Project name: + Projektname: + + + + Location: + Pfad: + + + + QmlProjectManager::Internal::QmlRunConfiguration + + + + + QML Viewer + + + + + Could not find the qmlviewer executable, please specify one. + + + + + + + <Current File> + + + + + Main QML File: + + + + + QrcEditor + + + Form + Formular + + + Add Hinzufügen @@ -8708,7 +9153,7 @@ unter Versionsverwaltung (%2) gestellt werden? Properties - + Eigenschaften @@ -8720,13 +9165,13 @@ unter Versionsverwaltung (%2) gestellt werden? Language: - + Sprache: Alias: - + Aliasname: @@ -8734,20 +9179,24 @@ unter Versionsverwaltung (%2) gestellt werden? Qt4 Console Application - + Qt4 Konsolenanwendung Creates a Qt4 console application. - + Erstellt eine Qt4 Konsolenanwendung. Qt4ProjectManager::Internal::ConsoleAppWizardDialog - This wizard generates a Qt4 console application project. The application derives from QCoreApplication and does not present a GUI. You can press 'Finish' at any point in time. - + Dieser Wizard erstellt eine Qt4 Konsolenanwendung. Sie leitet von der Klasse QCoreApplication ab und hat keine Benutzeroberfläche. Sie können jederzeit + + + + This wizard generates a Qt4 console application project. The application derives from QCoreApplication and does not provide a GUI. + Dieser Wizard erstellt eine Qt4 Konsolenanwendung. Sie leitet von der Klasse QCoreApplication ab und hat keine Benutzeroberfläche. @@ -8755,7 +9204,28 @@ unter Versionsverwaltung (%2) gestellt werden? Embedded Linux - + Embedded Linux + + + + Qt4ProjectManager::Internal::EmptyProjectWizard + + + Empty Qt4 Project + Leeres Qt4-Projekt + + + + Creates an empty Qt project. + Erstellt ein leeres Qt-Projekt. + + + + Qt4ProjectManager::Internal::EmptyProjectWizardDialog + + + This wizard generates an empty Qt4 project. Add files to it later on by using the other wizards. + Dieser Wizard erstellt ein leeres Qt4-Projekt. Mit Hilfe der anderen Wizards können später Dateien hinzufügt werden. @@ -8763,22 +9233,22 @@ unter Versionsverwaltung (%2) gestellt werden? Build Environment - + Build-Umgebung Make Command: - + make-Kommando: Build Environment: - + Build-Umgebung: mkspec: - + mkspec: @@ -8793,17 +9263,17 @@ unter Versionsverwaltung (%2) gestellt werden? Values: - + Werte: Variable: - + Variablen: Import - + Import @@ -8820,13 +9290,8 @@ unter Versionsverwaltung (%2) gestellt werden? Qt4ProjectManager::Internal::EnvVariablesPage - Form - - - - Build Environments - + Build-Umgebungen @@ -8846,12 +9311,12 @@ unter Versionsverwaltung (%2) gestellt werden? Default mkspec: - + Vorgabe-mkspec: Default make command: - + Vorgabe-make-Kommando: @@ -8859,12 +9324,12 @@ unter Versionsverwaltung (%2) gestellt werden? Class Information - + Information bezüglich Klasse Specify basic information about the classes for which you want to generate skeleton source code files. - + Geben Sie Informationen bezüglich der Klassen ein, für die Sie Quelltexte generieren wollen. @@ -8872,17 +9337,17 @@ unter Versionsverwaltung (%2) gestellt werden? Qt4 Gui Application - + Qt4-Gui-Anwendung Creates a Qt4 Gui Application with one form. - + Erstellt eine Qt4-Gui-Anwendung mit einem Formular. The template file '%1' could not be opened for reading: %2 - + Die Vorgabendatei '%1' konnte nicht zum Lesen geöffnet werden: %2 @@ -8890,7 +9355,7 @@ unter Versionsverwaltung (%2) gestellt werden? This wizard generates a Qt4 GUI application project. The application derives by default from QApplication and includes an empty widget. - + Dieser Wizard erstellt eine Qt4-GUI-Anwendung. Sie leitet von der Klasse QApplication ab und enthält ein leeres Widget. @@ -8898,12 +9363,12 @@ unter Versionsverwaltung (%2) gestellt werden? C++ Library - + C++-Bibliothek Creates a C++ Library. - + Erstellt eine C++-Bibliothek. @@ -8911,17 +9376,17 @@ unter Versionsverwaltung (%2) gestellt werden? Shared library - + Dynamisch gebunden Statically linked library - + Statisch gebunden Qt 4 plugin - + Qt 4 Plugin @@ -8931,7 +9396,7 @@ unter Versionsverwaltung (%2) gestellt werden? This wizard generates a C++ library project. - + Dieser Wizard erstellt ein C++-Bibliotheksprojekt. @@ -8939,12 +9404,12 @@ unter Versionsverwaltung (%2) gestellt werden? Select required modules - + Auswahl der benötigten Module Select the modules you want to include in your project. The recommended modules for this project are selected by default. - + Wählen Sie die Module aus, die Sie in Ihrem Projekt verwenden wollen. Die empfohlenen Module für dieses Projekt sind bereits ausgewählt. @@ -8962,27 +9427,27 @@ unter Versionsverwaltung (%2) gestellt werden? Up - + Nach oben Down - + Nach unten Cut - + Ausschneiden Copy - + Kopieren Paste - + Einfügen @@ -9002,17 +9467,17 @@ unter Versionsverwaltung (%2) gestellt werden? Add Variable - + Variable hinzufügen Add Scope - + Bereich hinzufügen Add Block - + Block hinzufügen @@ -9020,47 +9485,47 @@ unter Versionsverwaltung (%2) gestellt werden? <Global Scope> - + <Globaler Bereich> Change Item - + Element bearbeiten Change Variable Assignment - + Variablenzuweisung bearbeiten Change Variable Type - + Type der Variablen bearbeiten Change Scope Condition - + Bedingung des Bereichs bearbeiten Change Expression - + Ausdruck ändern Move Item - + Element verschieben Remove Item - + Element löschen Insert Item - + Element einfügen @@ -9068,35 +9533,30 @@ unter Versionsverwaltung (%2) gestellt werden? Import existing settings - + Existierende Einstellungen importieren Qt Creator has found an already existing build in the source directory.<br><br><b>Qt Version:</b> %1<br><b>Build configuration:</b> %2<br> - + Qt Creator hat einen existierenden Build im Quelverzeichnis gefunden.<br><br><b>Qt-Version:</b> %1<br><b>Build-Konfiguration:</b> %2<br> Import existing build settings. - + Existierende Einstellungen importieren. - <b>Note:</b> Importing the settings will automatically add the Qt Version from:<br><b>%1</b> to the list of qt versions. - + <b>Note:</b> Importing the settings will automatically add the Qt Version from:<br><b>%1</b> to the list of Qt versions. + <b>Hinweis:</b> Das Importieren der Einstellungen wird die Qt-Version aus:<br><b>%1</b> zur Liste der Qt-Versionen hinzufügen. Qt4ProjectManager::Internal::Qt4BuildEnvironmentWidget - Form - - - - Clear system environment - + Systemumgebung löschen @@ -9106,27 +9566,27 @@ unter Versionsverwaltung (%2) gestellt werden? &Add - + Hinzu&fügen &Reset - + &Rücksetzen &Unset - + &Leeren Build Environment - + Build-Umgebung Reset - + Rücksetzen @@ -9137,7 +9597,7 @@ unter Versionsverwaltung (%2) gestellt werden? Qt4ProjectManager::Internal::Qt4PriFileNode - + Failed! Fehler @@ -9155,78 +9615,73 @@ unter Versionsverwaltung (%2) gestellt werden? There are unsaved changes for project file %1. - + Die Projektdatei %1 hat ungespeicherte Änderungen. Error while parsing file %1. Giving up. - + Fehler beim Auswerten von %1. Abbruch. Error while changing pro file %1. - + Fehler beim Ändern der Projektdatei %1. Qt4ProjectManager::Internal::Qt4ProFileNode - + Error while parsing file %1. Giving up. - + Fehler beim Auswerten von %1. Abbruch. - + Could not find .pro file for sub dir '%1' in '%2' - + Die .pro-Datei des Unterverzeichnisses '%1' konnte in '%2' nicht gefunden werden Qt4ProjectManager::Internal::Qt4ProjectConfigWidget - Form - - - - Configuration Name: - + Name der Konfiguration: Qt Version: - + Qt-Version: Manage Qt Versions - + Qt-Versionen verwalten This Qt-Version is invalid. - + Diese Qt-Version ist ungültig. Shadow Build: - + Shadow-Build: Build Directory: - + Build-Verzeichnis: <a href="import">Import existing build</a> - + <a href="import">Existierenden Build importieren</a> Shadow Build Directory - + Shadow-Build-Verzeichnis @@ -9236,13 +9691,13 @@ unter Versionsverwaltung (%2) gestellt werden? Default Qt Version - + Vorgabe-Qt-Version Qt4ProjectManager::Internal::Qt4ProjectManagerPlugin - + Run qmake qmake ausführen @@ -9252,20 +9707,20 @@ unter Versionsverwaltung (%2) gestellt werden? Qt4ProjectManager::Internal::Qt4RunConfiguration - + Qt4RunConfiguration Could not parse %1. The Qt4 run configuration %2 can not be started. - + %1 konnte nicht ausgewertet werden. Die Qt 4-Ausführungskonfiguration %2 konnte nicht gestartet werden. Qt4ProjectManager::Internal::Qt4RunConfigurationWidget - + Name: Name: @@ -9274,15 +9729,25 @@ unter Versionsverwaltung (%2) gestellt werden? Executable: Ausführbare Datei: + + + Select the working directory + + + Reset to default + Zurücksetzen + + + Working Directory: Arbeitsverzeichnis: &Arguments: - + Kommandozeilen&argumente: @@ -9292,7 +9757,7 @@ unter Versionsverwaltung (%2) gestellt werden? Use debug version of frameworks (DYLD_IMAGE_SUFFIX=_debug) - + Debug-Version des Frameworks verwenden (DYLD_IMAGE_SUFFIX=_debug) @@ -9300,37 +9765,37 @@ unter Versionsverwaltung (%2) gestellt werden? <specify a name> - + <Geben Sie einen Namen an> <specify a path> - + <Geben Sie einenPfad an> Select QTDIR - + QTDIR Auswählen Select the Qt Directory - + Wählen Sie das Qt-Verzeichnis aus The Qt Version %1 is not installed. Run make install - + Die Qt-Version %1 ist nicht installiert. Führen Sie make install aus - %1 is not a valid qt directory - + %1 is not a valid Qt directory + %1 ist kein gültiges Qt-Verzeichnis Found Qt version %1, using mkspec %2 - + Die Qt-Version %1 mit mkspec %2 wurde gefunden @@ -9340,15 +9805,10 @@ unter Versionsverwaltung (%2) gestellt werden? Path: Pfad: - - - Form - - Qt versions - + Qt-Versionen @@ -9378,32 +9838,32 @@ unter Versionsverwaltung (%2) gestellt werden? Version Name: - + Name der Version: MinGw Directory: - + MinGw-Verzeichnis: Debugging Helper: - + Debugger-Ausgabe-Hilfsbibliothek: Show &Log - + &Protokoll anzeigen &Rebuild - + &Neu erstellen Default Qt Version: - + Vorgabe-Qt-Version: @@ -9411,7 +9871,7 @@ unter Versionsverwaltung (%2) gestellt werden? The project %1 could not be opened. - + Das Projekt %1 konnte nicht geöffnet werden. @@ -9419,67 +9879,67 @@ unter Versionsverwaltung (%2) gestellt werden? Edit Variable - + Variable bearbeiten Variable Name: - + Name der Variablen: Assignment Operator: - + Zuweisungsoperator: Variable: - + Variablen: Append (+=) - + Anhängen (+=) Remove (-=) - + Entfernen (-=) Replace (~=) - + Ersetzen (~=) Set (=) - + Zuweisen (=) Unique (*=) - + Eindeutig zuweisen (*=) Select Item - + Element auswählen Edit Item - + Element bearbeiten Select Items - + Elemente auswählen Edit Items - + Elemente bearbeiten @@ -9494,22 +9954,22 @@ unter Versionsverwaltung (%2) gestellt werden? Edit Values - + Werte bearbeiten Edit %1 - + %1 bearbeiten Edit Scope - + Bereich bearbeiten Edit Advanced Expression - + Erweiterten Ausdruck bearbeiten @@ -9517,12 +9977,12 @@ unter Versionsverwaltung (%2) gestellt werden? <font color="#ff0000">Could not find make command: %1 in the build environment</font> - + <font color="#ff0000">Das make-Kommando %1 konnte in der Build-Umgebung nicht gefunden werden</font> <font color="#0000ff"><b>No Makefile found, assuming project is clean.</b></font> - + <font color="#0000ff"><b>Es wurde kein Makefile gefunden; das Projekt ist offenbar im bereinigten Zustand.</b></font> @@ -9530,7 +9990,7 @@ unter Versionsverwaltung (%2) gestellt werden? Override %1: - + Überschreibe %1: @@ -9540,58 +10000,62 @@ unter Versionsverwaltung (%2) gestellt werden? <font color="#ff0000"><b>No valid Qt version set. Set one in Preferences </b></font> - + +<font color="#ff0000"><b>Es ist keine gültige Qt-Version gesetzt. Setzen Sie sie unter Einstellungen</b></font> + <font color="#ff0000"><b>No valid Qt version set. Set one in Tools/Options </b></font> - + +<font color="#ff0000"><b>Es ist keine gültige Qt-Version gesetzt. Setzen Sie sie unter Werkzeuge/Einstellungen</b></font> + QMAKESPEC from environment (%1) overrides mkspec of selected Qt (%2). - + Die QMAKESPEC-ANgabe aus der Umgebung (%1) überschreibt die mkspec-Angabe der gewählten Qt-Version (%2). <font color="#0000ff">Configuration unchanged, skipping QMake step.</font> - + <font color="#0000ff">Konfiguration unverändert, übersrpinge QMake-Schritt.</font> Qt4ProjectManager::Qt4Manager - + Loading project %1 ... - + Lade Projekt %1 ... Failed opening project '%1': Project file does not exist - + Das Projekt %1 konnte nicht geöffnet werden: Die Projektdatei existiert nicht Failed opening project - + Das Projekt konnte nicht geöffnet werden Failed opening project '%1': Project already open - + Das Projekt %1 konnte nicht geöffnet werden da es bereits geladen ist Opening %1 ... - + Öffne %1 ... Done opening project - + Projekt geöffnet @@ -9611,15 +10075,15 @@ unter Versionsverwaltung (%2) gestellt werden? QtDumperHelper - + <none> - + <kein> %n known types, Qt version: %1, Qt namespace: %2 - - + + %n bekannte Typen, Qt-Version: %1, Namensraum: %2 @@ -9643,7 +10107,7 @@ unter Versionsverwaltung (%2) gestellt werden? Qt - + Qt @@ -9723,11 +10187,6 @@ unter Versionsverwaltung (%2) gestellt werden? QuickOpen::Internal::DirectoryFilterOptions - Dialog - - - - Name: Name: @@ -9885,14 +10344,12 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Entfernen - Edit - Editieren + Editieren - Refresh Intervall: - Aktualisierungsintervall: + Aktualisierungsintervall: @@ -9904,6 +10361,16 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Refresh now! Jetzt aktualisieren! + + + Edit... + Ändern... + + + + Refresh Interval: + Aktualisierungsintervall: + QuickOpen::Internal::SettingsPage @@ -10060,7 +10527,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Qt - + Qt @@ -10086,17 +10553,17 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Save Changes - + Änderungen speichern The following files have unsaved changes: - + Die folgenden Dateien wurden geändert: - Automatically save all Files before building - + Automatically save all files before building + Geänderte Dateien vorm Erstellen automatisch speichern @@ -10104,7 +10571,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Options - + Einstellungen @@ -10117,62 +10584,62 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Add Files - + Dateien hinzufügen Add Prefix - + Präfix hinzufügen Invalid file - + Ungültige Datei Copy - + Kopieren Skip - + Überspringen Abort - + Abbrechen The file %1 is not in a subdirectory of the resource file. Continuing will result in an invalid resource file. - + Die Datei %1 befindet sich nicht in einem Unterverzeichnis der Ressourcendatei. Durch das Hinzufügen würde eine ungültige Ressourcendatei entstehen. Choose copy location - + Wählen Sie ein Ziel zum Kopieren Overwrite failed - + Fehler beim Überschreiben Could not overwrite file %1. - + Die Datei %1 konnte nicht überschrieben werden. Copying failed - + Das Kopieren schlug fehl Could not copy the file to %1. - + Die Datei konnte nicht nach %1 kopiert werden. @@ -10180,32 +10647,32 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Add Files... - + Dateien hinzufügen... Change Alias... - + Alias ändern... Add Prefix... - + Präfix hinzufügen... Change Prefix... - + Präfix ändern... Change Language... - + Sprache ändern... Remove Item - + Element löschen @@ -10215,50 +10682,45 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich All files (*) - + Alle Dateien (*) Change Prefix - + Präfix ändern Input Prefix: - + Präfix: Change Language - + Sprache ändern Language: - + Sprache: Change File Alias - + Dateialias ändern Alias: - + Aliasname: ShortcutSettings - Form - - - - Keyboard Shortcuts - + Tastenkürzel @@ -10268,7 +10730,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Command - + Kommando @@ -10278,37 +10740,37 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Shortcut - + Tastenkürzel Defaults - + Vorgabe Import... - + Importieren... Export... - + Exportieren... Key Sequence - + Tastenfolge Shortcut: - + Tastenkürzel: Reset - + Rücksetzen @@ -10321,341 +10783,123 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Debugging Helper Build Log - + Erstellungsprotokoll der Ausgabe-Hilfsbibliothek - SimpleProEditor + QtModulesInfo - - Debug and Release - - - - - Debug specific - - - - - Release specific - - - - - All platforms - - - - - MS Windows specific - - - - - Linux/Unix specific - - - - - Mac OSX specific - - - - - Target Options - - - - - Type and name of the target. - - - - - Preprocessor Definitions - - - - - Setting of the preprocessor definitions. - - - - - Include path - - - - - Setting of the pathes where the header files are located. - - - - - Libraries - - - - - Defining the libraries to link the target against and the pathes where these are located. - - - - - Source Files - Quelldateien - - - - Header Files - - - - - Forms - - - - - Qt Modules - - - - - Setting up which of the Qt modules will be used in the target application. - - - - - Resource files - - - - - Target name - - - - - The name of the resulting target. - - - - - Configuration - - - - - Configuration. - - - - - Destination directory - - - - - Where the resulting target will be created. - - - - QtCore Module - Core non-GUI classes used by other modules - QtGui Module - Graphical user interface components - QtNetwork Module - Classes for network programming - QtOpenGL Module - OpenGL support classes - QtSql Module - Classes for database integration using SQL - QtScript Module - Classes for evaluating Qt Scripts - QtSvg Module - Classes for displaying the contents of SVG files - QtWebKit Module - Classes for displaying and editing Web content - QtXml Module - Classes for handling XML - QtXmlPatterns Module - An XQuery/XPath engine for XML and custom data models - Phonon Module - Multimedia framework classes - Qt3Support Module - Classes that ease porting from Qt 3 to Qt 4 - QtTest Module - Tool classes for unit testing - QtDBus module - Classes for Inter-Process Communication using the D-Bus - - - Application - - - - - Create a standalone application - - - - - Dynamic Library - - - - - Create a dynamic library for usage in other applications - - - - - Static Library - - - - - Create a static library for usage in other applications - - - - - Add Operator - - - - - Remove Operator - - - - - Replace Operator - - - - - Set Operator - - - - - Unique Add Operator - - Snippets::Internal::SnippetsPlugin @@ -10698,63 +10942,53 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Start Debugger Debugger starten - - - localhost:5115 - - Architecture: - + Architektur: Host and port: - + Host und Portnummer: Use server start script: - + Server-Startskript benutzen: Server start script: - + Server-Startskript: Subversion::Internal::SettingsPage - Form - - - - Subversion Command: - + Subversion-Kommando: Authentication - + Authentifizierung User name: - + Nutzername: Password: - + Passwort: Subversion - + Subversion @@ -10762,7 +10996,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Subversion Command - + Subversion-Kommando @@ -10770,26 +11004,31 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Subversion Output - + Subversion-Ausgabe Subversion - + Subversion Subversion::Internal::SubversionPlugin - + &Subversion - + &Subversion Add Hinzufügen + + + Add "%1" + "%1" hinzufügen + Alt+S,Alt+A @@ -10800,20 +11039,35 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Delete Löschen + + + Delete "%1" + "%1" löschen + Revert - + Rückgängig machen + + + + Revert "%1" + Änderungen in "%1" rückgängig machen (revert) Diff Project - + Diff für Projekt Diff Current File - + Diff für Datei + + + + Diff "%1" + Diff für "%1" @@ -10823,12 +11077,17 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Commit All Files - + Alle Dateien abgeben Commit Current File - + Datei abgeben + + + + Commit "%1" + "%1" abgeben @@ -10838,37 +11097,47 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Filelog Current File - + Filelog für Datei + + + + Filelog "%1" + Filelog für "%1" Annotate Current File - + Annotation für Datei + + + + Annotate "%1" + Annotation für "%1" Describe... - + Beschreibung zu... Project Status - + Status des Projekts (status) Update Project - + Projekt auf aktuellen Stand bringen Commit - + Abgeben Diff Selected Files - + Diff für Auswahl @@ -10883,72 +11152,41 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Closing Subversion Editor - + Subversion-Editor schließen Do you want to commit the change? - + Möchten Sie den Commit ausführen? The commit message check failed. Do you want to commit the change? - + Die Überprüfung der Beschreibung schlug fehl. Möchten Sie den Commit trotzdem ausführen? - - Add %1 - - - - - Delete %1 - - - - - Revert %1 - - - - Diff %1 - + Diff für %1 - - Commit %1 - - - - - Filelog %1 - - - - - Annotate %1 - - - - + The file has been changed. Do you want to revert it? - + Die Datei wurde geändert. Möchten Sie sie zurücksetzen? The commit list spans several respositories (%1). Please commit them one by one. - + Die abzugebenden Dateien umfassen mehrere Repositories. Bitte geben Sie sie einzeln ab. Another commit is currently being executed. - + Es läuft bereits ein Abgabevorgang. There are no modified files. - + Es gibt keine geänderten Dateien. @@ -10958,44 +11196,45 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Describe - + Beschreibe Revision number: - + Revisionsnummer: No subversion executable specified! - + Es wurde keine ausführbaren Subversion-Datei angegeben! + %1 Executing: %2 %3 <timestamp> Executing: <executable> <arguments> - + %1 Kommando: %2 %3 The process terminated with exit code %1. - + Der Prozess wurde beendet, Rückgabewert %1. The process terminated abnormally. - + Der Prozess wurde in unnormaler Weise beendet. Could not start subversion '%1'. Please check your settings in the preferences. - + Das Subversion-Kommando '%1' konnte nicht gestartet werden. Bitte überprüfen Sie die Einstellungen. Subversion did not respond within timeout limit (%1 ms). - + Keine Antwort von Subversion innerhalb des Zeitlimits (%1 ms). @@ -11028,12 +11267,12 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich TextEditor::BaseTextDocument - + untitled kein Titel - + <em>Binary data</em> <em>Binäre Daten</em> @@ -11041,7 +11280,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich TextEditor::BaseTextEditor - + Print Document Dokument drucken @@ -11059,7 +11298,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich TextEditor::BaseTextEditorEditable - + Line: %1, Col: %2 Zeile: %1, Spalte: %2 @@ -11073,11 +11312,6 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich TextEditor::BehaviorSettingsPage - Form - - - - Storage Abspeichern @@ -11156,11 +11390,6 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich TextEditor::DisplaySettingsPage - Form - - - - Display Anzeige @@ -11214,6 +11443,16 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Animate matching parentheses Passende Klammern animieren + + + Navigation + Navigation + + + + Enable &mouse navigation + &Mausnavigation aktivieren + TextEditor::FontSettingsPage @@ -11292,11 +11531,6 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: TextEditor::Internal::FontSettingsPage - Form - - - - Font Zeichensatz @@ -11400,7 +11634,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: TextEditor::TextEditorActionHandler - + &Undo &Rückgangig @@ -11460,17 +11694,22 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: - + Delete &Line &Zeile löschen - + Shift+Del - + + Cut &Line + + + + Collapse Einklappen @@ -11745,27 +11984,27 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Choose a topic for <b>%1</b>: - + Wählen Sie ein Thema für <b>%1</b>: Choose Topic - + Themenwahl &Topics - + &Themen &Display - + &Anzeigen &Close - + &Schließen @@ -11773,7 +12012,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Version Control - + Versionskontrolle @@ -11791,22 +12030,22 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: E-mail - + E-Mail-Adresse Alias - + Alias Alias e-mail - + Alias-E-Mail-Adresse Cannot open '%1': %2 - + Die Datei '%1' kann nicht geöffnet werden: %2 @@ -11827,7 +12066,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Describe change %1 - + Details zur Änderung %1 anzeigen @@ -11835,86 +12074,87 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Check message - + Beschreibung prüfen Insert name... - + Namen einfügen... Submit Message Check failed - + Die Überprüfung der Beschreibung schlug fehl Unable to open '%1': %2 - + '%1' kann nicht geöffnet werden: %2 The check script '%1' could not be started: %2 - + Das Skript zur Überprüfung '%1' konnte nicht gestartet werden: %2 The check script '%1' could not be run: %2 - + Das Skript zur Überprüfung '%1' konnte nicht ausgeführt werden: %2 The check script returned exit code %1. - + Das Skript zur Überprüfung wurde beendet, Rückgabewert %1. VCSBaseSettingsPage - Form - + Prompt to submit + Abgabe bestätigen - Prompt to submit - + Common + Allgemein Wrap submit message at: - + Beschreibung umbrechen bei: An executable which is called with the submit message in a temporary file as first argument. It should return with an exit != 0 and a message on standard error to indicate failure. - + Eine ausführbare Datei, die mit der Beschreibung in einer temporären Datei als erstem Kommandozeilenparameter aufgerufen wird. Bei Fehlschlag sollte sie einen Rückgabewert ungleich Null mit einer entsprechende Nachricht auf der Fehlerausgabe zurückgeben. Submit message check script: - + Skript zur Überprüfung der Beschreibung: A file listing user names and email addresses in a 4-column mailmap format: name <email> alias <email> - + Eine Datei, die Nutzernamen und E-Mail-Adressen in einem vierspaltigen Format (mailmap) enthält: +Namen <E-Mail> Alias <E-Mail? User/alias configuration file: - + Nutzer/Alias-Konfigurationsdatei: A simple file containing lines with field names like "Reviewed-By:" which will be added below the submit editor. - + Eine Datei, die Zeilen mit Feldnamen (zum Beispiel "Reviewed-By:") enthält, die im Abgabefenster unter der Beschreibung erscheinen. User fields configuration file: - + Nutzerfeld-Konfigurationsdatei: @@ -11922,13 +12162,14 @@ name <email> alias <email> Version Control - + Versionskontrolle Would you like to remove this file from the version control system (%1)? Note: This might remove the local file. - + Möchten Sie die Datei aus der Versionskontrolle entferned (%1)? +Hinweis: Unter Umständen wird die Datei gelöscht. @@ -11936,25 +12177,25 @@ Note: This might remove the local file. Paste - + Einfügen <Username> - + <Nutzername> <Description> - + <Beschreibung> <Comment> - + <Kommentar> @@ -11962,27 +12203,27 @@ Note: This might remove the local file. Send to Codepaster - + An CodePaster senden &Username: - + &Nutzername: <Username> - + <Nutzername> &Description: - + &Beschreibung: <Description> - + <Beschreibung> @@ -11990,12 +12231,15 @@ Note: This might remove the local file. p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;Comment&gt;</p></body></html> - + <html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;Kommentar&gt;</p></body></html> Parts to send to codepaster - + An CodePaster zu sendende Teile diff --git a/share/qtcreator/translations/qtcreator_it.ts b/share/qtcreator/translations/qtcreator_it.ts index 9c335abd637..a4d9c23f4c4 100644 --- a/share/qtcreator/translations/qtcreator_it.ts +++ b/share/qtcreator/translations/qtcreator_it.ts @@ -2301,6 +2301,11 @@ p { CppFileSettingsPage + + + File naming conventions + Convenzioni sul nome dei file + Header suffix: @@ -4053,6 +4058,11 @@ L'utilizzo di gdb 6.7 o successivi è fortemente consigliato. DebuggingHelperOptionPage + + + Debugging Helper + Helper del Debug + This will enable nice display of Qt and Standard Library objects in the Locals&Watchers view @@ -4438,8 +4448,8 @@ La ricompilazione del progetto potrebbe aiutare. DocSettingsPage - Registered Documentation: - Documentazione Registrata: + Registered Documentation + Documentazione Registrata @@ -10218,337 +10228,119 @@ Per eseguire la ricerca, scrivi questo prefisso, uno spazio e poi il termine da - SimpleProEditor + QtModulesInfo - - Debug and Release - Debug e Release - - - - Debug specific - Specifico del Debug - - - - Release specific - Specifico del Release - - - - All platforms - Tutte le piattaforme - - - - MS Windows specific - Specifico di MS Windows - - - - Linux/Unix specific - Specifico di Linux/Unix - - - - Mac OSX specific - Specifico di Max OSX - - - - Target Options - Opzioni Destinazione - - - - Type and name of the target. - Tipo e nome della destinazione. - - - - Preprocessor Definitions - Definizioni del Preprocessore - - - - Setting of the preprocessor definitions. - Impostazione delle definizioni del preprocessore. - - - - Include path - Percorso degli Include - - - - Setting of the pathes where the header files are located. - Impostazione dei percorsi dove si trovano i file header. - - - - Libraries - Librerie - - - - Defining the libraries to link the target against and the pathes where these are located. - Definizione delle librerie con cui linkare la destinazione a dei percorsi che le contengono. - - - - Source Files - File Sorgenti - - - - Header Files - File Header - - - - Forms - Form - - - - Qt Modules - Moduli Qt - - - - Setting up which of the Qt modules will be used in the target application. - Imposta quali moduli Qt saranno usati nell'applicazione di destinazione. - - - - Resource files - File delle Risorse - - - - Target name - Nome Destinazione - - - - The name of the resulting target. - Il nome della destinazione. - - - - Configuration - Configurazione - - - - Configuration. - Configurazione. - - - - Destination directory - Cartella di Destinazione - - - - Where the resulting target will be created. - La destinazione sarà creata qui dentro. - - - QtCore Module Modulo QtCore - Core non-GUI classes used by other modules Classi di Core, non-GUI, usate dagli altri moduli - QtGui Module Modulo QtGui - Graphical user interface components Componenti dell'interfaccia grafica - QtNetwork Module Modulo QtNetwork - Classes for network programming Classi per la programmazione della rete - QtOpenGL Module Modulo QtOpenGL - OpenGL support classes Classi per il supporto OpenGL - QtSql Module Modulo QtSql - Classes for database integration using SQL Classi per l'integrazione con database SQL - QtScript Module Modulo QtScript - Classes for evaluating Qt Scripts Classi per l'esecuzione di Qt Script - QtSvg Module Modulo QtSvg - Classes for displaying the contents of SVG files Classi per la visualizzazione del contenuto di file SVG - QtWebKit Module Modulo QtWebKit - Classes for displaying and editing Web content Classi per la visualizzazione e modifica del contenuto Web - QtXml Module Modulo QtXml - Classes for handling XML Classi per la gestione di XML - QtXmlPatterns Module Modulo QtXmlPatterns - An XQuery/XPath engine for XML and custom data models Un motore XQuery/XPath per XML e modelli di dati speciali - Phonon Module Modulo Phonon - Multimedia framework classes Classi del framework multimediale - Qt3Support Module Modulo Qt3Support - Classes that ease porting from Qt 3 to Qt 4 Classi che facilitano il porting da Qt 3 a Qt 4 - QtTest Module Modulo QtTest - Tool classes for unit testing Classi di ausilio per lo unit testing - QtDBus module Modulo QtDBus - Classes for Inter-Process Communication using the D-Bus Classi per la comunicazione-intra-processo usando il D-Bus - - - Application - Applicazione - - - - Create a standalone application - Crea un'applicazione - - - - Dynamic Library - Libreria Condivisa - - - - Create a dynamic library for usage in other applications - Crea una libreria condivisa per l'uso in altre applicazioni - - - - Static Library - Libreria Statica - - - - Create a static library for usage in other applications - Crea una libreria statica per l'uso in altre applicazioni - - - - Add Operator - Operatore di Aggiunta - - - - Remove Operator - Operatore di Rimozione - - - - Replace Operator - Operatore di Sostituzione - - - - Set Operator - Operatore di Assegnazione - - - - Unique Add Operator - Operatore di Aggiunta Unica - Snippets::Internal::SnippetsPlugin @@ -11749,6 +11541,11 @@ Queste codifiche dovrebbero andare bene: Prompt to submit Prompt del submit + + + Common + Comune + Wrap submit message at: diff --git a/share/qtcreator/translations/qtcreator_ja.ts b/share/qtcreator/translations/qtcreator_ja.ts index 856539bf09f..54b7559898b 100644 --- a/share/qtcreator/translations/qtcreator_ja.ts +++ b/share/qtcreator/translations/qtcreator_ja.ts @@ -2224,6 +2224,11 @@ background-image: url(:/core/images/welcomemode/feedback-bar-background.png); CppFileSettingsPage + + + File naming conventions + + Form @@ -3713,6 +3718,11 @@ Using gdb 6.7 or later is strongly recommended. DebuggingHelperOptionPage + + + Debugging Helper + + Form @@ -4112,7 +4122,7 @@ Rebuilding the project might help. - Registered Documentation: + Registered Documentation @@ -10000,337 +10010,119 @@ To do this you type this shortcut and a space in the QuickOpen entry field, and - SimpleProEditor + QtModulesInfo - - Debug and Release - - - - - Debug specific - - - - - Release specific - - - - - All platforms - - - - - MS Windows specific - - - - - Linux/Unix specific - - - - - Mac OSX specific - - - - - Target Options - - - - - Type and name of the target. - - - - - Preprocessor Definitions - - - - - Setting of the preprocessor definitions. - - - - - Include path - - - - - Setting of the pathes where the header files are located. - - - - - Libraries - - - - - Defining the libraries to link the target against and the pathes where these are located. - - - - - Source Files - - - - - Header Files - - - - - Forms - - - - - Qt Modules - - - - - Setting up which of the Qt modules will be used in the target application. - - - - - Resource files - - - - - Target name - - - - - The name of the resulting target. - - - - - Configuration - - - - - Configuration. - - - - - Destination directory - - - - - Where the resulting target will be created. - - - - QtCore Module - Core non-GUI classes used by other modules - QtGui Module - Graphical user interface components - QtNetwork Module - Classes for network programming - QtOpenGL Module - OpenGL support classes - QtSql Module - Classes for database integration using SQL - QtScript Module - Classes for evaluating Qt Scripts - QtSvg Module - Classes for displaying the contents of SVG files - QtWebKit Module - Classes for displaying and editing Web content - QtXml Module - Classes for handling XML - QtXmlPatterns Module - An XQuery/XPath engine for XML and custom data models - Phonon Module - Multimedia framework classes - Qt3Support Module - Classes that ease porting from Qt 3 to Qt 4 - QtTest Module - Tool classes for unit testing - QtDBus module - Classes for Inter-Process Communication using the D-Bus - - - Application - - - - - Create a standalone application - - - - - Dynamic Library - - - - - Create a dynamic library for usage in other applications - - - - - Static Library - - - - - Create a static library for usage in other applications - - - - - Add Operator - - - - - Remove Operator - - - - - Replace Operator - - - - - Set Operator - - - - - Unique Add Operator - - Snippets::Internal::SnippetsPlugin @@ -11505,6 +11297,11 @@ The following encodings are likely to fit: Form フォーム + + + Common + + Prompt to submit diff --git a/src/libs/cplusplus/pp-engine.cpp b/src/libs/cplusplus/pp-engine.cpp index bb6b6bebf8f..f24b23b6e03 100644 --- a/src/libs/cplusplus/pp-engine.cpp +++ b/src/libs/cplusplus/pp-engine.cpp @@ -47,6 +47,7 @@ */ #include "pp.h" +#include "pp-cctype.h" #include #include @@ -702,7 +703,7 @@ bool Preprocessor::markGeneratedTokens(bool markGeneratedTokens, ++it; for (; it != end; ++it) { - if (! std::isspace(*it)) + if (! pp_isspace(*it)) out(' '); else @@ -773,7 +774,7 @@ void Preprocessor::preprocess(const QByteArray &fileName, const QByteArray &sour ++it; for (; it != end; ++it) { - if (std::isspace(*it)) + if (pp_isspace(*it)) out(*it); else diff --git a/src/libs/utils/parameteraction.cpp b/src/libs/utils/parameteraction.cpp new file mode 100644 index 00000000000..3653d1ca8f0 --- /dev/null +++ b/src/libs/utils/parameteraction.cpp @@ -0,0 +1,61 @@ +#include "parameteraction.h" + +namespace Core { +namespace Utils { + +ParameterAction::ParameterAction(const QString &emptyText, + const QString ¶meterText, + EnablingMode mode, + QObject* parent) : + QAction(emptyText, parent), + m_emptyText(emptyText), + m_parameterText(parameterText), + m_enablingMode(mode) +{ +} + +QString ParameterAction::emptyText() const +{ + return m_emptyText; +} + +void ParameterAction::setEmptyText(const QString &t) +{ + m_emptyText = t; +} + +QString ParameterAction::parameterText() const +{ + return m_parameterText; +} + +void ParameterAction::setParameterText(const QString &t) +{ + m_parameterText = t; +} + +ParameterAction::EnablingMode ParameterAction::enablingMode() const +{ + return m_enablingMode; +} + +void ParameterAction::setEnablingMode(EnablingMode m) +{ + m_enablingMode = m; +} + +void ParameterAction::setParameter(const QString &p) +{ + const bool enabled = !p.isEmpty(); + if (enabled) { + setText(m_parameterText.arg(p)); + } else { + setText(m_emptyText); + } + if (m_enablingMode == EnabledWithParameter) + setEnabled(enabled); +} + +} +} + diff --git a/src/libs/utils/parameteraction.h b/src/libs/utils/parameteraction.h new file mode 100644 index 00000000000..d503afb81c6 --- /dev/null +++ b/src/libs/utils/parameteraction.h @@ -0,0 +1,85 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Qt Software Information (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at qt-sales@nokia.com. +** +**************************************************************************/ + +#ifndef PARAMETERACTION_H +#define PARAMETERACTION_H + +#include "utils_global.h" + +#include + +namespace Core { +namespace Utils { + +/* ParameterAction: Intended for actions that act on a 'current', + * string-type parameter (typically file name) and have 2 states: + * 1) displaying "Do XX" (empty text) + * 2) displaying "Do XX with %1". + * Provides a slot to set the parameter, changing display + * and enabled state accordingly. + * The text passed in should already be translated; parameterText + * should contain a %1 where the parameter is to be inserted. */ + +class QTCREATOR_UTILS_EXPORT ParameterAction : public QAction +{ + Q_ENUMS(EnablingMode) + Q_PROPERTY(QString emptyText READ emptyText WRITE setEmptyText) + Q_PROPERTY(QString parameterText READ parameterText WRITE setParameterText) + Q_PROPERTY(EnablingMode enablingMode READ enablingMode WRITE setEnablingMode) + Q_OBJECT +public: + enum EnablingMode { AlwaysEnabled, EnabledWithParameter }; + + explicit ParameterAction(const QString &emptyText, + const QString ¶meterText, + EnablingMode em = AlwaysEnabled, + QObject* parent = 0); + + QString emptyText() const; + void setEmptyText(const QString &); + + QString parameterText() const; + void setParameterText(const QString &); + + EnablingMode enablingMode() const; + void setEnablingMode(EnablingMode m); + +public slots: + void setParameter(const QString &); + +private: + QString m_emptyText; + QString m_parameterText; + EnablingMode m_enablingMode; +}; + +} +} + +#endif // PARAMETERACTION_H diff --git a/src/libs/utils/utils.pro b/src/libs/utils/utils.pro index ce56977b6de..c1085aac370 100644 --- a/src/libs/utils/utils.pro +++ b/src/libs/utils/utils.pro @@ -29,7 +29,8 @@ SOURCES += \ synchronousprocess.cpp \ submitfieldwidget.cpp \ consoleprocess.cpp \ - uncommentselection.cpp + uncommentselection.cpp \ + parameteraction.cpp win32 { SOURCES += abstractprocess_win.cpp \ @@ -66,7 +67,8 @@ HEADERS += \ consoleprocess.h \ synchronousprocess.h \ submitfieldwidget.h \ - uncommentselection.h + uncommentselection.h \ + parameteraction.h FORMS += filewizardpage.ui \ projectintropage.ui \ diff --git a/src/plugins/coreplugin/welcomemode.cpp b/src/plugins/coreplugin/welcomemode.cpp index d7f83d547aa..558cedbff36 100644 --- a/src/plugins/coreplugin/welcomemode.cpp +++ b/src/plugins/coreplugin/welcomemode.cpp @@ -163,7 +163,7 @@ WelcomeMode::WelcomeMode() : m_d->ui.sitesTreeWidget->addItem(tr("Qt Labs"), QLatin1String("http://labs.qtsoftware.com")); m_d->ui.sitesTreeWidget->addItem(tr("Qt Git Hosting"), QLatin1String("http://qt.gitorious.org")); m_d->ui.sitesTreeWidget->addItem(tr("Qt Centre"), QLatin1String("http://www.qtcentre.org")); - m_d->ui.sitesTreeWidget->addItem(tr("Qt/S60 at Forum Nokia"), QLatin1String("http://discussion.forum.nokia.com/forum/forumdisplay.php?f=196")); + m_d->ui.sitesTreeWidget->addItem(tr("Qt for S60 at Forum Nokia"), QLatin1String("http://discussion.forum.nokia.com/forum/forumdisplay.php?f=196")); m_d->ui.tutorialTreeWidget->addItem(tr("Qt Creator - A quick tour"), QString("qthelp://com.nokia.qtcreator.%1%2/doc/index.html").arg(IDE_VERSION_MAJOR).arg(IDE_VERSION_MINOR)); @@ -314,13 +314,15 @@ void WelcomeMode::slotFeedback() void WelcomeMode::slotNextTip() { QStringList tips = tipsOfTheDay(); - m_d->ui.didYouKnowTextBrowser->setText(tips.at((++m_d->currentTip)%tips.count())); + m_d->currentTip = ((m_d->currentTip+1)%tips.count()); + m_d->ui.didYouKnowTextBrowser->setText(tips.at(m_d->currentTip)); } void WelcomeMode::slotPrevTip() { QStringList tips = tipsOfTheDay(); - m_d->ui.didYouKnowTextBrowser->setText(tips.at((--m_d->currentTip)%tips.count())); + m_d->currentTip = ((m_d->currentTip-1)+tips.count())%tips.count(); + m_d->ui.didYouKnowTextBrowser->setText(tips.at(m_d->currentTip)); } QStringList WelcomeMode::tipsOfTheDay() diff --git a/src/plugins/cpaster/settingspage.ui b/src/plugins/cpaster/settingspage.ui index dc0708205c5..0ad3e9613b2 100644 --- a/src/plugins/cpaster/settingspage.ui +++ b/src/plugins/cpaster/settingspage.ui @@ -1,8 +1,8 @@ - + CodePaster::SettingsPage - - + + 0 0 @@ -10,73 +10,62 @@ 258 - - - - - CodePaster Server: + + + + + + 0 + 0 + + + General + + + + + + CodePaster Server: + + + + + + + + + + Username: + + + + + + + + + + Copy Paste URL to clipboard + + + + + + + Display Output Pane after sending a post + + + + - - - - - - - Username: - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Copy Paste URL to clipboard - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Display Output Pane after sending a post - - - - - - + + + Qt::Vertical - + 223 100 diff --git a/src/plugins/cpptools/cppfilesettingspage.ui b/src/plugins/cpptools/cppfilesettingspage.ui index f4cf62506f0..61bf7880f0c 100644 --- a/src/plugins/cpptools/cppfilesettingspage.ui +++ b/src/plugins/cpptools/cppfilesettingspage.ui @@ -1,8 +1,8 @@ - + CppFileSettingsPage - - + + 0 0 @@ -10,70 +10,58 @@ 503 - + - - - - - QFormLayout::ExpandingFieldsGrow - - - - - Header suffix: - - - - - - - - - - This determines how the file names of the class wizards are generated ("MyClass.h" versus "myclass.h"). - - - Lower case file names: - - - - - - - - - - Source suffix: - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + + + + 0 + 0 + + + + File naming conventions + + + + QFormLayout::ExpandingFieldsGrow + + + + + Header suffix: + + + + + + + + + + Source suffix: + + + + + + + + + + Lower case file names + + + + + - - + + Qt::Vertical - + 20 430 diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp index 303884b0fa4..796208eca9a 100644 --- a/src/plugins/debugger/debuggermanager.cpp +++ b/src/plugins/debugger/debuggermanager.cpp @@ -430,6 +430,14 @@ void DebuggerManager::init() m_threadsDock = createDockForWidget(m_threadsWindow); + QSplitter *localsAndWatchers = new QSplitter(Qt::Vertical, 0); + localsAndWatchers->setWindowTitle(m_localsWindow->windowTitle()); + localsAndWatchers->addWidget(m_localsWindow); + localsAndWatchers->addWidget(m_watchersWindow); + localsAndWatchers->setStretchFactor(0, 3); + localsAndWatchers->setStretchFactor(1, 1); + m_watchDock = createDockForWidget(localsAndWatchers); + setStatus(DebuggerProcessNotReady); } @@ -457,17 +465,6 @@ IDebuggerManagerAccessForEngines *DebuggerManager::engineInterface() return dynamic_cast(this); } -void DebuggerManager::createDockWidgets() -{ - QSplitter *localsAndWatchers = new QSplitter(Qt::Vertical, 0); - localsAndWatchers->setWindowTitle(m_localsWindow->windowTitle()); - localsAndWatchers->addWidget(m_localsWindow); - localsAndWatchers->addWidget(m_watchersWindow); - localsAndWatchers->setStretchFactor(0, 3); - localsAndWatchers->setStretchFactor(1, 1); - m_watchDock = createDockForWidget(localsAndWatchers); -} - void DebuggerManager::createNewDock(QWidget *widget) { QDockWidget *dockWidget = new QDockWidget(widget->windowTitle(), m_mainWindow); @@ -482,12 +479,13 @@ QDockWidget *DebuggerManager::createDockForWidget(QWidget *widget) { QDockWidget *dockWidget = new QDockWidget(widget->windowTitle(), m_mainWindow); dockWidget->setObjectName(widget->windowTitle()); - dockWidget->setFeatures(QDockWidget::DockWidgetClosable); + dockWidget->setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetFloatable); dockWidget->setTitleBarWidget(new QWidget(dockWidget)); dockWidget->setWidget(widget); - connect(dockWidget->toggleViewAction(), SIGNAL(toggled(bool)), - this, SLOT(dockToggled(bool)), Qt::QueuedConnection); + connect(dockWidget->toggleViewAction(), SIGNAL(triggered()), + this, SLOT(dockActionTriggered()), Qt::QueuedConnection); m_dockWidgets.append(dockWidget); + m_dockWidgetActiveState.append(false); return dockWidget; } @@ -518,11 +516,30 @@ void DebuggerManager::setSimpleDockWidgetArrangement() m_outputDock->hide(); } +void DebuggerManager::updateDockWidgetActiveStates() +{ + for (int i = 0; i < m_dockWidgets.size(); ++i) { + m_dockWidgetActiveState[i] = m_dockWidgets.at(i)->isVisible(); + } +} + +void DebuggerManager::setFloatingDockWidgetsVisible(bool visible) +{ + for (int i = 0; i < m_dockWidgets.size(); ++i) { + QDockWidget *dockWidget = m_dockWidgets.at(i); + if (dockWidget->isFloating() && m_dockWidgetActiveState.at(i)) { + dockWidget->setVisible(visible); + } + } + if (visible) + updateDockWidgetActiveStates(); // we can't do that earlier, because the dock widgets are not visible at startup +} + void DebuggerManager::setLocked(bool locked) { const QDockWidget::DockWidgetFeatures features = - (locked) ? QDockWidget::DockWidgetClosable : - QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetClosable; + (locked) ? QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetFloatable : + QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetFloatable; foreach (QDockWidget *dockWidget, m_dockWidgets) { QWidget *titleBarWidget = dockWidget->titleBarWidget(); @@ -537,11 +554,16 @@ void DebuggerManager::setLocked(bool locked) } } -void DebuggerManager::dockToggled(bool on) +void DebuggerManager::dockActionTriggered() { QDockWidget *dw = qobject_cast(sender()->parent()); - if (on && dw) - dw->raise(); + if (dw) { + if (dw->isVisible()) + dw->raise(); + int index = m_dockWidgets.indexOf(dw); + if (index >= 0) + m_dockWidgetActiveState[index] = dw->isVisible(); + } } QAbstractItemModel *DebuggerManager::threadsModel() diff --git a/src/plugins/debugger/debuggermanager.h b/src/plugins/debugger/debuggermanager.h index 3db8271a246..22cd9e3c8bb 100644 --- a/src/plugins/debugger/debuggermanager.h +++ b/src/plugins/debugger/debuggermanager.h @@ -217,7 +217,9 @@ public slots: void setSimpleDockWidgetArrangement(); void setLocked(bool locked); - void dockToggled(bool on); + void setFloatingDockWidgetsVisible(bool visible); + void updateDockWidgetActiveStates(); + void dockActionTriggered(); void setBusyCursor(bool on); void queryCurrentTextEditor(QString *fileName, int *lineNumber, QObject **ed); @@ -316,7 +318,6 @@ private: // QWidget *threadsWindow() const { return m_threadsWindow; } QList dockWidgets() const { return m_dockWidgets; } - void createDockWidgets(); virtual bool qtDumperLibraryEnabled() const; virtual QString qtDumperLibraryName() const; @@ -400,6 +401,7 @@ private: QDockWidget *m_threadsDock; QDockWidget *m_watchDock; QList m_dockWidgets; + QList m_dockWidgetActiveState; BreakHandler *m_breakHandler; DisassemblerHandler *m_disassemblerHandler; diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index f7081d89970..2d853d73270 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -173,10 +173,6 @@ class DebugMode : public Core::BaseMode public: DebugMode(QObject *parent = 0); ~DebugMode(); - - // IMode - void activated() {} - void shutdown() {} }; DebugMode::DebugMode(QObject *parent) @@ -409,8 +405,6 @@ DebuggerPlugin::~DebuggerPlugin() void DebuggerPlugin::shutdown() { - if (m_debugMode) - m_debugMode->shutdown(); // saves state including manager information QTC_ASSERT(m_manager, /**/); if (m_manager) m_manager->shutdown(); @@ -758,12 +752,11 @@ bool DebuggerPlugin::initialize(const QStringList &arguments, QString *errorMess toolBarAddingLayout->addWidget(rightPaneSplitter); toolBarAddingLayout->addWidget(debugToolBar); - m_manager->createDockWidgets(); m_manager->setSimpleDockWidgetArrangement(); readSettings(); connect(ModeManager::instance(), SIGNAL(currentModeChanged(Core::IMode*)), - this, SLOT(focusCurrentEditor(Core::IMode*))); + this, SLOT(onModeChanged(Core::IMode*))); m_debugMode->widget()->setFocusProxy(EditorManager::instance()); addObject(m_debugMode); @@ -1047,10 +1040,13 @@ void DebuggerPlugin::readSettings() m_manager->mainWindow()->restoreState(ba); } -void DebuggerPlugin::focusCurrentEditor(IMode *mode) +void DebuggerPlugin::onModeChanged(IMode *mode) { - if (mode != m_debugMode) + if (mode != m_debugMode) { + m_manager->setFloatingDockWidgetsVisible(false); return; + } + m_manager->setFloatingDockWidgetsVisible(true); EditorManager *editorManager = EditorManager::instance(); diff --git a/src/plugins/debugger/debuggerplugin.h b/src/plugins/debugger/debuggerplugin.h index 116454ba291..c022e3a0ab8 100644 --- a/src/plugins/debugger/debuggerplugin.h +++ b/src/plugins/debugger/debuggerplugin.h @@ -96,7 +96,7 @@ private slots: void breakpointSetRemoveMarginActionTriggered(); void breakpointEnableDisableMarginActionTriggered(); - void focusCurrentEditor(Core::IMode *mode); + void onModeChanged(Core::IMode *mode); void showSettingsDialog(); void startExternalApplication(); diff --git a/src/plugins/debugger/dumperoptionpage.ui b/src/plugins/debugger/dumperoptionpage.ui index fc4933b1d6c..d85f98c3707 100644 --- a/src/plugins/debugger/dumperoptionpage.ui +++ b/src/plugins/debugger/dumperoptionpage.ui @@ -10,85 +10,98 @@ 434 - + - - - This will enable nice display of Qt and Standard Library objects in the Locals&Watchers view - - - Use debugging helper - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 10 - 10 - - - - - - - - This will load a dumper library - - - Use debugging helper from custom location - - - - - - - - - - - Qt::Horizontal - - - QSizePolicy::Fixed - - - - 20 - 20 - - - - - - - - Location: - - - - - - - - - - - - This is an internal tool to make debugging the debugging helper code easier. Using this action is in general not needed unless you want do debug Qt Creator itself. - - - Debug debugging helper + + + Debugging helper + + + + + This will enable nice display of Qt and Standard Library objects in the Locals&Watchers view + + + Use debugging helper + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 10 + 10 + + + + + + + + This will load a dumper library + + + Use debugging helper from custom location + + + + + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 20 + 20 + + + + + + + + Location: + + + + + + + + + + + + This is an internal tool to make debugging the debugging helper code easier. Using this action is in general not needed unless you want do debug Qt Creator itself. + + + Debug debugging helper + + + + + + checkBoxDebugDebuggingHelpers + checkBoxUseDebuggingHelpers + @@ -105,8 +118,6 @@ - checkBoxDebugDebuggingHelpers - checkBoxUseDebuggingHelpers diff --git a/src/plugins/duieditor/duieditor.cpp b/src/plugins/duieditor/duieditor.cpp index f4b09dcee8c..f6110625ddb 100644 --- a/src/plugins/duieditor/duieditor.cpp +++ b/src/plugins/duieditor/duieditor.cpp @@ -85,6 +85,14 @@ protected: using Visitor::visit; using Visitor::endVisit; + void addWords(AST::UiQualifiedId *id) + { + for (; id; id = id->next) { + if (id->name) + _words.insert(id->name->asString()); + } + } + virtual bool visit(AST::UiPublicMember *node) { if (node->name) @@ -93,14 +101,6 @@ protected: return true; } - virtual bool visit(AST::UiObjectDefinition *node) - { - if (node->name) - _words.insert(node->name->asString()); - - return true; - } - virtual bool visit(AST::UiQualifiedId *node) { if (node->name) @@ -109,14 +109,6 @@ protected: return true; } - virtual bool visit(AST::UiObjectBinding *node) - { - if (node->name) - _words.insert(node->name->asString()); - - return true; - } - virtual bool visit(AST::IdentifierExpression *node) { if (node->name) @@ -302,8 +294,8 @@ protected: init(&decl, node); decl.text.fill(QLatin1Char(' '), _depth); - if (node->name) - decl.text.append(node->name->asString()); + if (node->qualifiedObjectNameId) + decl.text.append(asString(node->qualifiedObjectNameId)); else decl.text.append(QLatin1Char('?')); @@ -329,8 +321,8 @@ protected: decl.text.append(asString(node->qualifiedId)); decl.text.append(QLatin1String(": ")); - if (node->name) - decl.text.append(node->name->asString()); + if (node->qualifiedObjectNameId) + decl.text.append(asString(node->qualifiedObjectNameId)); else decl.text.append(QLatin1Char('?')); diff --git a/src/plugins/git/gitplugin.cpp b/src/plugins/git/gitplugin.cpp index 204453936de..702f2aa770c 100644 --- a/src/plugins/git/gitplugin.cpp +++ b/src/plugins/git/gitplugin.cpp @@ -47,6 +47,7 @@ #include #include +#include #include #include @@ -275,7 +276,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) Core::Command *command; - m_diffAction = new QAction(tr("Diff Current File"), this); + m_diffAction = new Core::Utils::ParameterAction(tr("Diff Current File"), tr("Diff \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_diffAction, "Git.Diff", globalcontext); command->setAttribute(Core::Command::CA_UpdateText); #ifndef Q_OS_MAC @@ -284,7 +285,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_diffAction, SIGNAL(triggered()), this, SLOT(diffCurrentFile())); gitContainer->addAction(command); - m_statusAction = new QAction(tr("File Status"), this); + m_statusAction = new Core::Utils::ParameterAction(tr("File Status"), tr("Status Related to \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_statusAction, "Git.Status", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+G,Alt+S"))); @@ -293,7 +294,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_statusAction, SIGNAL(triggered()), this, SLOT(statusFile())); gitContainer->addAction(command); - m_logAction = new QAction(tr("Log File"), this); + m_logAction = new Core::Utils::ParameterAction(tr("Log File"), tr("Log of \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_logAction, "Git.Log", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+G,Alt+L"))); @@ -302,7 +303,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_logAction, SIGNAL(triggered()), this, SLOT(logFile())); gitContainer->addAction(command); - m_blameAction = new QAction(tr("Blame"), this); + m_blameAction = new Core::Utils::ParameterAction(tr("Blame"), tr("Blame for \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_blameAction, "Git.Blame", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+G,Alt+B"))); @@ -311,7 +312,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_blameAction, SIGNAL(triggered()), this, SLOT(blameFile())); gitContainer->addAction(command); - m_undoFileAction = new QAction(tr("Undo Changes"), this); + m_undoFileAction = new Core::Utils::ParameterAction(tr("Undo Changes"), tr("Undo Changes for \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_undoFileAction, "Git.Undo", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+G,Alt+U"))); @@ -320,7 +321,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_undoFileAction, SIGNAL(triggered()), this, SLOT(undoFileChanges())); gitContainer->addAction(command); - m_stageAction = new QAction(tr("Stage File for Commit"), this); + m_stageAction = new Core::Utils::ParameterAction(tr("Stage File for Commit"), tr("Stage \"%1\" for Commit"), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_stageAction, "Git.Stage", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+G,Alt+A"))); @@ -329,13 +330,13 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_stageAction, SIGNAL(triggered()), this, SLOT(stageFile())); gitContainer->addAction(command); - m_unstageAction = new QAction(tr("Unstage File from Commit"), this); + m_unstageAction = new Core::Utils::ParameterAction(tr("Unstage File from Commit"), tr("Unstage \"%1\" from Commit"), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_unstageAction, "Git.Unstage", globalcontext); command->setAttribute(Core::Command::CA_UpdateText); connect(m_unstageAction, SIGNAL(triggered()), this, SLOT(unstageFile())); gitContainer->addAction(command); - m_revertAction = new QAction(tr("Revert..."), this); + m_revertAction = new Core::Utils::ParameterAction(tr("Revert..."), tr("Revert \"%1\"..."), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_revertAction, "Git.Revert", globalcontext); command->setAttribute(Core::Command::CA_UpdateText); connect(m_revertAction, SIGNAL(triggered()), this, SLOT(revertFile())); @@ -343,7 +344,7 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) gitContainer->addAction(createSeparator(actionManager, globalcontext, QLatin1String("Git.Sep.Project"), this)); - m_diffProjectAction = new QAction(tr("Diff Current Project"), this); + m_diffProjectAction = new Core::Utils::ParameterAction(tr("Diff Current Project"), tr("Diff Project \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_diffProjectAction, "Git.DiffProject", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence("Alt+G,Alt+Shift+D")); @@ -352,13 +353,13 @@ bool GitPlugin::initialize(const QStringList &arguments, QString *errorMessage) connect(m_diffProjectAction, SIGNAL(triggered()), this, SLOT(diffCurrentProject())); gitContainer->addAction(command); - m_statusProjectAction = new QAction(tr("Project Status"), this); + m_statusProjectAction = new Core::Utils::ParameterAction(tr("Project Status"), tr("Status Project \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_statusProjectAction, "Git.StatusProject", globalcontext); command->setAttribute(Core::Command::CA_UpdateText); connect(m_statusProjectAction, SIGNAL(triggered()), this, SLOT(statusProject())); gitContainer->addAction(command); - m_logProjectAction = new QAction(tr("Log Project"), this); + m_logProjectAction = new Core::Utils::ParameterAction(tr("Log Project"), tr("Log Project \"%1\""), Core::Utils::ParameterAction::AlwaysEnabled, this); command = actionManager->registerAction(m_logProjectAction, "Git.LogProject", globalcontext); #ifndef Q_OS_MAC command->setDefaultKeySequence(QKeySequence(tr("Alt+G,Alt+K"))); @@ -785,15 +786,14 @@ void GitPlugin::updateActions() const QString repository = m_gitClient->findRepositoryForFile(current.absoluteFilePath()); // First check for file commands and if the current file is inside // a Git-repository - const QString file = fileName.isEmpty() ? tr("File") : "\"" + fileName + '"'; - m_diffAction->setText(tr("Diff %1").arg(file)); - m_statusAction->setText(tr("Status Related to %1").arg(file)); - m_logAction->setText(tr("Log of %1").arg(file)); - m_blameAction->setText(tr("Blame for %1").arg(file)); - m_undoFileAction->setText(tr("Undo Changes for %1").arg(file)); - m_stageAction->setText(tr("Stage %1 for Commit").arg(file)); - m_unstageAction->setText(tr("Unstage %1 from Commit").arg(file)); - m_revertAction->setText(tr("Revert %1...").arg(file)); + m_diffAction->setParameter(fileName); + m_statusAction->setParameter(fileName); + m_logAction->setParameter(fileName); + m_blameAction->setParameter(fileName); + m_undoFileAction->setParameter(fileName); + m_stageAction->setParameter(fileName); + m_unstageAction->setParameter(fileName); + m_revertAction->setParameter(fileName); bool enabled = !fileName.isEmpty() && !repository.isEmpty(); m_diffAction->setEnabled(enabled); @@ -809,10 +809,10 @@ void GitPlugin::updateActions() // If the file is not in a repository, the corresponding project will // be neither and we can disable everything and return m_diffProjectAction->setEnabled(false); - m_diffProjectAction->setText(tr("Diff Project")); - m_statusProjectAction->setText(tr("Status Project")); + m_diffProjectAction->setParameter(repository); + m_statusProjectAction->setParameter(repository); m_statusProjectAction->setEnabled(false); - m_logProjectAction->setText(tr("Log Project")); + m_logProjectAction->setParameter(repository); m_logProjectAction->setEnabled(false); return; } @@ -822,18 +822,18 @@ void GitPlugin::updateActions() using namespace ProjectExplorer; QString project; if (m_projectExplorer) { - if (Node *node = m_projectExplorer->currentNode()) - if (Node *projectNode = node->projectNode()) - project = '"' + QFileInfo(projectNode->path()).completeBaseName() + '"'; + if (const Node *node = m_projectExplorer->currentNode()) + if (const Node *projectNode = node->projectNode()) + project = QFileInfo(projectNode->path()).completeBaseName(); } enabled = !project.isEmpty(); m_diffProjectAction->setEnabled(enabled); - m_diffProjectAction->setText(tr("Diff Project %1").arg(project)); + m_diffProjectAction->setParameter(project); m_statusProjectAction->setEnabled(enabled); - m_statusProjectAction->setText(tr("Status Project %1").arg(project)); + m_statusProjectAction->setParameter(project); m_logProjectAction->setEnabled(enabled); - m_logProjectAction->setText(tr("Log Project %1").arg(project)); + m_logProjectAction->setParameter(project); } void GitPlugin::showCommit() diff --git a/src/plugins/git/gitplugin.h b/src/plugins/git/gitplugin.h index 8f7f0bfeedd..da5af49bb74 100644 --- a/src/plugins/git/gitplugin.h +++ b/src/plugins/git/gitplugin.h @@ -52,6 +52,9 @@ namespace Core { class IEditorFactory; class ICore; class IVersionControl; +namespace Utils { +class ParameterAction; +} } // namespace Core namespace Git { @@ -133,19 +136,19 @@ private: static GitPlugin *m_instance; Core::ICore *m_core; - QAction *m_diffAction; - QAction *m_diffProjectAction; - QAction *m_statusAction; - QAction *m_statusProjectAction; - QAction *m_logAction; - QAction *m_blameAction; - QAction *m_logProjectAction; - QAction *m_undoFileAction; + Core::Utils::ParameterAction *m_diffAction; + Core::Utils::ParameterAction *m_diffProjectAction; + Core::Utils::ParameterAction *m_statusAction; + Core::Utils::ParameterAction *m_statusProjectAction; + Core::Utils::ParameterAction *m_logAction; + Core::Utils::ParameterAction *m_blameAction; + Core::Utils::ParameterAction *m_logProjectAction; + Core::Utils::ParameterAction *m_undoFileAction; QAction *m_undoProjectAction; QAction *m_showAction; - QAction *m_stageAction; - QAction *m_unstageAction; - QAction *m_revertAction; + Core::Utils::ParameterAction *m_stageAction; + Core::Utils::ParameterAction *m_unstageAction; + Core::Utils::ParameterAction *m_revertAction; QAction *m_commitAction; QAction *m_pullAction; QAction *m_pushAction; diff --git a/src/plugins/help/docsettingspage.ui b/src/plugins/help/docsettingspage.ui index 93c1124bf7d..d67e66fc638 100644 --- a/src/plugins/help/docsettingspage.ui +++ b/src/plugins/help/docsettingspage.ui @@ -11,61 +11,53 @@ - - - Registered Documentation: + + + Registered Documentation - - - - - - 6 - - - 0 - - + + - - + + - 6 - + 6 + - 0 - - + 0 + + - Add... - - - - + Add... + + + + - Remove - - - - - + Remove + + + + + - Qt::Vertical - + Qt::Vertical + - - 20 - 40 - - - - - - - + + 20 + 40 + + + + + + + + diff --git a/src/plugins/perforce/perforceplugin.cpp b/src/plugins/perforce/perforceplugin.cpp index 1cb25746d2a..4c4c3190755 100644 --- a/src/plugins/perforce/perforceplugin.cpp +++ b/src/plugins/perforce/perforceplugin.cpp @@ -48,6 +48,7 @@ #include #include #include +#include #include #include #include @@ -263,7 +264,7 @@ bool PerforcePlugin::initialize(const QStringList &arguments, QString *errorMess Core::Command *command; QAction *tmpaction; - m_editAction = new QAction(tr("Edit"), this); + m_editAction = new Core::Utils::ParameterAction(tr("Edit"), tr("Edit \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_editAction, PerforcePlugin::EDIT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultKeySequence(QKeySequence(tr("Alt+P,Alt+E"))); @@ -271,7 +272,7 @@ bool PerforcePlugin::initialize(const QStringList &arguments, QString *errorMess connect(m_editAction, SIGNAL(triggered()), this, SLOT(openCurrentFile())); mperforce->addAction(command); - m_addAction = new QAction(tr("Add"), this); + m_addAction = new Core::Utils::ParameterAction(tr("Add"), tr("Add \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_addAction, PerforcePlugin::ADD, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultKeySequence(QKeySequence(tr("Alt+P,Alt+A"))); @@ -279,14 +280,14 @@ bool PerforcePlugin::initialize(const QStringList &arguments, QString *errorMess connect(m_addAction, SIGNAL(triggered()), this, SLOT(addCurrentFile())); mperforce->addAction(command); - m_deleteAction = new QAction(tr("Delete"), this); + m_deleteAction = new Core::Utils::ParameterAction(tr("Delete"), tr("Delete \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_deleteAction, PerforcePlugin::DELETE_FILE, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultText(tr("Delete File")); connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(deleteCurrentFile())); mperforce->addAction(command); - m_revertAction = new QAction(tr("Revert"), this); + m_revertAction = new Core::Utils::ParameterAction(tr("Revert"), tr("Revert \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_revertAction, PerforcePlugin::REVERT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultKeySequence(QKeySequence(tr("Alt+P,Alt+R"))); @@ -299,14 +300,14 @@ bool PerforcePlugin::initialize(const QStringList &arguments, QString *errorMess command = am->registerAction(tmpaction, QLatin1String("Perforce.Sep.Edit"), globalcontext); mperforce->addAction(command); - m_diffCurrentAction = new QAction(tr("Diff Current File"), this); + m_diffCurrentAction = new Core::Utils::ParameterAction(tr("Diff Current File"), tr("Diff \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_diffCurrentAction, PerforcePlugin::DIFF_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultText(tr("Diff Current File")); connect(m_diffCurrentAction, SIGNAL(triggered()), this, SLOT(diffCurrentFile())); mperforce->addAction(command); - m_diffProjectAction = new QAction(tr("Diff Current Project/Session"), this); + m_diffProjectAction = new Core::Utils::ParameterAction(tr("Diff Current Project/Session"), tr("Diff Project \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_diffProjectAction, PerforcePlugin::DIFF_PROJECT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultKeySequence(QKeySequence(tr("Alt+P,Alt+D"))); @@ -351,7 +352,7 @@ bool PerforcePlugin::initialize(const QStringList &arguments, QString *errorMess connect(m_describeAction, SIGNAL(triggered()), this, SLOT(describeChange())); mperforce->addAction(command); - m_annotateCurrentAction = new QAction(tr("Annotate Current File"), this); + m_annotateCurrentAction = new Core::Utils::ParameterAction(tr("Annotate Current File"), tr("Annotate \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_annotateCurrentAction, PerforcePlugin::ANNOTATE_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultText(tr("Annotate Current File")); @@ -363,7 +364,7 @@ bool PerforcePlugin::initialize(const QStringList &arguments, QString *errorMess connect(m_annotateAction, SIGNAL(triggered()), this, SLOT(annotate())); mperforce->addAction(command); - m_filelogCurrentAction = new QAction(tr("Filelog Current File"), this); + m_filelogCurrentAction = new Core::Utils::ParameterAction(tr("Filelog Current File"), tr("Filelog \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = am->registerAction(m_filelogCurrentAction, PerforcePlugin::FILELOG_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); command->setDefaultKeySequence(QKeySequence(tr("Alt+P,Alt+F"))); @@ -628,40 +629,22 @@ void PerforcePlugin::filelog(const QString &fileName) void PerforcePlugin::updateActions() { - QString fileName = currentFileName(); - QString baseName = QFileInfo(fileName).fileName(); - const bool hasFile = !currentFileName().isEmpty(); - m_editAction->setEnabled(hasFile); - m_addAction->setEnabled(hasFile); - m_deleteAction->setEnabled(hasFile); - m_revertAction->setEnabled(hasFile); - m_diffCurrentAction->setEnabled(hasFile); - m_annotateCurrentAction->setEnabled(hasFile); - m_filelogCurrentAction->setEnabled(hasFile); - if (hasFile) { - m_editAction->setText(tr("Edit %1").arg(baseName)); - m_addAction->setText(tr("Add %1").arg(baseName)); - m_deleteAction->setText(tr("Delete %1").arg(baseName)); - m_revertAction->setText(tr("Revert %1").arg(baseName)); - m_diffCurrentAction->setText(tr("Diff %1").arg(baseName)); - m_annotateCurrentAction->setText(tr("Annotate %1").arg(baseName)); - m_filelogCurrentAction->setText(tr("Filelog %1").arg(baseName)); - } else { - m_editAction->setText(tr("Edit")); - m_addAction->setText(tr("Add")); - m_deleteAction->setText(tr("Delete")); - m_revertAction->setText(tr("Revert")); - m_diffCurrentAction->setText(tr("Diff")); - m_annotateCurrentAction->setText(tr("Annotate Current File")); - m_filelogCurrentAction->setText(tr("Filelog Current File")); - } + const QString fileName = currentFileName(); + const QString baseName = fileName.isEmpty() ? fileName : QFileInfo(fileName).fileName(); + + m_editAction->setParameter(baseName); + m_addAction->setParameter(baseName); + m_deleteAction->setParameter(baseName); + m_revertAction->setParameter(baseName); + m_diffCurrentAction->setParameter(baseName); + m_annotateCurrentAction->setParameter(baseName); + m_filelogCurrentAction->setParameter(baseName); + if (m_projectExplorer && m_projectExplorer->currentProject()) { - m_diffProjectAction->setEnabled(true); - m_diffProjectAction->setText(tr("Diff Project %1").arg(m_projectExplorer->currentProject()->name())); + m_diffProjectAction->setParameter(m_projectExplorer->currentProject()->name()); m_submitAction->setEnabled(true); } else { - m_diffProjectAction->setEnabled(false); - m_diffProjectAction->setText(tr("Diff Current Project/Solution")); + m_diffProjectAction->setParameter(QString()); m_submitAction->setEnabled(false); } m_diffAllAction->setEnabled(true); diff --git a/src/plugins/perforce/perforceplugin.h b/src/plugins/perforce/perforceplugin.h index 733b514dd23..042736a2dd8 100644 --- a/src/plugins/perforce/perforceplugin.h +++ b/src/plugins/perforce/perforceplugin.h @@ -51,6 +51,9 @@ QT_END_NAMESPACE namespace Core { class IEditorFactory; + namespace Utils { + class ParameterAction; + } } namespace Perforce { @@ -170,21 +173,21 @@ private: SettingsPage *m_settingsPage; QList m_editorFactories; - QAction *m_editAction; - QAction *m_addAction; - QAction *m_deleteAction; + Core::Utils::ParameterAction *m_editAction; + Core::Utils::ParameterAction *m_addAction; + Core::Utils::ParameterAction *m_deleteAction; QAction *m_openedAction; - QAction *m_revertAction; - QAction *m_diffCurrentAction; - QAction *m_diffProjectAction; + Core::Utils::ParameterAction *m_revertAction; + Core::Utils::ParameterAction *m_diffCurrentAction; + Core::Utils::ParameterAction *m_diffProjectAction; QAction *m_diffAllAction; QAction *m_resolveAction; QAction *m_submitAction; QAction *m_pendingAction; QAction *m_describeAction; - QAction *m_annotateCurrentAction; + Core::Utils::ParameterAction *m_annotateCurrentAction; QAction *m_annotateAction; - QAction *m_filelogCurrentAction; + Core::Utils::ParameterAction *m_filelogCurrentAction; QAction *m_filelogAction; QAction *m_submitCurrentLogAction; bool m_submitActionTriggered; diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index cb5edbd6c37..ee306a041d7 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -79,6 +79,7 @@ #include #include #include +#include #include #include @@ -438,7 +439,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er this, SLOT(updateRecentProjectMenu())); // unload action - m_unloadAction = new QAction(tr("Close Project"), this); + m_unloadAction = new Core::Utils::ParameterAction(tr("Close Project"), tr("Close Project \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); cmd = am->registerAction(m_unloadAction, Constants::UNLOAD, globalcontext); cmd->setAttribute(Core::Command::CA_UpdateText); cmd->setDefaultText(m_unloadAction->text()); @@ -1273,12 +1274,11 @@ void ProjectExplorerPlugin::updateActions() if (debug) qDebug()<<"BuildManager::isBuilding()"<setEnabled(m_currentProject != 0); if (m_currentProject == 0) { - m_unloadAction->setText(tr("Close Project")); + m_unloadAction->setParameter(QString()); m_buildProjectOnlyMenu->setTitle(tr("Current Project")); } else { - m_unloadAction->setText(tr("Close Project \"%1\"").arg(m_currentProject->name())); + m_unloadAction->setParameter(m_currentProject->name()); m_buildProjectOnlyMenu->setTitle(tr("Project \"%1\"").arg(m_currentProject->name())); } diff --git a/src/plugins/projectexplorer/projectexplorer.h b/src/plugins/projectexplorer/projectexplorer.h index 377cbab84c4..fc60b3129e6 100644 --- a/src/plugins/projectexplorer/projectexplorer.h +++ b/src/plugins/projectexplorer/projectexplorer.h @@ -54,6 +54,9 @@ class IFileFactory; namespace Internal { class WelcomeMode; } + namespace Utils { + class ParameterAction; + } } namespace ProjectExplorer { @@ -225,7 +228,7 @@ private: #if 0 QAction *m_loadAction; #endif - QAction *m_unloadAction; + Core::Utils::ParameterAction *m_unloadAction; QAction *m_clearSession; QAction *m_buildProjectOnlyAction; QAction *m_buildAction; diff --git a/src/plugins/projectexplorer/projectexplorersettingspage.ui b/src/plugins/projectexplorer/projectexplorersettingspage.ui index 1a1b37e16ac..d9104f52727 100644 --- a/src/plugins/projectexplorer/projectexplorersettingspage.ui +++ b/src/plugins/projectexplorer/projectexplorersettingspage.ui @@ -11,9 +11,6 @@ - - 0 - @@ -43,22 +40,22 @@ - - - - Qt::Vertical - - - - 20 - 40 - - - - + + + + Qt::Vertical + + + + 20 + 40 + + + + diff --git a/src/plugins/qt4projectmanager/qt4projectmanager.pro b/src/plugins/qt4projectmanager/qt4projectmanager.pro index 6e9f4d0e503..4c14965077c 100644 --- a/src/plugins/qt4projectmanager/qt4projectmanager.pro +++ b/src/plugins/qt4projectmanager/qt4projectmanager.pro @@ -31,7 +31,7 @@ HEADERS = qt4projectmanagerplugin.h \ deployhelper.h \ embeddedpropertiespage.h \ qt4runconfiguration.h \ - speinfo.h \ + qtmodulesinfo.h \ qt4projectconfigwidget.h \ qt4buildenvironmentwidget.h \ projectloadwizard.h \ @@ -64,7 +64,7 @@ SOURCES = qt4projectmanagerplugin.cpp \ deployhelper.cpp \ embeddedpropertiespage.cpp \ qt4runconfiguration.cpp \ - speinfo.cpp \ + qtmodulesinfo.cpp \ qt4projectconfigwidget.cpp \ qt4buildenvironmentwidget.cpp \ projectloadwizard.cpp \ diff --git a/src/plugins/qt4projectmanager/qtmodulesinfo.cpp b/src/plugins/qt4projectmanager/qtmodulesinfo.cpp new file mode 100644 index 00000000000..206fa60ca41 --- /dev/null +++ b/src/plugins/qt4projectmanager/qtmodulesinfo.cpp @@ -0,0 +1,160 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Qt Software Information (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at qt-sales@nokia.com. +** +**************************************************************************/ + +#include "qtmodulesinfo.h" +#include "qglobal.h" +#include +#include +#include +#include + +using namespace Qt4ProjectManager::Internal; + +struct item +{ + const char * const config; + const QString name; + const QString description; + bool isDefault; +}; + +typedef QVector itemVectorType; +typedef QHash itemHashType; + +const itemVectorType itemVector() +{ + static const struct item items[] = { + {"core", + QCoreApplication::translate("QtModulesInfo", "QtCore Module"), + QCoreApplication::translate("QtModulesInfo", "Core non-GUI classes used by other modules"), + true}, + {"gui", + QCoreApplication::translate("QtModulesInfo", "QtGui Module"), + QCoreApplication::translate("QtModulesInfo", "Graphical user interface components"), + true}, + {"network", + QCoreApplication::translate("QtModulesInfo", "QtNetwork Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for network programming"), + false}, + {"opengl", + QCoreApplication::translate("QtModulesInfo", "QtOpenGL Module"), + QCoreApplication::translate("QtModulesInfo", "OpenGL support classes"), + false}, + {"sql", + QCoreApplication::translate("QtModulesInfo", "QtSql Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for database integration using SQL"), + false}, + {"script", + QCoreApplication::translate("QtModulesInfo", "QtScript Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for evaluating Qt Scripts"), + false}, + {"svg", + QCoreApplication::translate("QtModulesInfo", "QtSvg Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for displaying the contents of SVG files"), + false}, + {"webkit", + QCoreApplication::translate("QtModulesInfo", "QtWebKit Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for displaying and editing Web content"), + false}, + {"xml", + QCoreApplication::translate("QtModulesInfo", "QtXml Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for handling XML"), + false}, + {"xmlpatterns", + QCoreApplication::translate("QtModulesInfo", "QtXmlPatterns Module"), + QCoreApplication::translate("QtModulesInfo", "An XQuery/XPath engine for XML and custom data models"), + false}, + {"phonon", + QCoreApplication::translate("QtModulesInfo", "Phonon Module"), + QCoreApplication::translate("QtModulesInfo", "Multimedia framework classes"), + false}, + {"qt3support", + QCoreApplication::translate("QtModulesInfo", "Qt3Support Module"), + QCoreApplication::translate("QtModulesInfo", "Classes that ease porting from Qt 3 to Qt 4"), + false}, + {"testlib", + QCoreApplication::translate("QtModulesInfo", "QtTest Module"), + QCoreApplication::translate("QtModulesInfo", "Tool classes for unit testing"), + false}, + {"dbus", + QCoreApplication::translate("QtModulesInfo", "QtDBus Module"), + QCoreApplication::translate("QtModulesInfo", "Classes for Inter-Process Communication using the D-Bus", + false)} + }; + const uint itemsCount = sizeof items / sizeof items[0]; + itemVectorType result; + result.reserve(itemsCount); + for (int i = 0; i < itemsCount; i++) + result.append(items + i); + return result; +} + +Q_GLOBAL_STATIC_WITH_INITIALIZER(itemVectorType, staticItemVector, { + *x = itemVector(); +}); + +Q_GLOBAL_STATIC_WITH_INITIALIZER(QStringList, staticModulesList, { + const itemVectorType * const itemVector = staticItemVector(); + for (int i = 0; i < itemVector->count(); i++) + x->append(QString::fromLatin1(itemVector->at(i)->config)); +}); + +Q_GLOBAL_STATIC_WITH_INITIALIZER(itemHashType, staticItemHash, { + const itemVectorType * const itemVector = staticItemVector(); + for (int i = 0; i < itemVector->count(); i++) + x->insert(QString::fromLatin1(itemVector->at(i)->config), itemVector->at(i)); +}); + +QStringList QtModulesInfo::modules() +{ + return *staticModulesList(); +} + +static inline const item *itemForModule(const QString &module) +{ + return staticItemHash()->value(module.toLatin1().data()); +} + +QString QtModulesInfo::moduleName(const QString &module) +{ + const item * const i = itemForModule(module); + return i?i->name:QString(); +} + +QString QtModulesInfo::moduleDescription(const QString &module) +{ + const item * const i = itemForModule(module); + return i?i->description:QString(); +} + +bool QtModulesInfo::moduleIsDefault(const QString &module) +{ + const item * const i = itemForModule(module); + return i?i->isDefault:false; +} diff --git a/src/plugins/qt4projectmanager/qtmodulesinfo.h b/src/plugins/qt4projectmanager/qtmodulesinfo.h new file mode 100644 index 00000000000..f4cc37f9a54 --- /dev/null +++ b/src/plugins/qt4projectmanager/qtmodulesinfo.h @@ -0,0 +1,49 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Qt Software Information (qt-info@nokia.com) +** +** Commercial Usage +** +** Licensees holding valid Qt Commercial licenses may use this file in +** accordance with the Qt Commercial License Agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Nokia. +** +** GNU Lesser General Public License Usage +** +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** If you are unsure which license is appropriate for your use, please +** contact the sales department at qt-sales@nokia.com. +** +**************************************************************************/ +#ifndef QTMODULESINFO_H +#define QTMODULESINFO_H + +#include + +namespace Qt4ProjectManager { +namespace Internal { + +class QtModulesInfo +{ +public: + static QStringList modules(); + static QString moduleName(const QString &module); + static QString moduleDescription(const QString &module); + static bool moduleIsDefault(const QString &module); +}; + +} // namespace Internal +} // namespace Qt4ProjectManager + +#endif // QTMODULESINFO_H diff --git a/src/plugins/qt4projectmanager/speinfo.cpp b/src/plugins/qt4projectmanager/speinfo.cpp deleted file mode 100644 index 3367eea3137..00000000000 --- a/src/plugins/qt4projectmanager/speinfo.cpp +++ /dev/null @@ -1,803 +0,0 @@ -/************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** Commercial Usage -** -** Licensees holding valid Qt Commercial licenses may use this file in -** accordance with the Qt Commercial License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Nokia. -** -** GNU Lesser General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** If you are unsure which license is appropriate for your use, please -** contact the sales department at qt-sales@nokia.com. -** -**************************************************************************/ - -#include "speinfo.h" - -#include -#include -#include - -using namespace Qt4ProjectManager::Internal; - -bool SPEInfo::m_listsInitialized = false; -QList SPEInfo::m_configurationList; -QList SPEInfo::m_platformList; -QList SPEInfo::m_variableList; -QList SPEInfo::m_qtmoduleList; -QList SPEInfo::m_templateList; -QList SPEInfo::m_operatorList; - -QHash ,SPEInfoItem*> SPEInfo::m_itemHash; - -const QString SPEInfoItem::keyType("valuetype"); -const QString SPEInfoItem::valueFile("file"); -const QString SPEInfoItem::valuePath("path"); -const QString SPEInfoItem::keyIncludedByDefault("includedbydefault"); -const QString SPEInfoItem::keyImageFileName("imagefilename"); - -// Configurations (Debug, Release, ...) -class InfoItemConfigurationCross : public SPEInfoItem -{ -public: - InfoItemConfigurationCross(): SPEInfoItem("", Configuration) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Debug and Release"); } -}; - -class InfoItemConfigurationDebug : public SPEInfoItem -{ -public: - InfoItemConfigurationDebug(): SPEInfoItem("debug", Configuration) {} - QString name() const {return QCoreApplication::translate("SimpleProEditor", "Debug specific");} -}; - -class InfoItemConfigurationRelease : public SPEInfoItem -{ -public: - InfoItemConfigurationRelease(): SPEInfoItem("release", Configuration) {} - QString name() const {return QCoreApplication::translate("SimpleProEditor", "Release specific");} -}; - - -// Platforms (Windows, Mac, ...) -class InfoItemPlatformCross : public SPEInfoItem -{ -public: - InfoItemPlatformCross(): SPEInfoItem("", Platform) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "All platforms"); } -}; - -class InfoItemPlatformWindows : public SPEInfoItem -{ -public: - InfoItemPlatformWindows(): SPEInfoItem("win32", Platform) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "MS Windows specific"); } -}; - -class InfoItemPlatformUnix : public SPEInfoItem -{ -public: - InfoItemPlatformUnix(): SPEInfoItem("unix", Platform) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Linux/Unix specific"); } -}; - -class InfoItemPlatformOSX : public SPEInfoItem -{ -public: - InfoItemPlatformOSX(): SPEInfoItem("macx", Platform) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Mac OSX specific"); } -}; - - -// Variables (Target options, Libraries, Defines, ...) -class InfoItemVariableTargetOptions : public SPEInfoItem -{ -public: - InfoItemVariableTargetOptions(): SPEInfoItem("TEMPLATE", Variable) - { - m_data.insert(keyImageFileName, ":/variableimages/images/target.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Target Options");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Type and name of the target."); - } -}; - -class InfoItemVariableDefines : public SPEInfoItem -{ -public: - InfoItemVariableDefines(): SPEInfoItem("DEFINES", Variable) - { - m_data.insert(keyImageFileName, ":/variableimages/images/defines.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Preprocessor Definitions");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Setting of the preprocessor definitions."); - } -}; - -class InfoItemVariableIncludePath : public SPEInfoItem -{ -public: - InfoItemVariableIncludePath(): SPEInfoItem("INCLUDEPATH", Variable) - { - m_data.insert(keyType, valuePath); - m_data.insert(keyImageFileName, ":/variableimages/images/includes.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Include path"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Setting of the pathes where the header files are located."); - } -}; - -class InfoItemVariableLibs : public SPEInfoItem -{ -public: - InfoItemVariableLibs(): SPEInfoItem("LIBS", Variable) - { - m_data.insert(keyImageFileName, ":/variableimages/images/libs.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Libraries");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Defining the libraries to link the target against and the pathes where these are located."); - } -}; - -class InfoItemVariableSources : public SPEInfoItem -{ -public: - InfoItemVariableSources(): SPEInfoItem("SOURCES", Variable) - { - m_data.insert(keyType, valueFile); - m_data.insert(keyImageFileName, ":/variableimages/images/sources.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Source Files");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - ""); - } -}; - -class InfoItemVariableHeaders : public SPEInfoItem -{ -public: - InfoItemVariableHeaders(): SPEInfoItem("HEADERS", Variable) - { - m_data.insert(keyType, valueFile); - m_data.insert(keyImageFileName, ":/variableimages/images/headers.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Header Files");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - ""); - } -}; - -class InfoItemVariableForms : public SPEInfoItem -{ -public: - InfoItemVariableForms(): SPEInfoItem("FORMS", Variable) - { - m_data.insert(keyType, valueFile); - m_data.insert(keyImageFileName, ":/variableimages/images/forms.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Forms");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - ""); - } -}; - -class InfoItemVariableQtModules : public SPEInfoItem -{ -public: - InfoItemVariableQtModules(): SPEInfoItem("QT", Variable) - { - m_data.insert(keyImageFileName, ":/variableimages/images/qtmodules.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Qt Modules");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Setting up which of the Qt modules will be used in the target application."); - } -}; - -class InfoItemVariableResources : public SPEInfoItem -{ -public: - InfoItemVariableResources(): SPEInfoItem("RESOURCES", Variable) - { - m_data.insert(keyType, valueFile); - m_data.insert(keyImageFileName, ":/variableimages/images/resources.png"); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Resource files");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - ""); - } -}; - -class InfoItemVariableTarget : public SPEInfoItem -{ -public: - InfoItemVariableTarget(): SPEInfoItem("TARGET", Variable) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Target name");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "The name of the resulting target."); - } -}; - -class InfoItemVariableConfig : public SPEInfoItem -{ -public: - InfoItemVariableConfig(): SPEInfoItem("CONFIG", Variable) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Configuration");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Configuration."); - } -}; - -class InfoItemVariableDestdir : public SPEInfoItem -{ -public: - InfoItemVariableDestdir(): SPEInfoItem("DESTDIR", Variable) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Destination directory");} - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Where the resulting target will be created."); - } -}; - - -// Qt modules -class InfoItemModulesCore : public SPEInfoItem -{ -public: - InfoItemModulesCore(): SPEInfoItem("core", QtModule) - { - m_data.insert(keyIncludedByDefault, true); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtCore Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Core non-GUI classes used by other modules"); - } -}; - -class InfoItemModulesGui : public SPEInfoItem -{ -public: - InfoItemModulesGui(): SPEInfoItem("gui", QtModule) - { - m_data.insert(keyIncludedByDefault, true); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtGui Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Graphical user interface components"); - } -}; - -class InfoItemModulesNetwork : public SPEInfoItem -{ -public: - InfoItemModulesNetwork(): SPEInfoItem("network", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtNetwork Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for network programming"); - } -}; - -class InfoItemModulesOpenGL : public SPEInfoItem -{ -public: - InfoItemModulesOpenGL(): SPEInfoItem("opengl", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtOpenGL Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "OpenGL support classes"); - } -}; - -class InfoItemModulesSql : public SPEInfoItem -{ -public: - InfoItemModulesSql(): SPEInfoItem("sql", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtSql Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for database integration using SQL"); - } -}; - -class InfoItemModulesScript : public SPEInfoItem -{ -public: - InfoItemModulesScript(): SPEInfoItem("script", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtScript Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for evaluating Qt Scripts"); - } -}; - -class InfoItemModulesSvg : public SPEInfoItem -{ -public: - InfoItemModulesSvg(): SPEInfoItem("svg", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtSvg Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for displaying the contents of SVG files"); - } -}; - -class InfoItemModulesWebKit : public SPEInfoItem -{ -public: - InfoItemModulesWebKit(): SPEInfoItem("webkit", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtWebKit Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for displaying and editing Web content"); - } -}; - -class InfoItemModulesXml : public SPEInfoItem -{ -public: - InfoItemModulesXml(): SPEInfoItem("xml", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtXml Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for handling XML"); - } -}; - -class InfoItemModulesXmlPatterns : public SPEInfoItem -{ -public: - InfoItemModulesXmlPatterns(): SPEInfoItem("xmlpatterns", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtXmlPatterns Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "An XQuery/XPath engine for XML and custom data models"); - } -}; - -class InfoItemModulesPhonon : public SPEInfoItem -{ -public: - InfoItemModulesPhonon(): SPEInfoItem("phonon", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Phonon Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Multimedia framework classes"); - } -}; - -class InfoItemModulesQt3Support : public SPEInfoItem -{ -public: - InfoItemModulesQt3Support(): SPEInfoItem("qt3support", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Qt3Support Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes that ease porting from Qt 3 to Qt 4"); - } -}; - -class InfoItemModulesTest : public SPEInfoItem -{ -public: - InfoItemModulesTest(): SPEInfoItem("testlib", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtTest Module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Tool classes for unit testing"); - } -}; - -class InfoItemModulesDBus : public SPEInfoItem -{ -public: - InfoItemModulesDBus(): SPEInfoItem("dbus", QtModule) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "QtDBus module"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Classes for Inter-Process Communication using the D-Bus"); - } -}; - - -// Target templates -class InfoItemTemplatesApp : public SPEInfoItem -{ -public: - InfoItemTemplatesApp(): SPEInfoItem("app", Template) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Application"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Create a standalone application"); - } -}; - -class InfoItemTemplatesDynamicLib : public SPEInfoItem -{ -public: - InfoItemTemplatesDynamicLib(): SPEInfoItem("lib", Template) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Dynamic Library"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Create a dynamic library for usage in other applications"); - } -}; - -class InfoItemTemplatesStaticLib : public SPEInfoItem -{ -public: - InfoItemTemplatesStaticLib(): SPEInfoItem("staticlib", Template) - { - m_data.insert(keyIncludedByDefault, false); - } - - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Static Library"); } - QString description() const - { - return QCoreApplication::translate("SimpleProEditor", - "Create a static library for usage in other applications"); - } -}; - -// Variable operators -class InfoItemOperatorsAdd : public SPEInfoItem -{ -public: - InfoItemOperatorsAdd(): SPEInfoItem("+=", Operator) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Add Operator"); } -}; - -class InfoItemOperatorsRemove : public SPEInfoItem -{ -public: - InfoItemOperatorsRemove(): SPEInfoItem("-=", Operator) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Remove Operator"); } -}; - -class InfoItemOperatorsReplace : public SPEInfoItem -{ -public: - InfoItemOperatorsReplace(): SPEInfoItem("~=", Operator) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Replace Operator"); } -}; - -class InfoItemOperatorsSet : public SPEInfoItem -{ -public: - InfoItemOperatorsSet(): SPEInfoItem("=", Operator) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Set Operator"); } -}; - -class InfoItemOperatorsUniqueAdd : public SPEInfoItem -{ -public: - InfoItemOperatorsUniqueAdd(): SPEInfoItem("*=", Operator) {} - QString name() const { return QCoreApplication::translate("SimpleProEditor", "Unique Add Operator"); } -}; - - -SPEInfoItem::SPEInfoItem(const QString &id, InfoKind kind) -: m_id(id) -, m_infoKind(kind) -, m_parentItem(0) -{ -} - -QString SPEInfoItem::name() const -{ - return ""; -} - -QString SPEInfoItem::description() const -{ - return ""; -} - -QVariant SPEInfoItem::data(const QString &key) const -{ - return m_data.value(key); -} - -const SPEInfoItem *SPEInfoItem::parentItem() const -{ - return m_parentItem; -} - -void SPEInfoItem::setParentItem(const SPEInfoItem *parentItem) -{ - m_parentItem = parentItem; -} - -bool SPEInfoItem::isAncestorOf(const SPEInfoItem *successor) const -{ - const SPEInfoItem *ancestorCursor = successor; - - while ((ancestorCursor = ancestorCursor->parentItem()) != NULL) - if (ancestorCursor == this) - return true; - - return false; -} - -QString SPEInfoItem::id() const -{ - return m_id; -} - -SPEInfoItem::InfoKind SPEInfoItem::infoKind() const -{ - return m_infoKind; -} - -SPEInfo::~SPEInfo() -{ - deleteLists(); -} - -const QList *SPEInfo::list(SPEInfoItem::InfoKind kind) -{ - if (!m_listsInitialized) - initializeLists(); - return - kind == SPEInfoItem::Configuration?&m_configurationList - :kind == SPEInfoItem::Platform?&m_platformList - :kind == SPEInfoItem::Variable?&m_variableList - :kind == SPEInfoItem::QtModule?&m_qtmoduleList - :kind == SPEInfoItem::Template?&m_templateList - :/*kind == SPEInfoItem::Operator?*/&m_operatorList - ; -} - -const SPEInfoItem *SPEInfo::defaultInfoOfKind(SPEInfoItem::InfoKind kind) -{ - return list(kind)->at(0); -} - -void SPEInfo::addListToHash(const QList &list) -{ - foreach (SPEInfoItem *item, list) - m_itemHash.insert(qMakePair(item->infoKind(), item->id()), item); -} - -void SPEInfo::initializeLists() -{ - InfoItemConfigurationCross *infoItemConfigurationCross = new InfoItemConfigurationCross; - InfoItemConfigurationDebug *infoItemConfigurationDebug = new InfoItemConfigurationDebug; - infoItemConfigurationDebug->setParentItem(infoItemConfigurationCross); - InfoItemConfigurationRelease *infoItemConfigurationRelease = new InfoItemConfigurationRelease; - infoItemConfigurationRelease->setParentItem(infoItemConfigurationCross); - m_configurationList - << infoItemConfigurationCross - << infoItemConfigurationDebug - << infoItemConfigurationRelease; - addListToHash(m_configurationList); - - InfoItemPlatformCross *infoItemPlatformCross = new InfoItemPlatformCross; - InfoItemPlatformWindows *infoItemPlatformWindows = new InfoItemPlatformWindows; - infoItemPlatformWindows->setParentItem(infoItemPlatformCross); - InfoItemPlatformUnix *infoItemPlatformUnix = new InfoItemPlatformUnix; - infoItemPlatformUnix->setParentItem(infoItemPlatformCross); - InfoItemPlatformOSX *infoItemPlatformOSX = new InfoItemPlatformOSX; - infoItemPlatformOSX->setParentItem(infoItemPlatformUnix); - m_platformList - << infoItemPlatformCross - << infoItemPlatformWindows - << infoItemPlatformUnix - << infoItemPlatformOSX; - addListToHash(m_platformList); - - m_variableList - << new InfoItemVariableTargetOptions - << new InfoItemVariableDefines - << new InfoItemVariableLibs - << new InfoItemVariableIncludePath - << new InfoItemVariableSources - << new InfoItemVariableHeaders - << new InfoItemVariableForms - << new InfoItemVariableQtModules - << new InfoItemVariableResources - << new InfoItemVariableTarget - << new InfoItemVariableConfig - << new InfoItemVariableDestdir; - addListToHash(m_variableList); - - m_qtmoduleList - << new InfoItemModulesCore - << new InfoItemModulesGui - << new InfoItemModulesNetwork - << new InfoItemModulesOpenGL - << new InfoItemModulesScript - << new InfoItemModulesSql - << new InfoItemModulesSvg - << new InfoItemModulesWebKit - << new InfoItemModulesXml - << new InfoItemModulesXmlPatterns - << new InfoItemModulesPhonon - << new InfoItemModulesQt3Support - << new InfoItemModulesTest - << new InfoItemModulesDBus; - addListToHash(m_qtmoduleList); - - m_templateList - << new InfoItemTemplatesApp - << new InfoItemTemplatesDynamicLib - << new InfoItemTemplatesStaticLib; - addListToHash(m_templateList); - - m_operatorList - << new InfoItemOperatorsAdd - << new InfoItemOperatorsRemove - << new InfoItemOperatorsReplace - << new InfoItemOperatorsSet - << new InfoItemOperatorsUniqueAdd; - addListToHash(m_operatorList); - - m_listsInitialized = true; -} - -void SPEInfo::deleteLists() -{ - m_itemHash.clear(); - - static QList *lists[] = { - &m_configurationList, - &m_platformList, - &m_variableList, - &m_qtmoduleList, - &m_templateList, - &m_operatorList - }; - - for (size_t i = 0; i < sizeof(lists)/sizeof(lists[0]); i++) { - qDeleteAll(*lists[i]); - lists[i]->clear(); - } - - m_listsInitialized = false; -} - -const SPEInfoItem *SPEInfo::infoOfKindForId(SPEInfoItem::InfoKind kind, - const QString &id, const SPEInfoItem *defaultInfoItem) -{ - QPair keyPair = qMakePair(kind, id); - return m_itemHash.contains(keyPair)?m_itemHash.value(keyPair):defaultInfoItem; -} - -const SPEInfoItem *SPEInfo::platformInfoForId(const QString &id) -{ - return infoOfKindForId(SPEInfoItem::Platform, id, SPEInfo::defaultInfoOfKind(SPEInfoItem::Platform)); -} - -const SPEInfoItem *SPEInfo::configurationInfoForId(const QString &id) -{ - return infoOfKindForId(SPEInfoItem::Configuration, id, SPEInfo::defaultInfoOfKind(SPEInfoItem::Configuration)); -} - -static SPEInfo speInfoInstance; // it's destructor will call deleteLists() diff --git a/src/plugins/qt4projectmanager/speinfo.h b/src/plugins/qt4projectmanager/speinfo.h deleted file mode 100644 index a4395212916..00000000000 --- a/src/plugins/qt4projectmanager/speinfo.h +++ /dev/null @@ -1,113 +0,0 @@ -/************************************************************************** -** -** This file is part of Qt Creator -** -** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -** -** Contact: Qt Software Information (qt-info@nokia.com) -** -** Commercial Usage -** -** Licensees holding valid Qt Commercial licenses may use this file in -** accordance with the Qt Commercial License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Nokia. -** -** GNU Lesser General Public License Usage -** -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** If you are unsure which license is appropriate for your use, please -** contact the sales department at qt-sales@nokia.com. -** -**************************************************************************/ - -#ifndef SIMPLEPROEDITORINFO_H -#define SIMPLEPROEDITORINFO_H - -#include -#include -#include - -namespace Qt4ProjectManager { -namespace Internal { - -class SPEInfoItem -{ -public: - enum InfoKind { - Configuration, - Platform, - Variable, - QtModule, - Template, - Operator - }; - - SPEInfoItem(const QString &id, InfoKind kind); - virtual ~SPEInfoItem() {} - - QString id() const; - InfoKind infoKind() const; - virtual QString name() const; - virtual QString description() const; - QVariant data(const QString &key) const; - const SPEInfoItem *parentItem() const; - void setParentItem(const SPEInfoItem *parentItem); - - bool isAncestorOf(const SPEInfoItem *ancestor) const; - - static const QString keyType; - static const QString valueFile; - static const QString valuePath; - static const QString keyIncludedByDefault; - static const QString keyImageFileName; - -protected: - QHash m_data; - -private: - QString m_id; - InfoKind m_infoKind; - QPixmap m_image; - const class SPEInfoItem *m_parentItem; -}; - -class SPEInfo -{ -public: - ~SPEInfo(); - - static const QList *list(SPEInfoItem::InfoKind kind); - static const SPEInfoItem *defaultInfoOfKind(SPEInfoItem::InfoKind kind); - static const SPEInfoItem *platformInfoForId(const QString &id); - static const SPEInfoItem *configurationInfoForId(const QString &id); - static const SPEInfoItem *infoOfKindForId(SPEInfoItem::InfoKind kind, - const QString &id, const SPEInfoItem *defaultInfoItem = NULL); - -private: - static void addListToHash(const QList &list); - static void initializeLists(); - static void deleteLists(); - - static QList m_configurationList; - static QList m_platformList; - static QList m_variableList; - static QList m_qtmoduleList; - static QList m_templateList; - static QList m_operatorList; - - static QHash ,SPEInfoItem* > m_itemHash; - - static bool m_listsInitialized; -}; - -} // namespace Internal -} // namespace Qt4ProjectManager - -#endif // SIMPLEPROEDITORINFO_H diff --git a/src/plugins/qt4projectmanager/wizards/modulespage.cpp b/src/plugins/qt4projectmanager/wizards/modulespage.cpp index cc9216f5939..639f6c6d7f0 100644 --- a/src/plugins/qt4projectmanager/wizards/modulespage.cpp +++ b/src/plugins/qt4projectmanager/wizards/modulespage.cpp @@ -29,11 +29,12 @@ #include "modulespage.h" -#include "speinfo.h" +#include "qtmodulesinfo.h" #include #include +#include #include #include @@ -58,19 +59,19 @@ ModulesPage::ModulesPage(QWidget *parent) QGridLayout *layout = new QGridLayout; - const QList infoItemsList = *SPEInfo::list(SPEInfoItem::QtModule); - int itemId = 0; - int rowsCount = (infoItemsList.count() + 1) / 2; - foreach (const SPEInfoItem *infoItem, infoItemsList) { - QCheckBox *moduleCheckBox = new QCheckBox(infoItem->name()); - moduleCheckBox->setToolTip(infoItem->description()); - moduleCheckBox->setWhatsThis(infoItem->description()); - registerField(infoItem->id(), moduleCheckBox); - int row = itemId % rowsCount; - int column = itemId / rowsCount; + const QStringList &modulesList = QtModulesInfo::modules(); + int moduleId = 0; + int rowsCount = (modulesList.count() + 1) / 2; + foreach (const QString &module, modulesList) { + QCheckBox *moduleCheckBox = new QCheckBox(QtModulesInfo::moduleName(module)); + moduleCheckBox->setToolTip(QtModulesInfo::moduleDescription(module)); + moduleCheckBox->setWhatsThis(QtModulesInfo::moduleDescription(module)); + registerField(module, moduleCheckBox); + int row = moduleId % rowsCount; + int column = moduleId / rowsCount; layout->addWidget(moduleCheckBox, row, column); - m_moduleCheckBoxMap[infoItem->id()] = moduleCheckBox; - itemId++; + m_moduleCheckBoxMap[module] = moduleCheckBox; + moduleId++; } vlayout->addLayout(layout); @@ -80,10 +81,10 @@ ModulesPage::ModulesPage(QWidget *parent) // Return the key that goes into the Qt config line for a module QString ModulesPage::idOfModule(const QString &module) { - const QList infoItemsList = *SPEInfo::list(SPEInfoItem::QtModule); - foreach (const SPEInfoItem *infoItem, infoItemsList) - if (infoItem->name().startsWith(module)) - return infoItem->id(); + const QStringList &moduleIdList = QtModulesInfo::modules(); + foreach (const QString &id, moduleIdList) + if (QtModulesInfo::moduleName(id).startsWith(module)) + return id; return QString(); } @@ -114,13 +115,10 @@ void ModulesPage::setModuleEnabled(const QString &module, bool enabled) const QString ModulesPage::modules(bool selected) const { QStringList modules; - - const QList infoItemsList = *SPEInfo::list(SPEInfoItem::QtModule); - foreach (const SPEInfoItem *infoItem, infoItemsList) { - if (selected != infoItem->data(SPEInfoItem::keyIncludedByDefault).toBool() - && selected == field(infoItem->id()).toBool()) - modules << infoItem->id(); + foreach (const QString &module, QtModulesInfo::modules()) { + if (selected != QtModulesInfo::moduleIsDefault(module) + && selected == field(module).toBool()) + modules << module; } - return modules.join(QString(QLatin1Char(' '))); } diff --git a/src/plugins/quickopen/settingspage.ui b/src/plugins/quickopen/settingspage.ui index f9145404d23..06d3116f08a 100644 --- a/src/plugins/quickopen/settingspage.ui +++ b/src/plugins/quickopen/settingspage.ui @@ -13,59 +13,68 @@ Configure Filters - - - - - + + + + + Configure Filters + + + + + + + + + + + + + + Add + + + + + + + false + + + Remove + + + + + + + false + + + Edit + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + - - - - - - Add - - - - - - - false - - - Remove - - - - - - - false - - - Edit - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - - + diff --git a/src/plugins/subversion/subversionplugin.cpp b/src/plugins/subversion/subversionplugin.cpp index 3eae46896bc..de1e01d26fb 100644 --- a/src/plugins/subversion/subversionplugin.cpp +++ b/src/plugins/subversion/subversionplugin.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include #include @@ -320,7 +321,7 @@ bool SubversionPlugin::initialize(const QStringList &arguments, QString *errorMe globalcontext << core->uniqueIDManager()->uniqueIdentifier(C_GLOBAL); Core::Command *command; - m_addAction = new QAction(tr("Add"), this); + m_addAction = new Core::Utils::ParameterAction(tr("Add"), tr("Add \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_addAction, SubversionPlugin::ADD, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); @@ -330,14 +331,14 @@ bool SubversionPlugin::initialize(const QStringList &arguments, QString *errorMe connect(m_addAction, SIGNAL(triggered()), this, SLOT(addCurrentFile())); subversionMenu->addAction(command); - m_deleteAction = new QAction(tr("Delete"), this); + m_deleteAction = new Core::Utils::ParameterAction(tr("Delete"), tr("Delete \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_deleteAction, SubversionPlugin::DELETE_FILE, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(deleteCurrentFile())); subversionMenu->addAction(command); - m_revertAction = new QAction(tr("Revert"), this); + m_revertAction = new Core::Utils::ParameterAction(tr("Revert"), tr("Revert \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_revertAction, SubversionPlugin::REVERT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); @@ -352,7 +353,7 @@ bool SubversionPlugin::initialize(const QStringList &arguments, QString *errorMe connect(m_diffProjectAction, SIGNAL(triggered()), this, SLOT(diffProject())); subversionMenu->addAction(command); - m_diffCurrentAction = new QAction(tr("Diff Current File"), this); + m_diffCurrentAction = new Core::Utils::ParameterAction(tr("Diff Current File"), tr("Diff \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_diffCurrentAction, SubversionPlugin::DIFF_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); @@ -370,7 +371,7 @@ bool SubversionPlugin::initialize(const QStringList &arguments, QString *errorMe connect(m_commitAllAction, SIGNAL(triggered()), this, SLOT(startCommitAll())); subversionMenu->addAction(command); - m_commitCurrentAction = new QAction(tr("Commit Current File"), this); + m_commitCurrentAction = new Core::Utils::ParameterAction(tr("Commit Current File"), tr("Commit \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_commitCurrentAction, SubversionPlugin::COMMIT_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); @@ -382,7 +383,7 @@ bool SubversionPlugin::initialize(const QStringList &arguments, QString *errorMe subversionMenu->addAction(createSeparator(this, ami, SubversionPlugin::SEPARATOR2, globalcontext)); - m_filelogCurrentAction = new QAction(tr("Filelog Current File"), this); + m_filelogCurrentAction = new Core::Utils::ParameterAction(tr("Filelog Current File"), tr("Filelog \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_filelogCurrentAction, SubversionPlugin::FILELOG_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); @@ -390,7 +391,7 @@ bool SubversionPlugin::initialize(const QStringList &arguments, QString *errorMe SLOT(filelogCurrentFile())); subversionMenu->addAction(command); - m_annotateCurrentAction = new QAction(tr("Annotate Current File"), this); + m_annotateCurrentAction = new Core::Utils::ParameterAction(tr("Annotate Current File"), tr("Annotate \"%1\""), Core::Utils::ParameterAction::EnabledWithParameter, this); command = ami->registerAction(m_annotateCurrentAction, SubversionPlugin::ANNOTATE_CURRENT, globalcontext); command->setAttribute(Core::Command::CA_UpdateText); @@ -549,32 +550,21 @@ SubversionSubmitEditor *SubversionPlugin::openSubversionSubmitEditor(const QStri void SubversionPlugin::updateActions() { - const QString fileName = currentFileName(); - const bool hasFile = !fileName.isEmpty(); - - m_addAction->setEnabled(hasFile); - m_deleteAction->setEnabled(hasFile); - m_revertAction->setEnabled(hasFile); m_diffProjectAction->setEnabled(true); - m_diffCurrentAction->setEnabled(hasFile); m_commitAllAction->setEnabled(true); - m_commitCurrentAction->setEnabled(hasFile); - m_filelogCurrentAction->setEnabled(hasFile); - m_annotateCurrentAction->setEnabled(hasFile); m_statusAction->setEnabled(true); m_describeAction->setEnabled(true); - QString baseName; - if (hasFile) - baseName = QFileInfo(fileName).fileName(); + const QString fileName = currentFileName(); + const QString baseName = fileName.isEmpty() ? fileName : QFileInfo(fileName).fileName(); - m_addAction->setText(tr("Add %1").arg(baseName)); - m_deleteAction->setText(tr("Delete %1").arg(baseName)); - m_revertAction->setText(tr("Revert %1").arg(baseName)); - m_diffCurrentAction->setText(tr("Diff %1").arg(baseName)); - m_commitCurrentAction->setText(tr("Commit %1").arg(baseName)); - m_filelogCurrentAction->setText(tr("Filelog %1").arg(baseName)); - m_annotateCurrentAction->setText(tr("Annotate %1").arg(baseName)); + m_addAction->setParameter(baseName); + m_deleteAction->setParameter(baseName); + m_revertAction->setParameter(baseName); + m_diffCurrentAction->setParameter(baseName); + m_commitCurrentAction->setParameter(baseName); + m_filelogCurrentAction->setParameter(baseName); + m_annotateCurrentAction->setParameter(baseName); } void SubversionPlugin::addCurrentFile() diff --git a/src/plugins/subversion/subversionplugin.h b/src/plugins/subversion/subversionplugin.h index 1611db8f2be..071b2f9f852 100644 --- a/src/plugins/subversion/subversionplugin.h +++ b/src/plugins/subversion/subversionplugin.h @@ -52,6 +52,9 @@ QT_END_NAMESPACE namespace Core { class IEditorFactory; class IVersionControl; + namespace Utils { + class ParameterAction; + } } namespace ProjectExplorer { @@ -151,15 +154,15 @@ private: SubversionOutputWindow *m_subversionOutputWindow; ProjectExplorer::ProjectExplorerPlugin *m_projectExplorer; - QAction *m_addAction; - QAction *m_deleteAction; - QAction *m_revertAction; + Core::Utils::ParameterAction *m_addAction; + Core::Utils::ParameterAction *m_deleteAction; + Core::Utils::ParameterAction *m_revertAction; QAction *m_diffProjectAction; - QAction *m_diffCurrentAction; + Core::Utils::ParameterAction *m_diffCurrentAction; QAction *m_commitAllAction; - QAction *m_commitCurrentAction; - QAction *m_filelogCurrentAction; - QAction *m_annotateCurrentAction; + Core::Utils::ParameterAction *m_commitCurrentAction; + Core::Utils::ParameterAction *m_filelogCurrentAction; + Core::Utils::ParameterAction *m_annotateCurrentAction; QAction *m_statusAction; QAction *m_updateProjectAction; QAction *m_describeAction; diff --git a/src/plugins/texteditor/basetextdocument.cpp b/src/plugins/texteditor/basetextdocument.cpp index 55416636d28..7dcc046082e 100644 --- a/src/plugins/texteditor/basetextdocument.cpp +++ b/src/plugins/texteditor/basetextdocument.cpp @@ -135,11 +135,7 @@ bool BaseTextDocument::isReadOnly() const return true; if (m_fileName.isEmpty()) //have no corresponding file, so editing is ok return false; - - const QFileInfo fi(m_fileName); - return m_fileIsReadOnly; - } bool BaseTextDocument::isModified() const diff --git a/src/plugins/vcsbase/vcsbasesettingspage.ui b/src/plugins/vcsbase/vcsbasesettingspage.ui index 0d8b3cd74ab..50aa9cf94bd 100644 --- a/src/plugins/vcsbase/vcsbasesettingspage.ui +++ b/src/plugins/vcsbase/vcsbasesettingspage.ui @@ -12,120 +12,125 @@ - - - - - - - - - Prompt to submit - - - - - - - - - Wrap submit message at: - - - - - - - false - - - 40 - - - 200 - - - 72 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - - - - - An executable which is called with the submit message in a temporary file as first argument. It should return with an exit != 0 and a message on standard error to indicate failure. - - - Submit message check script: - - - - - - - - - - A file listing user names and email addresses in a 4-column mailmap format: + + + Common + + + + + + + + + + Prompt to submit + + + + + + + + + Wrap submit message at: + + + + + + + false + + + 40 + + + 200 + + + 72 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + An executable which is called with the submit message in a temporary file as first argument. It should return with an exit != 0 and a message on standard error to indicate failure. + + + Submit message check script: + + + + + + + + + + A file listing user names and email addresses in a 4-column mailmap format: name <email> alias <email> - - - User/alias configuration file: - - - - - - - - - - A simple file containing lines with field names like "Reviewed-By:" which will be added below the submit editor. - - - User fields configuration file: - - - - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + + + User/alias configuration file: + + + + + + + + + + A simple file containing lines with field names like "Reviewed-By:" which will be added below the submit editor. + + + User fields configuration file: + + + + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + +