- tms-old
- tms
- tmsControlGui
- OptionsWin.h
This file ( 966B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
/*
* Title: OptionsWin.h
* Author: M.Thomas BEAM Ltd
* Date: 2007-02-14
*
* Contents: Options Control and Dialogs.
*
* Mod Rec:
*/
#ifndef OPTIONSWIN_H
#define OPTIONSWIN_H
#include <qdialog.h>
#include <Control.h>
#include <qlistbox.h>
#include <qwidgetstack.h>
#include <qtabwidget.h>
#include <qcheckbox.h>
#include <qlineedit.h>
class DataOptions;
class OptionsWin: public QDialog {
Q_OBJECT
public:
OptionsWin(QWidget* parent, Control& c);
~OptionsWin();
public slots:
void show(); ///< Show the dialog
void accept(); ///< Accept button clicked
void selected(); ///< Option selected from the options list
private:
QWidgetStack* owidgetStack;
DataOptions* odataOptions;
QListBox* olistBox;
Control& ocontrol;
};
class DataOptions : public QTabWidget {
Q_OBJECT
public:
DataOptions(QWidget* parent,Control& c);
~DataOptions();
void set();
void save();
private:
Control& ocontrol;
QLineEdit* odefaultServer;
};
#endif