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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user