Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Lemon v1.1 Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Crash authored and crash committed Nov 16, 2011
1 parent 1c52e3b commit ed5de06
Show file tree
Hide file tree
Showing 98 changed files with 16,206 additions and 16,117 deletions.
1,010 changes: 507 additions & 503 deletions addcompilerwizard.cpp

Large diffs are not rendered by default.

86 changes: 43 additions & 43 deletions addcompilerwizard.h
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
#ifndef ADDCOMPILERWIZARD_H
#define ADDCOMPILERWIZARD_H

#include <QtCore>
#include <QtGui>
#include <QWizard>

namespace Ui {
class AddCompilerWizard;
}

class Compiler;

class AddCompilerWizard : public QWizard
{
Q_OBJECT

public:
explicit AddCompilerWizard(QWidget *parent = 0);
~AddCompilerWizard();
void accept();
const QList<Compiler*>& getCompilerList() const;

private:
Ui::AddCompilerWizard *ui;
QList<Compiler*> compilerList;
int nextId() const;
bool validateCurrentPage();

private slots:
void compilerTypeChanged();
void selectCompilerLocation();
void selectInterpreterLocation();
void selectGccPath();
void selectGppPath();
void selectFpcPath();
void selectFbcPath();
void selectJavacPath();
void selectJavaPath();
void selectPythonPath();
};

#endif // ADDCOMPILERWIZARD_H
#ifndef ADDCOMPILERWIZARD_H
#define ADDCOMPILERWIZARD_H

#include <QtCore>
#include <QtGui>
#include <QWizard>

namespace Ui {
class AddCompilerWizard;
}

class Compiler;

class AddCompilerWizard : public QWizard
{
Q_OBJECT

public:
explicit AddCompilerWizard(QWidget *parent = 0);
~AddCompilerWizard();
void accept();
const QList<Compiler*>& getCompilerList() const;

private:
Ui::AddCompilerWizard *ui;
QList<Compiler*> compilerList;
int nextId() const;
bool validateCurrentPage();

private slots:
void compilerTypeChanged();
void selectCompilerLocation();
void selectInterpreterLocation();
void selectGccPath();
void selectGppPath();
void selectFpcPath();
void selectFbcPath();
void selectJavacPath();
void selectJavaPath();
void selectPythonPath();
};

#endif // ADDCOMPILERWIZARD_H
68 changes: 50 additions & 18 deletions addcompilerwizard.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<rect>
<x>0</x>
<y>0</y>
<width>457</width>
<height>415</height>
<width>470</width>
<height>450</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>457</width>
<height>415</height>
<width>470</width>
<height>450</height>
</size>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -259,6 +259,9 @@ font-weight: bold;</string>
<height>20</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
<item row="1" column="0">
Expand All @@ -279,6 +282,9 @@ font-weight: bold;</string>
<height>20</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
<item>
<property name="text">
<string>Typical (Generate executable file)</string>
Expand Down Expand Up @@ -307,10 +313,17 @@ font-weight: bold;</string>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="compilerLocation"/>
<widget class="QLineEdit" name="compilerLocation">
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QToolButton" name="compilerSelectButton">
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
<property name="text">
<string notr="true">...</string>
</property>
Expand All @@ -334,13 +347,19 @@ font-weight: bold;</string>
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QToolButton" name="interpreterSelectButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
<property name="text">
<string notr="true">...</string>
</property>
Expand All @@ -361,15 +380,18 @@ font-weight: bold;</string>
<property name="minimumSize">
<size>
<width>61</width>
<height>20</height>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>20</height>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
<item row="5" column="0">
Expand All @@ -393,15 +415,18 @@ font-weight: bold;</string>
<property name="minimumSize">
<size>
<width>61</width>
<height>20</height>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>81</width>
<height>20</height>
<height>16777215</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
<item row="6" column="0">
Expand All @@ -415,7 +440,11 @@ font-weight: bold;</string>
</widget>
</item>
<item row="6" column="1" colspan="2">
<widget class="QLineEdit" name="defaultCompilerArguments"/>
<widget class="QLineEdit" name="defaultCompilerArguments">
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
<item row="7" column="0">
<widget class="QLabel" name="defaultInterpreterArgumentsLabel">
Expand All @@ -435,6 +464,9 @@ font-weight: bold;</string>
<property name="enabled">
<bool>false</bool>
</property>
<property name="styleSheet">
<string notr="true">font-size:9pt;</string>
</property>
</widget>
</item>
</layout>
Expand Down Expand Up @@ -495,7 +527,7 @@ font-weight: bold;</string>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>81</height>
<height>100</height>
</size>
</property>
<property name="styleSheet">
Expand Down Expand Up @@ -552,7 +584,7 @@ font-weight: bold;</string>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>81</height>
<height>100</height>
</size>
</property>
<property name="styleSheet">
Expand Down Expand Up @@ -603,13 +635,13 @@ font-weight: bold;</string>
<property name="minimumSize">
<size>
<width>0</width>
<height>79</height>
<height>81</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>79</height>
<height>100</height>
</size>
</property>
<property name="styleSheet">
Expand Down Expand Up @@ -669,7 +701,7 @@ font-weight: bold;</string>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>81</height>
<height>100</height>
</size>
</property>
<property name="styleSheet">
Expand Down Expand Up @@ -732,7 +764,7 @@ font-weight: bold;</string>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>110</height>
<height>120</height>
</size>
</property>
<property name="styleSheet">
Expand Down Expand Up @@ -865,13 +897,13 @@ font-weight: bold;</string>
<property name="minimumSize">
<size>
<width>0</width>
<height>111</height>
<height>110</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>111</height>
<height>120</height>
</size>
</property>
<property name="styleSheet">
Expand Down
Loading

0 comments on commit ed5de06

Please sign in to comment.