Better compatible with qt4.

* Q_PROPERTY MEMBER wasn't available, use READ and WRITE instead
* Disables namespace with qt4
* Updates default stylesheet to work with qt4 (no namespaces)

Unifies include/forward-declaration style in header files.
README status updates
This commit is contained in:
mfreiholz
2016-02-15 12:27:23 +01:00
parent 2d1a3b8665
commit 2513ab1f2b
10 changed files with 22 additions and 36 deletions

View File

@@ -41,11 +41,11 @@ int main(int argc, char *argv[])
// Default style.
a.setStyleSheet(""
" QSplitter::handle { background: palette(dark); } "
" ads--ContainerWidget { background: palette(dark); } "
" ads--SectionWidget { background: palette(window); } "
" ads--SectionTitleWidget { background: palette(window); } "
" ads--SectionTitleWidget[activeTab=\"true\"] { background: palette(light); } "
" ads--SectionContentWidget { border: 1px solid palette(light); } "
" ads--ContainerWidget, ContainerWidget { background: palette(dark); } "
" ads--SectionWidget, SectionWidget { background: palette(window); } "
" ads--SectionTitleWidget, SectionTitleWidget { background: palette(window); } "
" ads--SectionTitleWidget[activeTab=\"true\"], SectionTitleWidget[activeTab=\"true\"] { background: palette(light); } "
" ads--SectionContentWidget, SectionContentWidget { border: 1px solid palette(light); } "
" "
);