ui: Revised project setup

* changed help texts
* use help buttons instead of descriptions in dialogs
* fixed show files button not up-to-date with directory list box
* fixed source file extensions shown in cdb setup
* refactored size and content setting for project content classes
This commit is contained in:
Eberhard Graether
2016-08-30 11:20:32 +02:00
parent d4131ce92c
commit ebdc2d3382
31 changed files with 202 additions and 320 deletions
+10 -1
View File
@@ -30,6 +30,15 @@ std::string QtTextEditDialog::getText()
void QtTextEditDialog::setReadOnly(bool readOnly)
{
m_text->setReadOnly(readOnly);
if (readOnly)
{
updateNextButton("OK");
}
else
{
updateNextButton("Save");
}
}
void QtTextEditDialog::populateWindow(QWidget* widget)
@@ -51,7 +60,7 @@ void QtTextEditDialog::populateWindow(QWidget* widget)
void QtTextEditDialog::windowReady()
{
updateNextButton("Ok");
updateNextButton("Save");
updateCloseButton("Cancel");
setPreviousVisible(false);