Provide way to show a variable chooser widget.

For the Qt Creator variables, currently used in the external tools.
The variable chooser looks if the current focus widget has a variable
support property set and is a line edit, text edit or plain text edit.
For line edits it adds a little icon button that shows the chooser.
This commit is contained in:
con
2011-03-03 20:50:25 +01:00
parent 79c899636b
commit efc817d8e0
4 changed files with 85 additions and 18 deletions

View File

@@ -261,6 +261,8 @@ const char * const SETTINGS_DEFAULTTEXTENCODING = "General/DefaultFileEncoding";
const char * const ALL_FILES_FILTER = QT_TRANSLATE_NOOP("Core", "All Files (*)");
const char * const VARIABLE_SUPPORT_PROPERTY = "QtCreator.VariableSupport";
const int TARGET_ICON_SIZE = 32;
} // namespace Constants