From 886b09e5d997af17d1b0a9c7fad6e952a94bed45 Mon Sep 17 00:00:00 2001 From: Rahul Date: Fri, 13 Mar 2009 21:09:38 -0400 Subject: proverb --- proverb/ui/about.ui | 405 +++++++++++++++++++++++++++++++++++++++++++++++ proverb/ui/mainwindow.ui | 130 +++++++++++++++ 2 files changed, 535 insertions(+) create mode 100644 proverb/ui/about.ui create mode 100644 proverb/ui/mainwindow.ui (limited to 'proverb/ui') diff --git a/proverb/ui/about.ui b/proverb/ui/about.ui new file mode 100644 index 0000000..7c5cec3 --- /dev/null +++ b/proverb/ui/about.ui @@ -0,0 +1,405 @@ + + + aboutDialog + + + Qt::NonModal + + + + 0 + 0 + 350 + 281 + + + + Proverb + + + background-color: rgb(176, 176, 176); + + + + + + background-color: rgb(176, 176, 176); + + + 0 + + + + About + + + + + + Qt::Vertical + + + + 20 + 13 + + + + + + + + Qt::Horizontal + + + + 25 + 20 + + + + + + + + + + + + + :/icons/icon.png + + + Qt::AlignCenter + + + + + + + + 26 + 75 + false + true + false + false + PreferDefault + true + + + + Proverb + + + Qt::AlignCenter + + + + + + + GUI for fortune-ml + + + Qt::AlignCenter + + + + + + + + + Qt::Horizontal + + + + 28 + 20 + + + + + + + + Qt::Vertical + + + + 20 + 100 + + + + + + + + Qt::Horizontal + + + + 60 + 20 + + + + + + + + Rahul + + + Qt::AlignCenter + + + + + + + Qt::Horizontal + + + + 63 + 20 + + + + + + + + + Credits + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:14pt; font-weight:400; font-style:normal;"> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt; font-weight:600;">Fortune Malayalam</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0a2651;">Santhosh Thottingal </span></p> +<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt; font-weight:600;">Gui Frontend</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#1b2d7a;">Rahul</span></p></body></html> + + + + + + + + Options + + + + + + Qt::Vertical + + + + 20 + 66 + + + + + + + + Qt::Horizontal + + + + 7 + 20 + + + + + + + + + + Hilight Search terms + + + true + + + + + + + Confirm quit action + + + + + + + + + Qt::Horizontal + + + + 8 + 17 + + + + + + + + Qt::Vertical + + + + 20 + 65 + + + + + + + + Qt::Horizontal + + + + 57 + 20 + + + + + + + + +QPushButton +{ + background-color: qlineargradient(spread:reflect, x1:1, y1:0.085, x2:1, y2:0.511, stop:0.158192 rgba(177, 177, 177, 255), stop:1 rgba(255, 255, 255, 255)); + border-width: 2px; + border-color: rgb(148, 148, 148); + border-style: solid; + border-radius: 5; + padding: 3px; + min-width: 9ex; + min-height: 2.5ex; +} +QPushButton:hover +{ + border-width: 2px; + border-color: rgb(45, 45, 45); + border-style: solid; + border-radius: 5; +} +QPushButton:pressed +{ + padding-left: 5px; + padding-top: 5px; + background-color: qlineargradient(spread:reflect, x1:1, y1:0.085, x2:1, y2:0.511, stop:0.158192 rgba(177, 177, 177, 255), stop:1 rgba(255, 255, 255, 255)); + border-color: rgb(22, 17, 159); +} + + + Apply + + + + + + + Qt::Horizontal + + + + 56 + 20 + + + + + + + + + Help + + + + + + + + Qt::Vertical + + + + 20 + 34 + + + + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:14pt; font-weight:400; font-style:normal;"> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0f1455;">Enter the word in the bottom </span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0f1455;">entry field and click 'Get' to get</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0f1455;">proverbs containing that word</span></p> +<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; color:#0f1455;"></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0f1455;">To get a random proverb leave the </span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#0f1455;">text entry field blank and click 'Get'</span></p></body></html> + + + Qt::AlignCenter + + + true + + + + + + + + + Qt::Vertical + + + + 20 + 34 + + + + + + + + + + + + + + + diff --git a/proverb/ui/mainwindow.ui b/proverb/ui/mainwindow.ui new file mode 100644 index 0000000..160d6ae --- /dev/null +++ b/proverb/ui/mainwindow.ui @@ -0,0 +1,130 @@ + + + MainWindow + + + + 0 + 0 + 598 + 388 + + + + Proverb + + + + :/icons/icon.png:/icons/icon.png + + + .QWidget +{ + background-color: rgb(152, 152, 152); +} +QStatusBar +{ + background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:0, y2:0.557, stop:0 rgba(143, 143, 143, 255), stop:1 rgba(55, 53, 53, 255)); +} + + + + + + + + + + + + + +QPushButton +{ + background-color: qlineargradient(spread:reflect, x1:1, y1:0.085, x2:1, y2:0.511, stop:0.158192 rgba(177, 177, 177, 255), stop:1 rgba(255, 255, 255, 255)); + border-width: 2px; + border-color: rgb(148, 148, 148); + border-style: solid; + border-radius: 5; + padding: 3px; + min-width: 9ex; + min-height: 2.5ex; +} +QPushButton:hover +{ + border-width: 2px; + border-color: rgb(45, 45, 45); + border-style: solid; + border-radius: 5; +} +QPushButton:pressed +{ + padding-left: 5px; + padding-top: 5px; + background-color: qlineargradient(spread:reflect, x1:1, y1:0.085, x2:1, y2:0.511, stop:0.158192 rgba(177, 177, 177, 255), stop:1 rgba(255, 255, 255, 255)); + border-color: rgb(22, 17, 159); +} + + + Get + + + + + + + QToolButton +{ + background-color: qlineargradient(spread:reflect, x1:1, y1:0.085, x2:1, y2:0.511, stop:0.158192 rgba(177, 177, 177, 255), stop:1 rgba(255, 255, 255, 255)); + border-width: 2px; + border-color: rgb(148, 148, 148); + border-style: solid; + border-radius: 5; + padding: 3px; +} +QToolButton:hover +{ + border-width: 2px; + border-color: rgb(45, 45, 45); + border-style: solid; + border-radius: 5; +} +QToolButton:pressed +{ + padding-left: 5px; + padding-top: 5px; + background-color: qlineargradient(spread:reflect, x1:1, y1:0.085, x2:1, y2:0.511, stop:0.158192 rgba(177, 177, 177, 255), stop:1 rgba(255, 255, 255, 255)); + border-color: rgb(22, 17, 159); +} + + + About + + + + :/icons/about.png:/icons/about.png + + + + 20 + 20 + + + + Qt::ToolButtonIconOnly + + + + + + + + + lineEdit + textEdit + + + + + + -- cgit