Skip to content

Commit

Permalink
Now compiles with Qt5
Browse files Browse the repository at this point in the history
Older commits can be found at http://sf.net/projects/wsc
  • Loading branch information
openforeveryone committed Nov 19, 2023
1 parent df02255 commit 1238a86
Show file tree
Hide file tree
Showing 102 changed files with 8,004 additions and 0 deletions.
340 changes: 340 additions & 0 deletions COPYING

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
The easiest way to install is to download the pre-compiled package for your system from: http://www.wordsearchcreator.org/downloads/
Follow these instructions if there is no package available for your system or you want to make changes to the source.

To compile ensure you have QT 4 development files installed then run:
qmake
make

You can then run the application with ./wordsearchcreator or wordsearchcreator.exe .

To install on GNU/Lunux run as root:
make install
update-desktop-database
37 changes: 37 additions & 0 deletions Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeIconFile</key>
<string>fileicon.icns</string>
<key>CFBundleTypeExtensions</key>
<array>
<string>wordsearch</string>
</array>
<key>CFBundleTypeName</key>
<string>Word Search</string>
<key>LSHandlerRank</key>
<string>Default</string>
</dict>
</array>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleIconFile</key>
<string>icon.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>Created by Qt/QMake</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>WordSearchCreator</string>
<key>CFBundleIdentifier</key>
<string>org.openforschools.WordSearchCreator</string>
<key>NOTE</key>
<string>This file was generated by Qt/QMake.</string>
</dict>
</plist>
41 changes: 41 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Word Search Creator

Requirements:
Qt5

Installation:
Please refer to INSTALL file

Changes:
Now compiles with Qt5

Old Changes (1.1):
Fix initial zoom bug.
Setting for word space behaviour.
Setting for background colour.
Much improved MacOS support.
Added launcher icon for GNU/Linux.
Added file association & file icon for GNU/Linux.
Add auto update checker.
Several minor changes and bug fixes.

Old Changes (1.0):
Play on screen.
Multi window GUI.
Upload to web.
SVG export.
Set word list order.
Several minor changes and bug fixes.

Old Changes (0.9):
New XML file format.
Format page dialogue.
Unicode support.
Custom fill alphabet.

To-do:
Below is a list of things that are currently lined up to be done:
Improve file format (fonts).
Improve shape mask designer.
Allow word list to spread over multiple pages.
Allow words to be placed in predefined places.
91 changes: 91 additions & 0 deletions about.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>AboutDialog</class>
<widget class="QDialog" name="AboutDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>338</width>
<height>213</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>338</width>
<height>213</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>338</width>
<height>213</height>
</size>
</property>
<property name="windowTitle">
<string>About Word Search Creator</string>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
</property>
<property name="modal">
<bool>true</bool>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>338</width>
<height>213</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="pixmap">
<pixmap resource="wsc.qrc">:/images/about.png</pixmap>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>260</x>
<y>186</y>
<width>69</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Close</string>
</property>
</widget>
</widget>
<resources>
<include location="wsc.qrc"/>
</resources>
<connections>
<connection>
<sender>pushButton</sender>
<signal>clicked()</signal>
<receiver>AboutDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>302</x>
<y>196</y>
</hint>
<hint type="destinationlabel">
<x>339</x>
<y>150</y>
</hint>
</hints>
</connection>
</connections>
</ui>
123 changes: 123 additions & 0 deletions alphabet.ui
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>alphabet</class>
<widget class="QDialog" name="alphabet">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>451</width>
<height>166</height>
</rect>
</property>
<property name="windowTitle">
<string>Alphabet - Word Search Creator</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QVBoxLayout">
<item>
<widget class="QComboBox" name="Alphabetcbox"/>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Letters used to fill wordsearch:</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLineEdit" name="AlphabetBox"/>
</item>
<item>
<widget class="QPushButton" name="saveButton">
<property name="text">
<string>Save</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout">
<item>
<widget class="QLabel" name="label_2">
<property name="text">
<string>Make: </string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MakeUpper">
<property name="text">
<string>Uppercase</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="MakeLower">
<property name="text">
<string>Lowercase</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="GetFromWeb">
<property name="text">
<string>Get Alphabets</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>alphabet</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>
Loading

0 comments on commit 1238a86

Please sign in to comment.