summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/inputstring.h
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2014-03-01 19:14:27 (GMT)
committeralbert-github <albert.tests@gmail.com>2014-03-01 19:14:27 (GMT)
commit025cc9def72002d4ab6da7bfee8a73c03ca7c331 (patch)
tree1a754c36c7a2fffb04cfb1c989532d0383147307 /addon/doxywizard/inputstring.h
parent8eeaae0b06fd320745f22efe176e0f19d6c8e2a6 (diff)
downloadDoxygen-025cc9def72002d4ab6da7bfee8a73c03ca7c331.zip
Doxygen-025cc9def72002d4ab6da7bfee8a73c03ca7c331.tar.gz
Doxygen-025cc9def72002d4ab6da7bfee8a73c03ca7c331.tar.bz2
Extension in config.xml if type=string with format=image
In case of a project logo a preview is shown in the "wizard mode". In "expert mode" only the name is shown. In this patch the config.xml the type=string possibilities are extended with format=image (config.xml, configgen.py, config.h). The doxywizard has been extended so that in "expert mode" this type is supported and that a preview is given (expert.cpp, inputstring.cpp and inputstring.h), furthermore in wizard.cpp a minimum label size has been defined to prevent jumping of the items in case of switching between a message text and an icon.
Diffstat (limited to 'addon/doxywizard/inputstring.h')
-rw-r--r--addon/doxywizard/inputstring.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/addon/doxywizard/inputstring.h b/addon/doxywizard/inputstring.h
index 2b8b099..90ea87d 100644
--- a/addon/doxywizard/inputstring.h
+++ b/addon/doxywizard/inputstring.h
@@ -35,7 +35,8 @@ class InputString : public QObject, public Input
enum StringMode { StringFree=0,
StringFile=1,
StringDir=2,
- StringFixed=3
+ StringFixed=3,
+ StringImage=4
};
InputString( QGridLayout *layout,int &row,
@@ -77,6 +78,7 @@ class InputString : public QObject, public Input
void updateDefault();
QLabel *m_lab;
QLineEdit *m_le;
+ QLabel *m_im;
QToolBar *m_br;
QComboBox *m_com;
QString m_str;