diff --git a/.gitignore b/.gitignore index c5566d40fa3..38c2d41a532 100644 --- a/.gitignore +++ b/.gitignore @@ -72,7 +72,7 @@ doc/pluginhowto/html/* # Binaries # -------- bin/*.dll -bin/qtcreator.bin +bin/qtcreator bin/qtcreator_process_stub* bin/qtcreator.exe share/doc/qtcreator/qtcreator.qch diff --git a/doc/examples/batteryindicator/main.cpp b/doc/examples/batteryindicator/main.cpp index 2674f5de173..4d85d5cdc76 100644 --- a/doc/examples/batteryindicator/main.cpp +++ b/doc/examples/batteryindicator/main.cpp @@ -5,11 +5,14 @@ int main(int argc, char *argv[]) { QApplication a(argc, argv); BatteryIndicator w; + +//! [0] #if defined(Q_WS_S60) w.showMaximized(); #else w.show(); #endif +//! [0] return a.exec(); } diff --git a/doc/images/qtcreator-overview.png b/doc/images/qtcreator-overview.png index 3f5dd24020c..aeb62029c15 100644 Binary files a/doc/images/qtcreator-overview.png and b/doc/images/qtcreator-overview.png differ diff --git a/doc/images/qtcreator-texfinder-filter.png b/doc/images/qtcreator-texfinder-filter.png new file mode 100644 index 00000000000..b40ea9b37ee Binary files /dev/null and b/doc/images/qtcreator-texfinder-filter.png differ diff --git a/doc/qtcreator.qdoc b/doc/qtcreator.qdoc index 1ad0cfac8f5..2622b98dcf3 100644 --- a/doc/qtcreator.qdoc +++ b/doc/qtcreator.qdoc @@ -551,6 +551,11 @@ an open output pane, click the \gui {Maximize Output Pane} button or press \key {Alt+9}. + To search within the \gui{Application Output} and \gui{Compile Output} + panes, press \key {Ctrl+F} when the pane is active. Enter search + criteria in the \gui Find field and click the left and right arrows to + search down and up in the pane. + To open the \gui{General Messages} and \gui{Version Control} panes, select \gui {Window > Output Panes}. @@ -824,20 +829,20 @@ \image qtcreator-editortoolbar-symbols.png - Use the toolbar to navigate between open files and symbols in use: - \list - \o To browse forward or backward through your location history, click + Use the toolbar to navigate between open files and symbols in use. + To browse forward or backward through your location history, click \inlineimage qtcreator-back.png and \inlineimage qtcreator-forward.png . - \o To go to any open file, select it from the \gui{Open files} - drop-down menu. - \o To jump to any symbol used in the current file, select it from the - \gui Symbols drop-down menu. - \endlist - When you create or edit forms in a \c{.ui} file, the toolbar contains - Qt Designer specific tools. + To go to any open file, select it from the \gui{Open files} drop-down menu. + Right-click the menu title and select \gui {Copy Full Path to Clipboard} to + copy the path and name of the current file to the clipboard. + + To jump to any symbol used in the current file, select it from the + \gui Symbols drop-down menu. By default, the symbols are displayed in the + order in which they appear in the file. Right-click the menu title and select + \gui {Sort Alphabetically} to arrange the symbols in alphabetic order. \section1 Splitting the Editor View @@ -1438,7 +1443,7 @@ \section1 Renaming Symbols - The functions used to rename symbols depends on whether you are + The functions available for renaming symbols depend on whether you are writing C++ or QML code. For QML, you can only rename IDs. To rename a specific symbol in a Qt project: @@ -1601,6 +1606,8 @@ The wizards prompt you to enter the settings needed for that particular type of project and create the necessary files for you. + To display other types of files in the \gui Projects pane, specify them in + the project file. \image qtcreator-new-project.png @@ -1637,6 +1644,25 @@ \image qtcreator-new-project-summary.png \endlist + \section1 Displaying Additional File Types in Projects Pane + + Qt Creator determines whether to display files from the project folder + in the \gui Projects pane depending on the file type (.pro, .pri, .cpp, + .h, .ui, .qrc, and so on). To display other types of files, edit the the + project file. Add filenames as values of the \c {OTHER_FILES} variable. + You can also use wildcards. + + For example, the following code specifies that text files are displayed + in the \gui Projects pane: + + \code + + OTHER_FILES += *.txt + + \endcode + + This also makes the files available in the \gui Locator. + \section1 Adding New Project Wizards If you have a team working on a large application or several applications, @@ -2818,6 +2844,17 @@ \o In the \gui Properties pane, change the \gui objectName to \bold batteryLevelBar. + \o Right-click the \gui BatteryIndicator object and select + \gui {Lay Out > Lay Out Horizontally} to ensure that the battery + indicator widget size is adjusted correctly on Maemo devices. + + To adjust widget size correctly on Qt Simulator, remove the condition + from the main.cpp file (displayed in the following code snippet) and just + leave the \c {w.showMaximized();} line: + + \snippet examples/batteryindicator/main.cpp 0 + + \endlist \section1 Completing the Header File @@ -3222,6 +3259,12 @@ \image qtcreator-textfinder-ui-widgets.png "Adding widgets to Text Finder UI" + \note To easily locate the widgets, use the search box at the top of the + \gui Sidebar. For example, to find the \gui Label widget, start typing + the word \bold label. + + \image qtcreator-texfinder-filter.png "Filter field" + \o Double-click the \gui{Label} widget and enter the text \bold{Keyword}. \o Double-click the \gui{Push Button} widget and enter the text \bold{Find}. @@ -3755,7 +3798,7 @@ \section1 Using the Locator Filters - The \gui Locator allows you to browse not only files, but any items + The locator allows you to browse not only files, but any items defined by \bold{locator filters}. By default, the locator contains filters which locate: \list @@ -6478,7 +6521,7 @@ \title Tips and Tricks - \section1 Switching between modes + \section1 Switching Between Modes Qt Creator uses different modes for different purposes. You can quickly switch between these modes with the following keyboard shortcuts: @@ -6501,6 +6544,12 @@ To quickly move between currently open files, press \key Ctrl+Tab. + To move forward in the location history, press \key {Alt+Right} + (\key {Cmd+Opt+Right} on Mac OS). To move backward, press \key {Alt+Left} + (\key {Cmd+Opt+Right} on Mac OS). For example, if you use the \gui Locator + to jump to a symbol in the same file, you can jump back to your original + location in that file by pressing \key {Alt+Left}. + \section1 Moving To the Edit Mode @@ -6518,10 +6567,34 @@ To find specific settings you require in \gui{Tools} > \gui{Options...} use the filter located at the top left of the \gui Options dialog box. + \section1 Opening Output Panes + + The output panes provide a list of errors and warnings encountered during + a build, detailed output from the compiler, status of a program when it is + executed and debug output, as well as search results. + + To open output panes, use the following shortcuts: + + \list + + \o \gui{Build Issues} pane Alt+1 (Cmd+1 on Mac OS X) + + \o \gui{Search Results} pane Alt+2 (Cmd+2 on Mac OS X) + + \o \gui{Application Output} pane Alt+3 (Cmd+3 on Mac OS X) + + \o \gui{Compile Output} pane Alt+4 (Cmd+4 on Mac OS X) + + \endlist + + For more information about output panes, see \l{Viewing Output}. + \section1 Using Keyboard Shortcuts Qt Creator provides \l{Keyboard Shortcuts}{many useful keyboard shortcuts}. + You can see the keyboard shortcut for a menu command in the menu + or the tooltip for a button. To customize, import or export keyboard shortcuts, select \gui Tools > \gui Options... > \gui Environment > \gui Keyboard. @@ -6556,11 +6629,19 @@ \section1 Moving To Symbols To move straight to a symbol used in a project, select the symbol in the - \gui Editor toolbar drop-down menu. - - For more information on the editor toolbar, + \gui Editor toolbar drop-down menu. For more information on the editor toolbar, see \l {Using the Editor Toolbar}. + To jump to a symbol in the current file, press \key {Ctrl+K} to open the + \gui Locator, enter a period (.), and start typing the symbol name. Then + select the symbol in the list. For more information on using the locator, + see \l{Searching With the Locator}. + + Press \key Ctrl (\key Cmd on Mac OS) and click a symbol to move directly to + the definition or the declaration of the symbol. You can also move the cursor + on the symbol and press \key {F2}. For more information, see + \l{Moving to Symbol Definition or Declaration}. + \section1 Displaying Signals and Slots @@ -6574,6 +6655,9 @@ the slot in the \e slots subitem. The objects connected to this slot are shown as children of the slot. This method works with signals too. + For more information about the \gui{Locals and Watchers} view, see + \l{Locals and Watchers}. + \section1 Displaying Low Level Data @@ -6588,6 +6672,19 @@ \o Uncheck the \gui{Use debugging helper} checkbox. \endlist + + \section1 Locating Files + + The \gui Locator provides one of the easiest ways in Qt Creator to browse + through projects, files, classes, methods, documentation and file systems. + To quickly access files not directly mentioned in your project, you can + create your own locator filters. That way you can locate files in a + directory structure you have defined. + + To create locator filters, select \gui {Tools > Options... > Locator > Add}. + + For more information, see \l{Creating Locator Filters}. + */ diff --git a/doc/qtcreator.qdocconf b/doc/qtcreator.qdocconf index 876ceb92483..43963557162 100644 --- a/doc/qtcreator.qdocconf +++ b/doc/qtcreator.qdocconf @@ -55,7 +55,8 @@ qhp.QtCreator.extraFiles = \ images/page_bg.png \ images/page.png \ images/qt-logo.png \ - images/sprites-combined.png + images/sprites-combined.png \ + images/bullet_up.png qhp.QtCreator.subprojects = manual qhp.QtCreator.subprojects.manual.title = Qt Creator Manual diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index 7786adca1b0..036d40bb3bc 100644 --- a/share/qtcreator/gdbmacros/dumper.py +++ b/share/qtcreator/gdbmacros/dumper.py @@ -604,7 +604,11 @@ def isNull(p): # for invalid char *, as their "contents" is being examined #s = str(p) #return s == "0x0" or s.startswith("0x0 ") - return p.cast(lookupType("void").pointer()) == 0 + try: + # Can fail with: "RuntimeError: Cannot access memory at address 0x5" + return p.cast(lookupType("void").pointer()) == 0 + except: + return False movableTypes = set([ "QBrush", "QBitArray", "QByteArray", @@ -1045,11 +1049,14 @@ class Dumper: # Special handling for char** argv. n = 0 p = item.value - # p is 0 for "optimized out" cases. - if not isNull(p): - while not isNull(p.dereference()) and n <= 100: - p += 1 - n += 1 + # p is 0 for "optimized out" cases. Or contains rubbish. + try: + if not isNull(p): + while not isNull(p.dereference()) and n <= 100: + p += 1 + n += 1 + except: + pass with SubItem(self): self.put('iname="%s",' % item.iname) diff --git a/share/qtcreator/translations/qtcreator_de.ts b/share/qtcreator/translations/qtcreator_de.ts index 798c38d6fb1..96d02068ad6 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. - + Could not find 'Core.pluginspec' in %1 Die Datei 'Core.pluginspec' konnte im Verzeichnis %1 nicht gefunden werden @@ -58,7 +58,7 @@ BINEditor::Internal::BinEditorPlugin - + &Undo &Rückgängig @@ -96,7 +96,7 @@ Neuer Ordner - + @@ -304,7 +304,7 @@ CMakeProjectManager::Internal::CMakeBuildConfigurationFactory - + Build Erstellen @@ -338,7 +338,7 @@ CMakeProjectManager::Internal::CMakeRunConfigurationWidget - + Arguments: Argumente: @@ -466,12 +466,12 @@ CMakeProjectManager::Internal::CMakeSettingsPage - + CMake CMake - + Executable: Ausführbare Datei: @@ -811,7 +811,7 @@ - + No cvs executable specified! Es wurde keine ausführbare Datei angegeben! @@ -857,10 +857,6 @@ CVS::Internal::CheckoutWizard - - Checks out a project from a CVS repository and tries to load the contained project. - Holt ein Projekt aus einem CVS-Repository und versucht, das darin enthaltene Projekt zu laden. - Checks out a CVS repository and tries to load the contained project. @@ -959,7 +955,7 @@ CVSPlugin - + Cannot find repository for '%1' Das Repository der Datei '%1' konnte nicht gefunden werden @@ -1322,7 +1318,7 @@ Core::BaseFileWizard - + @@ -1331,12 +1327,12 @@ - + Existing files Bereits existierende Dateien - + Unable to create the directory %1. Das Verzeichnis %1 kann nicht erstellt werden. @@ -1356,7 +1352,7 @@ Es konnte kein Editor für die Datei '%1' geöffnet werden. - + [read only] [schreibgeschützt] @@ -1371,7 +1367,7 @@ [symbolischer Link] - + The project directory %1 contains files which cannot be overwritten: %2. Das Projektverzeichnis %1 enthält Dateien, die nicht überschrieben werden können: @@ -1682,7 +1678,7 @@ Sollen sie überschrieben werden? Core::FileManager - + Cannot save file Die Datei kann nicht gespeichert werden @@ -1921,12 +1917,12 @@ Sollen sie überschrieben werden? Core::Internal::MainWindow - + Qt Creator Qt Creator - + &File &Datei @@ -2102,12 +2098,7 @@ Sollen sie überschrieben werden? Neu - - Open Project - Projekt öffnen - - - + Settings... Einstellungen... @@ -2476,7 +2467,7 @@ Sollen sie überschrieben werden? Alphabetisch sortieren - + This change cannot be undone. Diese Änderung kann nicht rückgängig gemacht werden. @@ -2486,7 +2477,7 @@ Sollen sie überschrieben werden? Ja, Ich bin mir dessen bewusst. - + Unused variable Unbenutzte Variable @@ -2530,14 +2521,6 @@ Sollen sie überschrieben werden? Details - - CppEditor::Internal::CppHoverHandler - - - Unfiltered - Kein - - CppEditor::Internal::CppPlugin @@ -2816,12 +2799,12 @@ Sollen sie überschrieben werden? - + Interrupt Anhalten - + Step Over Einzelschritt über @@ -2879,7 +2862,7 @@ Sollen sie überschrieben werden? Umgekehrte Richtung - + Running... Läuft... @@ -2904,7 +2887,7 @@ Sollen sie überschrieben werden? Warnung - + Turn off helper usage Ausgabe-Hilfsbibliothek deaktivieren @@ -2919,12 +2902,12 @@ Sollen sie überschrieben werden? Die Ausgabe-Hilfsbibliothek dient zur Ausgabe der Werte einiger Datentypen aus Qt- und den Standardbibliotheken. Sie muss mit jeder benutzten Qt-Version compiliert werden. Das geschieht in der Seite 'Qt-Einstellungen' durch Auswahl der Qt-Installation und Klicken auf 'Erstellen' für die Ausgabe-Hilfsbibliothek. - + Cannot debug '%1' (tool chain: '%2'): %3 Der Debugger kann nicht mit '%1' (Toolchain '%2') gestartet werden: %3 - + Abort Debugging Debuggen abbrechen @@ -2934,7 +2917,7 @@ Sollen sie überschrieben werden? Bricht das Debuggen ab und setzt den Debugger in den Ausgangszustand. - + Stopped Angehalten @@ -2944,7 +2927,7 @@ Sollen sie überschrieben werden? Beendet - + Save Debugger Log Debugger Log speichern @@ -3569,7 +3552,7 @@ Sollen sie überschrieben werden? Debugger::Internal::DebuggerOutputWindow - + Debugger Debugger @@ -3725,12 +3708,12 @@ Would you like to terminate it? Weist den Debugger an, auf Anweisungsebene zu arbeiten. In diesem Modus arbeitet die Einzelschritt-Funktion auf Maschinenanweisungen und die Quelltextanzeige zeigt die disassemblierten Anweisungen an. - + This switches the Locals&Watchers view to automatically derefence pointers. This saves a level in the tree view, but also loses data for the now-missing intermediate level. Bewirkt, dass Zeiger im Fenster "Lokale Variablen und Überwachte Ausdrücke" automatisch dereferenziert werden. Das vereinfacht die Baumanzeige, allerdings fehlt die Information über die Zwischenebene. - + Debugger Properties... Debugger-Einstellungen... @@ -3765,7 +3748,7 @@ Would you like to terminate it? Auf Anweisungsebene arbeiten - + Dereference Pointers Automatically Zeiger automatisch dereferenzieren @@ -4012,7 +3995,7 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. Der Prozess konnte nicht gestartet werden. - + <p>The inferior stopped because it received a signal from the Operating System.<p><table><tr><td>Signal name : </td><td>%1</td></tr><tr><td>Signal meaning : </td><td>%2</td></tr></table> <p>Der Prozess wurde nach Erhalt eines Signals vom Betriebssystem angehalten.<p><table><tr><td>Name des Signals : </td><td>%1</td></tr><tr><td>Bedeutung : </td><td>%2</td></tr></table> @@ -4022,17 +4005,12 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. Signal erhalten - + Reading %1... Lese %1... - - Jumped. Stopped. - Sprung ausgeführt/ Angehalten. - - - + Application exited with exit code %1 Die Anwendung wurde beendet, Rückgabewert %1 @@ -4062,32 +4040,27 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. Angehalten: %1, Signal %2 - - The debugger you are using identifies itself as: - Der benutzte Debugger ist: - - - + Processing queued commands. Kommando-Warteschlange wird abgearbeitet. - - + + Stopped. Angehalten. - + Execution Error Fehler bei der Ausführung - + - + Cannot continue debugged process: Der zu debuggende Prozess kann nicht fortgesetzt werden: @@ -4099,7 +4072,7 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. Die Ausgabe-Hilfsbibliothek konnte nicht unter %1 gefunden werden. - + Unable to start gdb '%1': %2 Der gdb-Debugger '%1' kann nicht ausgeführt werden: %2 @@ -4155,7 +4128,7 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. - + An unknown error in the Gdb process occurred. Im Gdb-Prozess trat ein unbekannter Fehler auf. @@ -4235,12 +4208,22 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. Fehler bei Ausführung: %1 - + <unknown> <unbekannt> - + + Jumped. Stopped + Übersprungen / Angehalten + + + + Target line hit. Stopped + Zeile erreicht / Angehalten + + + Stopped at breakpoint %1 in thread %2. An Haltepunkt %1 im Thread %2 angehalten. @@ -4257,16 +4240,7 @@ Sie haben die Wahl zwischen Abwarten oder Abbrechen. <Unbekannt> - - This version is not officially supported by Qt Creator. -Debugging will most likely not work well. -Using gdb 7.1 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 7.1 oder später zu benutzen. - - - + Failed to shut down application Die Anwendung konnte nicht beendet werden @@ -4301,7 +4275,7 @@ Es wird empfohlen, gdb 7.1 oder später zu benutzen. Einzelschritt über Anweisung angefordert... - + Finish function requested... Ausführung bis Funktionsende angefordert... @@ -4321,7 +4295,7 @@ Es wird empfohlen, gdb 7.1 oder später zu benutzen. Ausführung bis Zeile %1 angefordert... - + Run to function %1 requested... Ausführung bis Funktion %1 angefordert... @@ -4499,7 +4473,7 @@ Möchten Sie den zu debuggenden Prozess anhalten und den gewählten Snapshot lad Speicher $ - + No memory viewer available Es ist kein Speicher-Anzeigemodul verfügbar @@ -5060,7 +5034,7 @@ Möchten Sie den zu debuggenden Prozess anhalten und den gewählten Snapshot lad Debugger::Internal::TrkGdbAdapter - + Port specification missing. Es wurde kein Port angegeben. @@ -5308,7 +5282,7 @@ Möchten Sie den zu debuggenden Prozess anhalten und den gewählten Snapshot lad DebuggerPane - + Clear Contents Inhalt löschen @@ -5525,17 +5499,17 @@ Versuchen Sie, das Projekt neu zu erstellen. Qt-Designer-Formular - + Creates a Qt Designer form along with a matching class (C++ header and source file) for implementation purposes. You can add the form and class to an existing Qt C++ Project. Erstellt ein Qt-Designer-Formular mit zugehörigem Klassenrumpf (bestehend aus C++-Header- und -Quelldatei) für ein existierendes C++-Projekt. - + Creates a Qt Designer form that you can add to a Qt C++ project. This is useful if you already have an existing class for the UI business logic. Erstellt ein Qt-Designer-Formular für ein C++-Projekt. Verwenden Sie diese Vorlage, wenn bereits eine Klasse für den Programmablauf existiert. - + Qt Designer Form Class Qt-Designer-Formularklasse @@ -5543,25 +5517,25 @@ Versuchen Sie, das Projekt neu zu erstellen. Designer::Internal::FormEditorW - + Widget Box Widget-Box - - + + Object Inspector Objektanzeige - - + + Property Editor Eigenschaften - - + + Action Editor Aktionseditor @@ -5621,18 +5595,18 @@ Versuchen Sie, das Projekt neu zu erstellen. Ctrl+J - - + + Signals && Slots Editor Signale und Slots - + Widget box Widget-Box - + Edit Widgets Widgets bearbeiten @@ -5657,7 +5631,7 @@ Versuchen Sie, das Projekt neu zu erstellen. Ctrl+Alt+R - + About Qt Designer plugins.... Plugins... @@ -5667,12 +5641,12 @@ Versuchen Sie, das Projekt neu zu erstellen. Vorschau in - + Designer Designer - + The image could not be created: %1 Das Bild konnte nicht erstellt werden: %1 @@ -5698,7 +5672,7 @@ Versuchen Sie, das Projekt neu zu erstellen. Fehler beim Speichern von %1 - + Unable to open %1: %2 %1 kann nicht geöffnet werden: %2 @@ -5724,12 +5698,12 @@ Versuchen Sie, das Projekt neu zu erstellen. Designer::Internal::QtCreatorIntegration - + 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. @@ -5990,10 +5964,6 @@ Versuchen Sie, das Projekt neu zu erstellen. %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 - @@ -6015,26 +5985,16 @@ Grund: %3 Read .vimrc .vimrc lesen - - - FakeVim properties... - FakeVim-Einstellungen... - FakeVim::Internal::FakeVimHandler - + Not implemented in FakeVim In FakeVim nicht implementiert - - E20: Mark '%1' not set - E20: Die Marke '%1' ist nicht gesetzt - - - + %1%2% %1%2% @@ -6044,27 +6004,13 @@ Grund: %3 %1Alle - - 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" %2L, %3C @@ -6077,47 +6023,66 @@ Grund: %3 - - - %n lines >ed %1 time - What is that? - - Eine Zeile >ed %1-mal - %n Zeilen >ed %1-mal - - - + Can't open file %1 Die Datei '%1' kann nicht geöffnet werden - - E512: Unknown option: - E512: Unbekannte Option: + + Mark '%1' not set + Die Marke '%1' ist nicht gesetzt + + + + Unknown option: + Unbekannte Option: + File "%1" exists (add ! to override) + Die Datei '%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 + + + + Cannot open file "%1" for reading + Die Datei '%1' kann nicht zum Lesen geöffnet werden + + + + %n lines %1ed %2 time + + %1 auf eine Zeile %2-mal angewandt + %1 auf %n Zeilen %2-mal angewandt + + + + Pattern not found: Suchmuster nicht gefunden: - + 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 - + Already at oldest change Älteste Änderung erreicht - + Already at newest change Letzte Änderung erreicht @@ -6125,7 +6090,7 @@ Grund: %3 FakeVim::Internal::FakeVimOptionPage - + General Allgemein @@ -6138,7 +6103,7 @@ Grund: %3 FakeVim::Internal::FakeVimPluginPrivate - + Switch to next file Gehe zu nächster Datei @@ -6148,13 +6113,18 @@ Grund: %3 Gehe zur vorigen Datei - - + + Quit FakeVim FakeVim Beenden - + + File not saved + Datei nicht gespeichert + + + Saving succeeded Gespeichert @@ -6167,12 +6137,7 @@ Grund: %3 - - Not an editor command: %1 - Kein Editor-Kommando: %1 - - - + FakeVim Information Informationen zu FakeVim @@ -6274,6 +6239,11 @@ Grund: %3 Set Plain Style Einfachen Stil setzen + + + Show position of text marks + Position der Textmarken anzeigen + FilterNameDialogClass @@ -6940,10 +6910,6 @@ on slow machines. In this case, the value should be increased. Git::Internal::CloneWizard - - Clones a project from a Git repository and tries to load the contained project. - Holt ein Projekt aus einem Git-Repository und versucht, es zu laden. - Clones a Git repository and tries to load the contained project. @@ -6982,7 +6948,7 @@ on slow machines. In this case, the value should be increased. Warte auf Daten... - + Git Diff Git Diff @@ -7044,7 +7010,7 @@ on slow machines. In this case, the value should be increased. - + Unable to reset %1: %2 Das Repository %1 konnte nicht zurückgesetzt werden: %2 @@ -7131,7 +7097,7 @@ on slow machines. In this case, the value should be increased. Es ist kein Branch vorhanden. - + Git SVN Log Git SVN Log @@ -7166,7 +7132,7 @@ on slow machines. In this case, the value should be increased. Die verwendete git-Version konnte nicht bestimmt werden: %1 - + Unable stash in %1: %2 Die Operation 'stash' schlug in %1 fehl: %2 @@ -7197,7 +7163,7 @@ on slow machines. In this case, the value should be increased. Das Repository ist noch nicht initialisiert. - + Committed %n file(s). @@ -7782,10 +7748,6 @@ on slow machines. In this case, the value should be increased. Gitorious::Internal::GitoriousCloneWizard - - Clones a project from a Gitorious repository and tries to load the contained project. - Holt ein Projekt aus einem Gitorious-Repository und versucht, das darin enthaltene Projekt zu laden. - Clones a Gitorious repository and tries to load the contained project. @@ -7986,7 +7948,7 @@ on slow machines. In this case, the value should be increased. Help::Internal::CentralWidget - + Print Document Dokument drucken @@ -7994,7 +7956,7 @@ on slow machines. In this case, the value should be increased. Help::Internal::DocSettingsPage - + Documentation Dokumentation @@ -8012,7 +7974,7 @@ on slow machines. In this case, the value should be increased. Help::Internal::FilterSettingsPage - + Filters Filter @@ -8049,7 +8011,7 @@ on slow machines. In this case, the value should be increased. Help::Internal::HelpIndexFilter - + Help index Hilfe - Index @@ -8065,14 +8027,14 @@ on slow machines. In this case, the value should be increased. Help::Internal::HelpPlugin - - + + Contents Inhalt - - + + Index Index @@ -8082,12 +8044,12 @@ on slow machines. In this case, the value should be increased. Suche - + Bookmarks Lesezeichen - + Home Startseite @@ -8152,7 +8114,17 @@ on slow machines. In this case, the value should be increased. Ctrl+Shift+Tab - + + Activate Search in Help mode + Suche im Modus "Hilfe" aktivieren + + + + Activate Bookmarks in Help mode + Lesezeichen im Modus "Hilfe" aktivieren + + + Open Pages Offene Seiten @@ -8162,7 +8134,7 @@ on slow machines. In this case, the value should be increased. Offene Seiten im Hilfsmodus aktivieren - + Go to Help Mode Schalte in Hilfsmodus @@ -8172,17 +8144,17 @@ on slow machines. In this case, the value should be increased. Vorige - + Close current Page Diese Seite schließen - + Next Nächste - + Add Bookmark Lesezeichen hinzufügen @@ -8192,7 +8164,7 @@ on slow machines. In this case, the value should be increased. Kontexthilfe - + Activate Index in Help mode Index im Modus "Hilfe" zeigen @@ -8202,17 +8174,17 @@ on slow machines. In this case, the value should be increased. Inhalt im Modus "Hilfe" zeigen - + Unfiltered Kein - + <html><head><title>No Documentation</title></head><body><br/><center><b>%1</b><br/>No documentation available.</center></body></html> <html><head><title>Dokumentation fehlt</title></head><body><br/><center><b>%1</b><br/>Es ist keine Dokumentation verfügbar.</center></body></html> - + Filtered by: Filter: @@ -8220,7 +8192,7 @@ on slow machines. In this case, the value should be increased. Help::Internal::SearchWidget - + Indexing Indizierung @@ -8672,18 +8644,23 @@ on slow machines. In this case, the value should be increased. Qt Project include file Qt-Projekt-Include-Datei + + + Qt Project feature file + Qt-Projekt-Feature-Datei + message catalog Meldungsdatei - + Qt Script file Qt-Skript-Datei - + Qt Resource file Qt-Ressourcendatei @@ -9353,7 +9330,7 @@ on slow machines. In this case, the value should be increased. Der Prozess wurde beendet, Rückgabewert %1. - + p4 submit failed: %1 Fehler beim Abgeben: %1 @@ -9380,7 +9357,7 @@ on slow machines. In this case, the value should be increased. Perforce: Das Repository von konnte nicht bestimmt werden: %1 - + The process terminated abnormally. Der Prozess wurde in anormaler Weise beendet. @@ -9405,7 +9382,7 @@ on slow machines. In this case, the value should be increased. Perforce ist nicht richtig konfiguriert. - + p4 diff %1 p4 diff %1 @@ -9709,31 +9686,31 @@ on slow machines. In this case, the value should be increased. ProjectExplorer::AbstractProcessStep - - <font color="#0000ff">Starting: "%1" %2</font> + + Starting: "%1" %2 - <font color="#0000ff">Starte: "%1" %2</font> + Starte "%1" %2 - - <font color="#0000ff">The process "%1" exited normally.</font> - <font color="#0000ff">The Prozess "%1" wurde normal beendet.</font> + + The process "%1" exited normally. + Der Prozess "%1" wurde normal beendet. - - <font color="#ff0000"><b>The process "%1" exited with code %2.</b></font> - <font color="#0000ff">The Prozess "%1" wurde mit dem Rückgabewert %2 beendet.</font> + + The process "%1" exited with code %2. + Der Prozess "%1" wurde mit dem Rückgabewert %2 beendet. - - <font color="#ff0000"><b>The process "%1" crashed.</b></font> - <font color="#ff0000"><b>The Prozess "%1" ist abgestürzt.</b></font> + + The process "%1" crashed. + Der Prozess "%1" ist abgestürzt. - - <font color="#ff0000"><b>Could not start process "%1"</b></font> - <font color="#ff0000"><b>Der Prozess "%1"konnte nicht gestartet werden</b></font> + + Could not start process "%1" + Der Prozess :"%1" konnte nicht gestartet werden @@ -9771,43 +9748,39 @@ on slow machines. In this case, the value should be increased. Build System - - <font color="#ff0000">Canceled build.</font> - <font color="#ff0000">Erstellen abgebrochen.</font> + + Canceled build. + Erstellen abgebrochen. - + + + When executing build step '%1' + Bei der Ausführung von Build-Schritt '%1' + + + + Running build steps for project %1... + Führe Build-Schritte für Projekt %1 aus... + + + Build Erstellen - - - <font color="#ff0000">Error while building project %1 (target: %2)</font> - <font color="#ff0000">Fehler beim Erstellen des Projekts %1 (Ziel: %2)</font> - - - + + + Error while building project %1 (target: %2) Fehler beim Erstellen des Projekts %1(Ziel: %2) - + Compile Category for compiler isses listened under 'Build Issues' Compilierung - - - - <font color="#ff0000">When executing build step '%1'</font> - <font color="#ff0000">Beim Ausführen des Build-Schritts '%1'</font> - - - - <b>Running build steps for project %2...</b> - <b>Führe Build-Schritte für Projekt %2 aus...</b> - ProjectExplorer::CustomExecutableRunConfiguration @@ -9855,7 +9828,7 @@ on slow machines. In this case, the value should be increased. ProjectExplorer::DebuggingHelperLibrary - + The target directory %1 could not be created. Das Zielverzeichnis %1 konnte nicht erstellt werden. @@ -9880,7 +9853,7 @@ Reason: %2 Fehler: %2 - + Building debugging helper library in %1 Erstelle Ausgabe-Hilfsbibliothek in %1 @@ -10114,7 +10087,7 @@ Fehler: %2 ProjectExplorer::Internal::CompileOutputWindow - + Compile Output Kompilierung @@ -10243,7 +10216,7 @@ Fehler: %2 ProjectExplorer::Internal::FolderNavigationWidgetFactory - + File System Dateisystem @@ -10375,7 +10348,7 @@ Fehler: %2 ProjectExplorer::Internal::ProjectExplorerSettingsPage - + General Allgemein @@ -10392,11 +10365,6 @@ Fehler: %2 Use jom instead of nmake jom an Stelle von nmake verwenden - - - <i>jom</i> is a drop-in replacement for <i>nmake</i> which distributes the compilation process to multiple CPU cores. For more details, see the <a href="http://qt.gitorious.org/qt-labs/jom/">jom Homepage</a>. Disable it if you experience problems with your builds. - <i>jom</i> ist ein Ersatz für <i>nmake</i>, der den Kompilationsprozess auf mehrere Prozessorkerne verteilt. Mehr Informationen finden Sie auf der <a href="http://qt.gitorious.org/qt-labs/jom/">jom Homepage</a>. Deaktivieren Sie die Einstellungen, wenn Probleme beim Build auftreten. - Current directory @@ -10437,6 +10405,11 @@ Fehler: %2 Clear old application output on a new run Ausgabe vorangegangener Ausführungen löschen + + + <i>jom</i> is a drop-in replacement for <i>nmake</i> which distributes the compilation process to multiple CPU cores. The latest binary is available at <a href="ftp://ftp.qt.nokia.com/jom/">ftp://ftp.qt.nokia.com/jom/</a>. Disable it if you experience problems with your builds. + <i>jom</i> ist ein Ersatz für <i>nmake</i>, der den Kompilationsprozess auf mehrere Prozessorkerne verteilt. Eine aktuelle Version erhalten Sie von <a href="ftp://ftp.qt.nokia.com/jom/">ftp://ftp.qt.nokia.com/jom/</a>. Deaktivieren Sie die Einstellungen, wenn Probleme beim Build auftreten. + ProjectExplorer::Internal::ProjectFileFactory @@ -10532,7 +10505,7 @@ No project selected Sitzungen... - + %1 (last session) %1 (zuletzt benutzt) @@ -10646,11 +10619,6 @@ No project selected Session Manager Sitzungsverwaltung - - - <a href="qthelp://com.nokia.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">What is a Session?</a> - <a href="qthelp://com.nokia.qtcreator/doc/creator-quick-tour.html#session-management-in-qt-creator">Was ist eine Sitzung?</a> - &New @@ -10677,16 +10645,21 @@ No project selected &Gehe zu Sitzung - - + + New session name Name der neuen Sitzung - + Rename session Sitzung umbenennen + + + <a href="qthelp://com.nokia.qtcreator/doc/creator-project-managing-sessions.html">What is a Session?</a> + <a href="qthelp://com.nokia.qtcreator/doc/creator-project-managing-sessions.htm">Was ist eine Sitzung?</a> + ProjectExplorer::Internal::SessionFile @@ -10705,7 +10678,7 @@ No project selected ProjectExplorer::Internal::TaskDelegate - + File not found: %1 Datei nicht gefunden: %1 @@ -10762,7 +10735,7 @@ No project selected Projekte - + &Build &Erstellen @@ -10777,12 +10750,12 @@ No project selected &Debuggen - + Open With Öffnen mit - + Session Manager... Sitzungsverwaltung @@ -10933,7 +10906,17 @@ No project selected Neues Projekt - + + Projects (%1) + Projekte (%1) + + + + All Files (*) + Alle Dateien (*) + + + Close Project "%1" Projekt "%1" schließen @@ -10981,7 +10964,7 @@ No project selected Zielauswahl für Build/Auswahl öffnen... - + Always save files before build Alle Dateien vor Erstellen speichern @@ -10996,7 +10979,7 @@ No project selected Debuggen ohne Projekt nicht möglich. - + New File Title of dialog Neue Datei @@ -11213,7 +11196,7 @@ unter Versionsverwaltung (%2) gestellt werden? Warning - Warnung + Warnung @@ -11679,28 +11662,38 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Schon gewusst? - + The Qt Creator User Interface Die Benutzeroberfläche von Qt Creator + + + Building and Running an Example + Ein Beispiel erstellen und ausführen + Creating a Qt C++ Application Erstellen einer C++-Anwendung mit Qt + + + Creating a Mobile Application + Erstellen einer mobilen Anwendung + Creating a Qt Quick Application Erstellen einer Qt-Quick-Anwendung - + Choose an example... Beispiel wählen... - + Copy Project to writable Location? Soll das Projekt in ein schreibbares Verzeichnis kopiert werden? @@ -11735,7 +11728,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Das angegebene Verzeichnis existiert bereits. Bitte geben Sie ein gültiges Verzeichnis an. - + New Project Neues Projekt @@ -11759,12 +11752,22 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Strg - - You can switch between Qt Creator's modes using <tt>Ctrl+number</tt>:<ul><li>1 - Welcome</li><li>2 - Edit</li><li>3 - Debug</li><li>4 - Projects</li><li>5 - Help</li></ul> - Sie können mit <tt>Strg+Nummer</tt> zwischen den Modi von Qt Creator umschalten: <ul><li>1 - Willkommen</li><li>2 - Editieren</li><li>3 - Debuggen</li><li>4 - Projekte</li><li>5 - Hilfe</li><li></li><li>6 - Ausgabe</li></ul> + + If you add external libraries to your project, Qt Creator will automatically offer syntax highlighting and code completion. + Qt Creator bietet automatisch Syntax-Hervorhebung und Code-Vervollständigung an, wenn Sie externe Bibliotheken zu Ihrem Projekt hinzufügen. - + + You can add custom build steps in the <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html">build settings</a>. + Sie können eigene Erstellungsschritte in den <a href="qthelp://com.nokia.qtcreator/doc/creator-build-settings.html">'Build'-Einstellungen</a> hinzufügen. + + + + Within a session, you can add <a href="qthelp://com.nokia.qtcreator/doc/creator-build-dependencies.html">dependencies</a> between projects. + In einer Sitzung können Sie <a href="qthelp://com.nokia.qtcreator/doc/creator-build-dependencies.html">Abhängigkeiten</a> zwischen Projekten herstellen. + + + You can show and hide the side bar using <tt>%1+0<tt>. Sie können die Seitenleiste mit <tt>%1+0</tt> anzeigen oder zuklappen. @@ -11774,12 +11777,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü 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. - - - + The code completion is CamelCase-aware. For example, to complete <tt>namespaceUri</tt> you can just type <tt>nU</tt> and hit <tt>Ctrl+Space</tt>. Die Code-Vervollständigung versteht CamelCase. Sie können zum Beipiel statt <tt>namespaceUri</tt> einfach <tt>nU</tt> schreiben und danach <tt>Strg+Leertaste</tt> drücken. @@ -11809,17 +11807,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Mit der <a href="qthelp://com.nokia.qtcreator/doc/creator-navigation.html">Locator-Leiste</a> (<tt>%1+K</tt>) können Sie schnell nach Methoden, Klassen, Hilfe und anderem suchen. - - You can add custom build steps in the <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#build-settings">build settings</a>. - Sie können eigene Erstellungsschritte in den <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#build-settingsl">'Build'-Einstellungen</a> hinzufügen. - - - - Within a session, you can add <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#dependencies">dependencies</a> between projects. - In einer Sitzung können Sie <a href="qthelp://com.nokia.qtcreator/doc/creator-project-pane.html#dependencies">Abhängigkeiten</a> zwischen Projekten herstellen. - - - + You can set the preferred editor encoding for every project in <tt>Projects -> Editor Settings -> Default Encoding</tt>. Sie können ihre Encoding-Vorgabe für den Editor für jedes Projekt in <tt>Projekte -> Editoreinstellungen -> Encoding-Vorgabe</tt> einstellen. @@ -11943,7 +11931,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Qt4ProjectManager::Internal::MakeStepFactory - + Make Make @@ -11990,7 +11978,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Qt4ProjectManager::Internal::QMakeStepFactory - + qmake qmake @@ -12058,13 +12046,12 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü 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 @@ -12082,7 +12069,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Shadow-Build-Verzeichnis - + using <font color="#ff0000">invalid</font> Qt Version: <b>%1</b><br>%2 verwende <font color="#ff0000">ungültige</font> Qt-Version: <b>%1</b><br>%2 @@ -12102,7 +12089,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Allgemein - + Building in subdirectories of the source directory is not supported by qmake. qmake unterstützt keine Build-Vorgänge in dem Quellverzeichnis untergeordneten Verzeichnissen. @@ -12167,7 +12154,7 @@ Wählt eine für Desktop-Entwicklung geeignete Qt-Version aus, sofern sie verfü Erstellen - + Run qmake in %1 qmake in %1 ausführen @@ -12520,7 +12507,7 @@ p, li { white-space: pre-wrap; } Installationspaket: - + Device on serial port: Gerät auf serieller Schnittstelle: @@ -12791,21 +12778,21 @@ Installiere Anwendung auf '%2'... Qt4ProjectManager::MakeStep - + Make Qt4 MakeStep display name. Make - - <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> + + Could not find make command: %1 in the build environment + Das 'make'-Kommando '%1' konnte in der Build-Umgebung nicht gefunden werden Qt4ProjectManager::MakeStepConfigWidget - + Override %1: Überschreibe %1: @@ -12823,20 +12810,20 @@ Installiere Anwendung auf '%2'... Qt4ProjectManager::QMakeStep - + qmake QMakeStep display name. - - <font color="#0000ff">Configuration is faulty, please check the Build Issues view for details.</font> - <font color="#0000ff">Die Konfiguration ist fehlerhaft. Details befinden sich in der Ansicht "Build-Probleme".</font> + + Configuration is faulty, please check the Build Issues view for details. + Die Konfiguration ist fehlerhaft. Details befinden sich in der Ansicht "Build-Probleme". - - <font color="#0000ff">Configuration unchanged, skipping qmake step.</font> - <font color="#0000ff">Unveränderte Konfiguration, qmake-Schritt wird übersprungen.</font> + + Configuration unchanged, skipping qmake step. + Unveränderte Konfiguration, qmake-Schritt wird übersprungen. @@ -12868,7 +12855,7 @@ Installiere Anwendung auf '%2'... Qt4ProjectManager::QtVersionManager - + <not found> <nicht gefunden> @@ -13370,7 +13357,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich ResourceEditor::Internal::ResourceEditorW - + untitled kein Titel @@ -13396,7 +13383,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich SharedTools::QrcEditor - + Add Files Dateien hinzufügen @@ -13621,10 +13608,6 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich Subversion::Internal::CheckoutWizard - - Checks out a project from a Subversion repository and tries to load the contained project. - Holt ein Projekt aus einem Subversion-Repository und versucht, das darin enthaltene Projekt zu laden. - Checks out a Subversion repository and tries to load the contained project. @@ -13997,13 +13980,13 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich - + No subversion executable specified! Es wurde keine ausführbaren Subversion-Datei angegeben! - + The process terminated with exit code %1. Der Prozess wurde beendet, Rückgabewert %1. @@ -14061,7 +14044,7 @@ Um es abzurufen, tippen Sie das Kürzel im Locator, gefolgt von einem Leerzeich TextEditor::BaseTextDocument - + untitled kein Titel @@ -14092,7 +14075,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 @@ -14453,7 +14436,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: TextEditor::Internal::FindInFiles - + Files on File System Dateien aus dem Dateisystem @@ -14473,7 +14456,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Such&muster für Dateinamen: - + Directory to search Verzeichnis @@ -15556,13 +15539,13 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: - The unsaved file %1 has been changed outside Qt Creator. Do you want to reload it and discard your changes? - Die noch nicht gespeicherte Datei %1 wurde außerhalb von Qt Creator geändert. Möchten Sie sie neu laden? + The unsaved file <i>%1</i> has been changed outside Qt Creator. Do you want to reload it and discard your changes? + Die noch nicht gespeicherte Datei <i>%1</i> wurde außerhalb von Qt Creator geändert. Möchten Sie sie neu laden? - 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? + The file <i>%1</i> has changed outside Qt Creator. Do you want to reload it? + Die Datei <i>%1</i> wurde außerhalb von Qt Creator geändert. Möchten Sie sie neu laden? @@ -15601,7 +15584,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: Es konnten keine dem Muster (%1) entsprechenden Projektdateien in '%2' gefunden werden. - + The Project Explorer is not available. Das ProjectExplorer-Plugin ist nicht verfügbar. @@ -15729,7 +15712,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: VCSBase::VCSBaseEditor - + Annotate "%1" Annotation für "%1" @@ -15739,7 +15722,7 @@ Die folgenden Encodings scheinen der Datei zu entsprechen: "%1" Kopieren - + Describe change %1 Details zur Änderung %1 anzeigen @@ -15923,8 +15906,8 @@ p, li { white-space: pre-wrap; } - <b>Qt LGPL Support</b><br /><font color='gray'>Buy professional Qt support</font> - <b>Qt LGPL Unterstützung</b><br /><font color='gray'>Erwerben Sie professionelle Unterstützung für Qt</font> + <b>Qt LGPL Support</b><br /><font color='gray'>Buy commercial Qt support</font> + <b>Qt LGPL Unterstützung</b><br/><font color='gray'>Erwerben Sie kommerzielle Unterstützung für Qt</font> @@ -15984,7 +15967,7 @@ p, li { white-space: pre-wrap; } Feedback - + Welcome Willkommen @@ -16621,7 +16604,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Bibliothek - + Items Title of library items view Elemente @@ -17417,10 +17400,20 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Rand - + Qt Quick Designer Qt-Quick-Designer + + + Text Editor Helper + Texteditor-Unterstützung + + + + enable + Aktivieren + Qt4ProjectManager::Internal::TestWizardPage @@ -17509,7 +17502,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. CMakeProjectManager::Internal::CMakeRunConfiguration - + Clean Environment Umgebung löschen @@ -17523,6 +17516,11 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Build Environment Build-Umgebung + + + (disabled) + (deaktiviert) + CMakeProjectManager::Internal::CMakeTarget @@ -17686,7 +17684,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Subversion Commit-Editor - + Subversion Command Log Editor Subversion Command-Log-Editor @@ -17837,18 +17835,18 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. FakeVim::Internal::FakeVimExCommandsPage - - + + Ex Command Mapping Zuordnung von Kommandos - + FakeVim FakeVim - + Ex Trigger Expression Kommando @@ -17874,7 +17872,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. GitClient - + Unable to determine the repository for %1. Das Repository von %1 konnte nicht bestimmt werden. @@ -17937,7 +17935,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Mercurial::Internal::MercurialClient - + Unable to find parent revisions of %1 in %2: %3 Die übergeordnete Revision von %1 im Repository %2 konnte nicht bestimmt werden: %3 @@ -18288,7 +18286,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Der Prozess "%1" wurde beendet (Rückgabewert %2): %3 - + The client does not seem to contain any mapped files. Der Perforce-Client enthält offenbar keine Dateizuordnungen. @@ -18447,12 +18445,12 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Ausführungskonfiguration wählen - + Build: Erstellung: - + Run: Ausführung: @@ -18460,7 +18458,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. ProjectExplorer::Internal::MiniProjectTargetSelector - + Project Projekt @@ -18470,7 +18468,17 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Projekt auswählen - + + Build: + Erstellung: + + + + Run: + Ausführung: + + + <html><nobr><b>Project:</b> %1<br/>%2%3<b>Run:</b> %4%5</html> <html><nobr><b>Projekt:</b> %1<br/>%2%3<b>Ausführung:</b> %4%5</html> @@ -18519,7 +18527,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Es ist kein Ziel festgelegt. - + Qt Creator Qt Creator @@ -18533,8 +18541,8 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. ProjectExplorer::TaskWindow - - + + Build Issues Build-Probleme @@ -18616,7 +18624,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Qt Simulator - + <b>Device:</b> Not connected <b>Gerät:</b> Nicht angeschlossen @@ -18633,11 +18641,6 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. QmlProjectManager::QmlTarget - - QML Runtime - QML Runtime target display name - QML-Laufzeitumgebung - QML Viewer @@ -18986,7 +18989,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.&Rechte Seitenleiste umschalten - + Projects Projekte @@ -19004,12 +19007,12 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. QmlJSEditor::Internal::QmlJSTextEditor - + <Select Symbol> <Symbol auswählen> - + Rename... Umbenennen... @@ -19097,25 +19100,15 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Qt4ProjectManager::Internal::MaemoRunConfiguration - + New Maemo Run Configuration Neue Maemo-Ausführungskonfiguration - - - '%1' does not contain a valid Maemo simulator image. - '%1' enthält kein gültiges Maemo-Simulator-Image. - - - - Simulator could not be found. Please check the Qt Version you are using and that a simulator image is already installed. - Der Simulator konnte nicht gefunden werden. Bitte überprüfen Sie die verwendete Qt-Version und die Installation des Simulator-Images. - Qt4ProjectManager::Internal::MaemoRunConfigurationFactory - + New Maemo Run Configuration Neue Maemo-Ausführungskonfiguration @@ -19123,7 +19116,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Qt4ProjectManager::Internal::MaemoRunControlFactory - + Run on device Auf Gerät ausführen @@ -19160,26 +19153,21 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Arguments: Argumente: - - - Simulator: - Simulator: - Qt4ProjectManager::Internal::AbstractMaemoRunControl - + Files to deploy: %1. Dateien für Deployment: %1: - + Deploying Deployment - + No device configuration set for run configuration. Für Ausführungskonfiguration ist keine Gerätekonfiguration eingestellt. @@ -19204,7 +19192,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Löschen beendet. - + Starting remote application. Starte Anwendung. @@ -19234,12 +19222,12 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Prozess auf Gerät beendet. - + Remote Execution Failure Fehler bei Ausführung auf dem Gerät - + Deployment failed: %1 Deployment fehlgeschlagen: %1 @@ -19257,7 +19245,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Die öffentliche Schlüsseldatei '%1' konnte nicht gelesen werden. - + Key deployment failed: %1 Das Versenden des Schlüssels schlug fehl: %1 @@ -19267,13 +19255,13 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Öffentlichen Schlüssel senden... - - + + Deployment Failed Deployment fehlgeschlagen - + New Device Configuration %1 Standard Configuration name with number New Device Configuration %1 @@ -19284,7 +19272,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Datei mit öffentlichem Schlüssel - + Stop Deploying Deployement beenden @@ -19330,7 +19318,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. Qt4ProjectManager - + Qt4 Qt4 @@ -19466,7 +19454,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. trk::Launcher - + Cannot open remote file '%1': %2 Die Datei '%1' auf dem Gerät konnte nicht geöffnet werden: %2 @@ -19487,7 +19475,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. About Bauhaus AboutDialog - + Über Bauhaus @@ -19505,7 +19493,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. unknown value for enum - + Unbekannter Wert für Aufzählung @@ -19517,14 +19505,6 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.'%1' is not a member of '%2' '%1' gehört nicht zu '%2' - - easing-curve name is not a string - Der Name der Easing-Kurve ist keine Zeichenkette - - - unknown easing-curve name - Ungültiger Name der Easing-Kurve - value might be 'undefined' @@ -19533,7 +19513,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. enum value is not a string or number - + Wert der Aufzählung ist weder Zeichenkette noch Zahl @@ -19580,7 +19560,18 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen. BINEditor::BinEditor - + + Decimal unsigned value (little endian): %1 +Decimal unsigned value (big endian): %2 +Decimal signed value (little endian): %3 +Decimal signed value (big endian): %4 + Dezimaler, vorzeichenloser Wert (Little Endian): %1 +Dezimaler, vorzeichenloser Wert (Big Endian): %2 +Dezimaler, vorzeichenbehafteter Wert (Little Endian): %3 +Dezimaler, vorzeichenbehafteter Wert (Big Endian): %4 + + + Copying Failed Das Kopieren schlug fehl @@ -19600,7 +19591,7 @@ Sie können die Änderungen in einem Stash ablegen oder rücksetzen.Auswahl als hexadezimale Werte kopieren - + Jump to Address in This Window Gehe zu Adresse in diesem Fenster @@ -19870,14 +19861,6 @@ Please check your project settings. Ausgaben des QML-Inspektors, wie zum Beispiel Information über die Verbindung zum Server. - - QmlJSEditor::Internal::HoverHandler - - - Unfiltered - Ungefiltert - - QmlJSEditor::Internal::ModelManager @@ -20010,20 +19993,7 @@ QML-Anwendungen werden durch die QML-Laufzeitumgebung direkt ausgeführt und ben QmlProjectManager::QmlProjectRunConfiguration - QML Runtime - QMLRunConfiguration display name. - QML-Laufzeitumgebung - - - QML Runtime - QML-Laufzeitumgebung - - - QML Runtime arguments: - Kommandozeilenargumente für QML-Laufzeitumgebung - - - + QML Viewer QMLRunConfiguration display name. QML-Betrachter @@ -20065,7 +20035,7 @@ QML-Anwendungen werden durch die QML-Laufzeitumgebung direkt ausgeführt und ben Qt4ProjectManager::Internal::Qt4TargetFactory - + Debug Debug @@ -20099,44 +20069,15 @@ QML-Anwendungen werden durch die QML-Laufzeitumgebung direkt ausgeführt und ben Über Plugins - - Qt4ProjectManager::Internal::MaemoManager - - - - Start Maemo Emulator - Maemo-Emulator starten - - - - Qemu failed to start: %1 - Qemu konnte nicht gestartet werden: %1 - - - - Qemu crashed - Qemu ist abgestürzt - - - - Qemu error - Qemu-Fehler - - - - Stop Maemo Emulator - Maemo-Emulator stoppen - - QmlDesigner::Internal::BauhausPlugin - + Switch Text/Design Text/Design umschalten - + Save %1 As... Speichere '%1' unter... @@ -20460,12 +20401,12 @@ QML-Anwendungen werden durch die QML-Laufzeitumgebung direkt ausgeführt und ben - + Load on Startup Beim Start Laden - + Utilities Hilfsmittel @@ -20473,7 +20414,7 @@ QML-Anwendungen werden durch die QML-Laufzeitumgebung direkt ausgeführt und ben Utils::fileDeletedPrompt - + File has been removed Die Datei wurde gelöscht @@ -20545,14 +20486,6 @@ QML-Anwendungen werden durch die QML-Laufzeitumgebung direkt ausgeführt und ben Fehler: Zeitüberschreitung nach %1s. - - Help::HelpManager - - - Unfiltered - Kein - - ProjectExplorer::BuildConfiguration @@ -20941,7 +20874,7 @@ Haben Sie Qemu gestartet? Qt4ProjectManager::Qt4Project - + Evaluating Auswertung @@ -20969,7 +20902,7 @@ Haben Sie Qemu gestartet? <%1> hat kein gültiges Attribut %2 - + %1: %2 %1: %2 @@ -21000,7 +20933,7 @@ Haben Sie Qemu gestartet? QmlJS::Link - + could not find file or directory Datei oder Ordner konnte nicht gefunden werden @@ -21015,7 +20948,7 @@ Haben Sie Qemu gestartet? Package-Import erfordert eine Versionsnummer - + package not found Package nicht gefunden @@ -21520,13 +21453,13 @@ Haben Sie Qemu gestartet? Help::Internal::HelpViewer - + Open Link Verweis öffnen - + Open Link as New Page Verweis in neuer Seite öffnen @@ -21602,13 +21535,13 @@ Wählt Qt-Versionen für Simulator und mobile Ziele aus, sofern sie verfügbar s Status - + Qt Creator can set up the following targets for project <b>%1</b>: %1: Project name Qt Creator kann für das Projekt <b>%1</b> die folgenden Ziele anlegen: - + Choose a directory to scan for additional shadow builds Zusätzliche Shadow-Builds @@ -21624,7 +21557,7 @@ Wählt Qt-Versionen für Simulator und mobile Ziele aus, sofern sie verfügbar s Im Ordner "%2" konnten keine Builds des Projekts "%1" gefunden werden. - + <b>Error:</b> Severity is Task::Error <b>Fehler:</b> @@ -21636,7 +21569,7 @@ Wählt Qt-Versionen für Simulator und mobile Ziele aus, sofern sie verfügbar s <b>Warnung:</b> - + Import Is this an import of an existing build or a new one? Import @@ -21736,28 +21669,6 @@ Wählt Qt-Versionen für Simulator und mobile Ziele aus, sofern sie verfügbar s Default short title for custom wizard page to be shown in the progress pane of the wizard. Details - - - Creates a C++ plugin to extend the funtionality of the QML runtime. - Creates a plug-in for the QML runtime. - Erstellt ein C++-Plugin zur Erweiterung der Funktionalität der QML-Laufzeitumgebung. - - - - - QML Runtime Plug-in - Plugin für QML-Laufzeitumgebung - - - - QML Runtime Plug-in Parameters - Parameter des Plugins für die QML-Laufzeitumgebung - - - - Example Object Class-name: - Klassenname des Beispiel-Objektes: - Qt4ProjectManager::Internal::BaseQt4ProjectWizardDialog @@ -22105,7 +22016,7 @@ Namen <E-Mail> Alias <E-Mail? QApplication - + EditorManager Next Open Document in History Nächstes Dokument im Verlauf @@ -22136,7 +22047,7 @@ Namen <E-Mail> Alias <E-Mail? QmlDesigner::Internal::ModelPrivate - + invalid type ungültiger Typ @@ -22177,7 +22088,7 @@ Namen <E-Mail> Alias <E-Mail? Qt4ProjectManager::Internal::MaemoPackageCreationStep - + Creating package file ... Erzeuge Paketdatei... @@ -22187,7 +22098,7 @@ Namen <E-Mail> Alias <E-Mail? Die MADDE-Konfigurationsdatei '%1' kann nicht geöffnet werden. - + Packaging Error: Cannot open file '%1'. Fehler bei Paketerstellung: Die Datei '%1' kann nicht geöffnet werden. @@ -22197,7 +22108,7 @@ Namen <E-Mail> Alias <E-Mail? Fehler bei Paketerstellung: Die Datei '%1' kann nicht geschrieben werden. - + Packaging Error: Could not create directory '%1'. Fehler bei Paketerstellung: Der Ordner '%1' konnte nicht erstellt werden. @@ -22217,28 +22128,22 @@ Namen <E-Mail> Alias <E-Mail? Paketdatei erzeugt. - + Package Creation: Running command '%1'. Paketerstellung: Führe Kommando '%1' aus. - Packaging failed. Die Paketerstellung schlug fehl. - + Packaging error: Could not start command '%1'. Reason: %2 Fehler bei Paketerstellung: Das Kommando '%1' konnte nicht ausgeführt werden: %2 - Packaging Error: Command '%1' timed out. - Fehler bei Paketerstellung: Zeitüberschreitung bei Kommando '%1'. - - - Packaging Error: Command '%1' failed. Fehler bei Paketerstellung: Das Kommando '%1' schlug fehl. @@ -22256,7 +22161,7 @@ Namen <E-Mail> Alias <E-Mail? Qt4ProjectManager::Internal::MaemoPackageCreationWidget - + <b>Create Package:</b> <b>Erzeuge Paketdatei:</b> @@ -22266,7 +22171,7 @@ Namen <E-Mail> Alias <E-Mail? Lokale Datei - + File already in package Die Datei ist bereits im Paket enthalten @@ -22387,11 +22292,6 @@ Namen <E-Mail> Alias <E-Mail? MaemoPackageCreationWidget - Package contents: - Inhalt des Pakets: - - - Add File to Package Hinzuzufügende Datei @@ -22400,6 +22300,41 @@ Namen <E-Mail> Alias <E-Mail? Remove File from Package Datei aus Paket entfernen + + + Check this if you want the files below to be deployed directly. + Startet das Deployment der Dateien unmittelbar. + + + + Skip packaging step + Paketerstellung überspringen + + + + Version number: + Versionsnummer: + + + + Major: + Major: + + + + Minor: + Minor: + + + + Patch: + Patch: + + + + Files to deploy: + Dateien für Deployment: + Utils::FancyMainWindow @@ -22560,7 +22495,7 @@ Namen <E-Mail> Alias <E-Mail? ProjectExplorer::Internal::SessionNameInputDialog - + Enter the name of the session: Geben Sie den Namen der Sitzung an: @@ -22758,7 +22693,7 @@ Namen <E-Mail> Alias <E-Mail? QmlDesigner::PropertyEditor - + Invalid Id Ungültige Id @@ -22792,22 +22727,23 @@ Namen <E-Mail> Alias <E-Mail? InvalidIdException - - Ids have to be unique: - Ids müssen eindeutig sein: - - - - Invalid Id: - Ungültige Id: - - - - -Only alphanumeric characters and underscore allowed. + + Only alphanumeric characters and underscore allowed. Ids must begin with a lowercase letter. - -Ids müssen mit einem Kleinbuchstaben beginnen und dürfen nur alphanumerische Zeichen und Unterstriche enthalten. + Es sind nur alphanumerische Zeichen und Unterstriche zulässig. +Ids müssen außerdem mit einem Kleinbuchstaben beginnen. + + + + Ids have to be unique. + Ids müssen eindeutig sein. + + + + Invalid Id: %1 +%2 + Ungültige Id: %1 +%2 @@ -22821,7 +22757,7 @@ Ids müssen mit einem Kleinbuchstaben beginnen und dürfen nur alphanumerische Z QmlDesigner::QmlModelView - + Invalid Id Ungültige Id @@ -22897,4 +22833,100 @@ Ids müssen mit einem Kleinbuchstaben beginnen und dürfen nur alphanumerische Z QML-Betrachter + + ContextPaneTextWidget + + + Text + Text + + + + Style + Stil + + + + Normal + + + + + Outline + Umriss + + + + Raised + Hervorgehoben + + + + Sunken + Abgesenkt + + + + ... + ... + + + + Core::HelpManager + + + Unfiltered + Ungefiltert + + + + FakeVim::Internal::FakeVimHandler::Private + + + Not an editor command: %1 + Kein Editor-Kommando: %1 + + + + QmlDesigner::ContextPaneWidget + + + Disable permanently + Permanent deaktivieren + + + + Qt4ProjectManager::Internal::QemuRuntimeManager + + + + Start Maemo Emulator + Maemo-Emulator starten + + + + Qemu has been shut down, because you removed the corresponding Qt version. + + + + + Qemu failed to start: %1 + Qemu konnte nicht gestartet werden: %1 + + + + Qemu crashed + Qemu ist abgestürzt + + + + Qemu error + Qemu-Fehler + + + + Stop Maemo Emulator + Maemo-Emulator stoppen + + diff --git a/src/plugins/bineditor/bineditor.cpp b/src/plugins/bineditor/bineditor.cpp index 0a6dbcfbb22..23b5d04ffbd 100644 --- a/src/plugins/bineditor/bineditor.cpp +++ b/src/plugins/bineditor/bineditor.cpp @@ -1042,7 +1042,7 @@ bool BinEditor::event(QEvent *e) { selEnd = selStart + 1; byteCount = 1; } - if (byteCount <= 8) { + if (m_hexCursor && byteCount <= 8) { const QPoint &startPoint = offsetToPos(selStart); const QPoint &endPoint = offsetToPos(selEnd); const QPoint expandedEndPoint @@ -1138,14 +1138,25 @@ void BinEditor::keyPressEvent(QKeyEvent *e) } break; case Qt::Key_Home: - setCursorPosition((e->modifiers() & Qt::ControlModifier) ? - 0 : (m_cursorPosition/16 * 16), moveMode); + if (e->modifiers() & Qt::ControlModifier) { + if (m_inLazyMode) + emit startOfFileRequested(editorInterface()); + else + setCursorPosition(0); + } else { + setCursorPosition(m_cursorPosition/16 * 16, moveMode); + } break; case Qt::Key_End: - setCursorPosition((e->modifiers() & Qt::ControlModifier) ? - (m_size-1) : (m_cursorPosition/16 * 16 + 15), moveMode); + if (e->modifiers() & Qt::ControlModifier) { + if (m_inLazyMode) + emit endOfFileRequested(editorInterface()); + else + setCursorPosition(m_size - 1); + } else { + setCursorPosition(m_cursorPosition/16 * 16 + 15, moveMode); + } break; - default: if (m_readOnly) break; @@ -1380,7 +1391,7 @@ void BinEditor::jumpToAddress(quint64 address) { if (address >= m_baseAddr && address < m_baseAddr + m_data.size()) setCursorPosition(address - m_baseAddr); - else + else if (m_inLazyMode) emit newRangeRequested(editorInterface(), address); } @@ -1392,7 +1403,7 @@ void BinEditor::setNewWindowRequestAllowed() QPoint BinEditor::offsetToPos(int offset) { const int x = m_labelWidth + (offset % 16) * m_columnWidth; - const int y = (offset / 16) * m_lineHeight; + const int y = (offset / 16 - verticalScrollBar()->value()) * m_lineHeight; return QPoint(x, y); } diff --git a/src/plugins/bineditor/bineditor.h b/src/plugins/bineditor/bineditor.h index cea7b8d1684..70241a7e63b 100644 --- a/src/plugins/bineditor/bineditor.h +++ b/src/plugins/bineditor/bineditor.h @@ -84,7 +84,7 @@ public: }; int cursorPosition() const; - void setCursorPosition(int pos, MoveMode moveMode = MoveAnchor); + Q_INVOKABLE void setCursorPosition(int pos, MoveMode moveMode = MoveAnchor); void jumpToAddress(quint64 address); void setModified(bool); @@ -133,6 +133,8 @@ Q_SIGNALS: void lazyDataRequested(Core::IEditor *editor, quint64 block, bool synchronous); void newWindowRequested(quint64 address); void newRangeRequested(Core::IEditor *, quint64 address); + void startOfFileRequested(Core::IEditor *); + void endOfFileRequested(Core::IEditor *); protected: void scrollContentsBy(int dx, int dy); diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp index b6fa5011185..0c5f6a46700 100644 --- a/src/plugins/bineditor/bineditorplugin.cpp +++ b/src/plugins/bineditor/bineditorplugin.cpp @@ -180,6 +180,10 @@ public: this, SLOT(provideData(Core::IEditor *, quint64))); connect(m_editor, SIGNAL(newRangeRequested(Core::IEditor*,quint64)), this, SLOT(provideNewRange(Core::IEditor*,quint64))); + connect(m_editor, SIGNAL(startOfFileRequested(Core::IEditor*)), this, + SLOT(handleStartOfFileRequested(Core::IEditor*))); + connect(m_editor, SIGNAL(endOfFileRequested(Core::IEditor*)), this, + SLOT(handleEndOfFileRequested(Core::IEditor*))); } ~BinEditorFile() {} @@ -209,7 +213,7 @@ public: && file.open(QIODevice::ReadOnly)) { m_fileName = fileName; qint64 maxRange = 64 * 1024 * 1024; - if (file.isSequential() && file.size() <= maxRange) { + if (file.size() <= maxRange) { m_editor->setData(file.readAll()); } else { m_editor->setLazyData(offset, maxRange); @@ -241,6 +245,14 @@ private slots: open(m_fileName, offset); } + void handleStartOfFileRequested(Core::IEditor *) { + open(m_fileName, 0); + } + + void handleEndOfFileRequested(Core::IEditor *) { + open(m_fileName, QFileInfo(m_fileName).size() - 1); + } + public: void setFilename(const QString &filename) { diff --git a/src/plugins/coreplugin/editortoolbar.cpp b/src/plugins/coreplugin/editortoolbar.cpp index 2e6fa7f0ae1..9242dc3db1e 100644 --- a/src/plugins/coreplugin/editortoolbar.cpp +++ b/src/plugins/coreplugin/editortoolbar.cpp @@ -274,7 +274,7 @@ void EditorToolBar::listContextMenu(QPoint pos) if (fileName.isEmpty()) return; QMenu menu; - menu.addAction(tr("Copy full path to clipboard")); + menu.addAction(tr("Copy Full Path to Clipboard")); if (menu.exec(m_editorList->mapToGlobal(pos))) { QApplication::clipboard()->setText(QDir::toNativeSeparators(fileName)); } diff --git a/src/plugins/cppeditor/cppeditor.cpp b/src/plugins/cppeditor/cppeditor.cpp index b68a55a3318..63c0b66f384 100644 --- a/src/plugins/cppeditor/cppeditor.cpp +++ b/src/plugins/cppeditor/cppeditor.cpp @@ -689,7 +689,7 @@ void CPPEditor::createToolBar(CPPEditorEditable *editable) m_methodCombo->setModel(m_proxyModel); m_methodCombo->setContextMenuPolicy(Qt::ActionsContextMenu); - m_sortAction = new QAction(tr("Sort alphabetically"), m_methodCombo); + m_sortAction = new QAction(tr("Sort Alphabetically"), m_methodCombo); m_sortAction->setCheckable(true); m_sortAction->setChecked(sortedMethodOverview()); connect(m_sortAction, SIGNAL(toggled(bool)), CppPlugin::instance(), SLOT(setSortedMethodOverview(bool))); diff --git a/src/plugins/debugger/debuggeragents.cpp b/src/plugins/debugger/debuggeragents.cpp index 7ce93ba1c96..2e6ded73730 100644 --- a/src/plugins/debugger/debuggeragents.cpp +++ b/src/plugins/debugger/debuggeragents.cpp @@ -50,6 +50,7 @@ #include #include +#include #include #include @@ -74,6 +75,8 @@ namespace Internal { it handles communication between the engine and the bineditor. */ +namespace { const int DataRange = 1024 * 1024; } + MemoryViewAgent::MemoryViewAgent(DebuggerEngine *engine, quint64 addr) : QObject(engine), m_engine(engine) { @@ -113,11 +116,15 @@ void MemoryViewAgent::createBinEditor(quint64 addr) connect(editor->widget(), SIGNAL(newRangeRequested(Core::IEditor *, quint64)), this, SLOT(provideNewRange(Core::IEditor*,quint64))); + connect(editor->widget(), SIGNAL(startOfFileRequested(Core::IEditor *)), + this, SLOT(handleStartOfFileRequested(Core::IEditor*))); + connect(editor->widget(), SIGNAL(endOfFileRequested(Core::IEditor *)), + this, SLOT(handleEndOfFileRequested(Core::IEditor*))); m_editors << editor; editorManager->activateEditor(editor); QMetaObject::invokeMethod(editor->widget(), "setNewWindowRequestAllowed"); QMetaObject::invokeMethod(editor->widget(), "setLazyData", - Q_ARG(quint64, addr), Q_ARG(int, 1024 * 1024), Q_ARG(int, BinBlockSize)); + Q_ARG(quint64, addr), Q_ARG(int, DataRange), Q_ARG(int, BinBlockSize)); } else { DebuggerPlugin::instance()->showMessageBox(QMessageBox::Warning, tr("No memory viewer available"), @@ -147,10 +154,26 @@ void MemoryViewAgent::addLazyData(QObject *editorToken, quint64 addr, void MemoryViewAgent::provideNewRange(Core::IEditor *editor, quint64 address) { QMetaObject::invokeMethod(editor->widget(), "setLazyData", - Q_ARG(quint64, address), Q_ARG(int, 1024 * 1024), + Q_ARG(quint64, address), Q_ARG(int, DataRange), Q_ARG(int, BinBlockSize)); } +// Since we are not dealing with files, we take these signals to mean +// "move to start/end of range". This seems to make more sense than +// jumping to the start or end of the address space, respectively. +void MemoryViewAgent::handleStartOfFileRequested(Core::IEditor *editor) +{ + QMetaObject::invokeMethod(editor->widget(), + "setCursorPosition", Q_ARG(int, 0)); +} + +void MemoryViewAgent::handleEndOfFileRequested(Core::IEditor *editor) +{ + QMetaObject::invokeMethod(editor->widget(), + "setCursorPosition", Q_ARG(int, DataRange - 1)); +} + + /////////////////////////////////////////////////////////////////////// // diff --git a/src/plugins/debugger/debuggeragents.h b/src/plugins/debugger/debuggeragents.h index 85eab2f353d..396b06fad57 100644 --- a/src/plugins/debugger/debuggeragents.h +++ b/src/plugins/debugger/debuggeragents.h @@ -63,6 +63,8 @@ private: Q_SLOT void createBinEditor(quint64 startAddr); Q_SLOT void fetchLazyData(Core::IEditor *, quint64 block, bool sync); Q_SLOT void provideNewRange(Core::IEditor *editor, quint64 address); + Q_SLOT void handleStartOfFileRequested(Core::IEditor *editor); + Q_SLOT void handleEndOfFileRequested(Core::IEditor *editor); QList > m_editors; QPointer m_engine; diff --git a/src/plugins/debugger/watchutils.cpp b/src/plugins/debugger/watchutils.cpp index be26c36f2c5..4f4c2f542d2 100644 --- a/src/plugins/debugger/watchutils.cpp +++ b/src/plugins/debugger/watchutils.cpp @@ -693,8 +693,8 @@ QString decodeData(const QByteArray &ba, int encoding) decodedBa[i + 1] = c; } //qDebug() << quoteUnprintableLatin1(decodedBa) << "\n\n"; - return doubleQuote + QString::fromUcs4(reinterpret_cast - (decodedBa.data()), decodedBa.size() / 4) + doubleQuote; + return doubleQuote + QString::fromUtf16(reinterpret_cast + (decodedBa.data()), decodedBa.size() / 2) + doubleQuote; } } qDebug() << "ENCODING ERROR: " << encoding; diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp index f5a44b06024..fd3fe2e9d7d 100644 --- a/src/plugins/fakevim/fakevimhandler.cpp +++ b/src/plugins/fakevim/fakevimhandler.cpp @@ -232,6 +232,11 @@ struct Column int logical; // Column on screen. }; +QDebug operator<<(QDebug ts, const Column &col) +{ + return ts << "(p: " << col.physical << ", l: " << col.logical << ")"; +} + struct CursorPosition { // for jump history @@ -2035,22 +2040,25 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input) m_opcount = m_mvcount; m_mvcount.clear(); m_submode = DeleteSubMode; - } else if ((input.is('d') || input.is('x')) && isVisualCharMode()) { - leaveVisualMode(); - m_submode = DeleteSubMode; - finishMovement(); - } else if ((input.is('d') || input.is('x')) && isVisualLineMode()) { - leaveVisualMode(); - m_rangemode = RangeLineMode; - yankText(currentRange(), m_register); - removeText(currentRange()); - handleStartOfLine(); - } else if ((input.is('d') || input.is('x')) && isVisualBlockMode()) { - leaveVisualMode(); - m_rangemode = RangeBlockMode; - yankText(currentRange(), m_register); - removeText(currentRange()); - setPosition(qMin(position(), anchor())); + } else if ((input.is('d') || input.is('x') || input.isKey(Key_Delete)) + && isVisualMode()) { + if (isVisualCharMode()) { + leaveVisualMode(); + m_submode = DeleteSubMode; + finishMovement(); + } else if (isVisualLineMode()) { + leaveVisualMode(); + m_rangemode = RangeLineMode; + yankText(currentRange(), m_register); + removeText(currentRange()); + handleStartOfLine(); + } else if (isVisualBlockMode()) { + leaveVisualMode(); + m_rangemode = RangeBlockMode; + yankText(currentRange(), m_register); + removeText(currentRange()); + setPosition(qMin(position(), anchor())); + } } else if (input.is('D') && isNoVisualMode()) { if (atEndOfLine()) moveLeft(); @@ -2486,6 +2494,8 @@ EventResult FakeVimHandler::Private::handleCommandMode(const Input &input) setAnchor(); moveRight(qMin(1, rightDist())); removeText(currentRange()); + if (atEndOfLine()) + moveLeft(); } else if (input.isKey(Key_BracketLeft) || input.isKey(Key_BracketRight)) { } else if (input.isControl(Key_BracketRight)) { @@ -2624,11 +2634,11 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input) if (col.logical <= ind.logical && col.logical && startsWithWhitespace(data, col.physical)) { const int ts = config(ConfigTabStop).toInt(); - const int newcol = col.logical - 1 - (col.logical - 1) % ts; - data.remove(0, col.physical); - setLineContents(line, tabExpand(newcol).append(data)); + const int newl = col.logical - 1 - (col.logical - 1) % ts; + const QString prefix = tabExpand(newl); + setLineContents(line, prefix + data.mid(col.physical)); moveToStartOfLine(); - moveRight(newcol); + moveRight(prefix.size()); m_lastInsertion.clear(); // FIXME } else { m_tc.deletePreviousChar(); @@ -2649,14 +2659,18 @@ EventResult FakeVimHandler::Private::handleInsertMode(const Input &input) removeAutomaticIndentation(); moveUp(count() * (linesOnScreen() - 2)); m_lastInsertion.clear(); - } else if (input.isKey(Key_Tab) && hasConfig(ConfigExpandTab)) { + } else if (input.isKey(Key_Tab)) { m_justAutoIndented = 0; - const int ts = config(ConfigTabStop).toInt(); - const int col = logicalCursorColumn(); - QString str = QString(ts - col % ts, ' '); - m_lastInsertion.append(str); - insertText(str); - setTargetColumn(); + if (hasConfig(ConfigExpandTab)) { + const int ts = config(ConfigTabStop).toInt(); + const int col = logicalCursorColumn(); + QString str = QString(ts - col % ts, ' '); + m_lastInsertion.append(str); + insertText(str); + setTargetColumn(); + } else { + insertInInsertMode(input.raw()); + } } else if (input.isControl('d')) { // remove one level of indentation from the current line int shift = config(ConfigShiftWidth).toInt(); @@ -3613,13 +3627,13 @@ void FakeVimHandler::Private::shiftRegionRight(int repeat) if (hasConfig(ConfigStartOfLine)) targetPos = firstPositionInLine(beginLine); - int len = config(ConfigShiftWidth).toInt() * repeat; - QString indent(len, ' '); - + const int sw = config(ConfigShiftWidth).toInt(); beginEditBlock(targetPos); for (int line = beginLine; line <= endLine; ++line) { - setPosition(firstPositionInLine(line)); - m_tc.insertText(indent); + QString data = lineContents(line); + const Column col = indentation(data); + data = tabExpand(col.logical + sw * repeat) + data.mid(col.physical); + setLineContents(line, data); } endEditBlock(); @@ -4301,10 +4315,12 @@ void FakeVimHandler::Private::setLineContents(int line, const QString &contents) { QTextBlock block = m_tc.document()->findBlockByNumber(line - 1); QTextCursor tc = m_tc; - tc.setPosition(block.position()); - tc.setPosition(block.position() + block.length() - 1, KeepAnchor); + const int begin = block.position(); + const int len = block.length(); + tc.setPosition(begin); + tc.setPosition(begin + len - 1, KeepAnchor); tc.removeSelectedText(); - fixMarks(block.position(), block.length() - contents.size()); + fixMarks(begin, contents.size() + 1 - len); tc.insertText(contents); } diff --git a/src/plugins/projectexplorer/projectnodes.cpp b/src/plugins/projectexplorer/projectnodes.cpp index 04ad8450367..f34e85ab256 100644 --- a/src/plugins/projectexplorer/projectnodes.cpp +++ b/src/plugins/projectexplorer/projectnodes.cpp @@ -154,8 +154,7 @@ bool FileNode::isGenerated() const */ FolderNode::FolderNode(const QString &folderPath) : Node(FolderNodeType, folderPath), - m_displayName(QDir::toNativeSeparators(folderPath)), - m_icon(Core::FileIconProvider::instance()->icon(QFileIconProvider::Folder)) + m_displayName(QDir::toNativeSeparators(folderPath)) { } @@ -182,6 +181,9 @@ QString FolderNode::displayName() const */ QIcon FolderNode::icon() const { + // Instantiating the Icon provider is expensive. + if (m_icon.isNull()) + m_icon = Core::FileIconProvider::instance()->icon(QFileIconProvider::Folder); return m_icon; } diff --git a/src/plugins/projectexplorer/projectnodes.h b/src/plugins/projectexplorer/projectnodes.h index 3a4511e8b54..6679b6184a4 100644 --- a/src/plugins/projectexplorer/projectnodes.h +++ b/src/plugins/projectexplorer/projectnodes.h @@ -147,7 +147,7 @@ private: // managed by ProjectNode friend class ProjectNode; QString m_displayName; - QIcon m_icon; + mutable QIcon m_icon; }; class PROJECTEXPLORER_EXPORT ProjectNode : public FolderNode diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h b/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h index 6b6cbae768d..a62f6a4369d 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h +++ b/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h @@ -45,7 +45,6 @@ #include #include -#include QT_BEGIN_NAMESPACE class QFile; diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp index 6c0c5cf13f6..d5de486e295 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp @@ -92,6 +92,9 @@ QString MaemoPackageCreationWidget::displayName() const void MaemoPackageCreationWidget::handleSkipButtonToggled(bool checked) { + m_ui->major->setEnabled(!checked); + m_ui->minor->setEnabled(!checked); + m_ui->patch->setEnabled(!checked); m_step->setPackagingEnabled(!checked); } diff --git a/src/plugins/texteditor/basetextdocument.cpp b/src/plugins/texteditor/basetextdocument.cpp index 8f6654aaf4f..1e13af7e101 100644 --- a/src/plugins/texteditor/basetextdocument.cpp +++ b/src/plugins/texteditor/basetextdocument.cpp @@ -163,7 +163,16 @@ bool BaseTextDocument::save(const QString &fileName) { QTextCursor cursor(m_document); + // When saving the current editor, make sure to maintain the cursor position for undo + Core::IEditor *currentEditor = Core::EditorManager::instance()->currentEditor(); + if (BaseTextEditorEditable *editable = qobject_cast(currentEditor)) { + if (editable->file() == this) + cursor = editable->editor()->textCursor(); + } + cursor.beginEditBlock(); + cursor.movePosition(QTextCursor::Start); + if (m_storageSettings.m_cleanWhitespace) cleanWhitespace(cursor, m_storageSettings.m_cleanIndentation, m_storageSettings.m_inEntireDocument); if (m_storageSettings.m_addFinalNewLine)