mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
Got rid of tabAction form
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@7 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
parent
7a218418d1
commit
06ec6558a1
@ -8,25 +8,22 @@
|
|||||||
#ifndef QTABACTIONS_H_
|
#ifndef QTABACTIONS_H_
|
||||||
#define QTABACTIONS_H_
|
#define QTABACTIONS_H_
|
||||||
|
|
||||||
|
|
||||||
/** Form Header */
|
|
||||||
#include "ui_form_tab_actions.h"
|
|
||||||
/** Project Class Headers */
|
/** Project Class Headers */
|
||||||
class slsDetectorUtils;
|
class slsDetectorUtils;
|
||||||
class ActionsWidget;
|
class ActionsWidget;
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
class QPushButton;
|
#include <QPushButton>
|
||||||
class QLabel;
|
#include <QLabel>
|
||||||
class QScrollArea;
|
#include <QScrollArea>
|
||||||
class QGridLayout;
|
#include <QGridLayout>
|
||||||
class QPalette;
|
#include <QPalette>
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*@short sets up the acions parameters
|
*@short sets up the acions parameters
|
||||||
*/
|
*/
|
||||||
class qTabActions:public QWidget,private Ui::TabActionsObject{
|
class qTabActions:public QWidget{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -86,7 +86,7 @@ FORMS = \
|
|||||||
forms/form_tab_measurement.ui\
|
forms/form_tab_measurement.ui\
|
||||||
forms/form_tab_dataoutput.ui\
|
forms/form_tab_dataoutput.ui\
|
||||||
forms/form_tab_plot.ui\
|
forms/form_tab_plot.ui\
|
||||||
forms/form_tab_actions.ui\
|
# forms/form_tab_actions.ui\
|
||||||
forms/form_tab_advanced.ui\
|
forms/form_tab_advanced.ui\
|
||||||
forms/form_tab_settings.ui\
|
forms/form_tab_settings.ui\
|
||||||
forms/form_tab_debugging.ui\
|
forms/form_tab_debugging.ui\
|
||||||
|
@ -185,9 +185,11 @@ void ActionsWidget::SetupWidgetWindow(int scanType){
|
|||||||
|
|
||||||
void ActionsWidget::Initialization(){
|
void ActionsWidget::Initialization(){
|
||||||
connect(comboScript,SIGNAL(currentIndexChanged(int)),this,SLOT(SetScript(int)));
|
connect(comboScript,SIGNAL(currentIndexChanged(int)),this,SLOT(SetScript(int)));
|
||||||
connect(radioConstant,SIGNAL(toggled(bool)),this,SLOT(EnableSizeWidgets()));
|
if(comboScript->count()>2){
|
||||||
connect(radioSpecific,SIGNAL(toggled(bool)),this,SLOT(EnableSizeWidgets()));
|
connect(radioConstant,SIGNAL(toggled(bool)),this,SLOT(EnableSizeWidgets()));
|
||||||
connect(radioValue,SIGNAL(toggled(bool)),this,SLOT(EnableSizeWidgets()));
|
connect(radioSpecific,SIGNAL(toggled(bool)),this,SLOT(EnableSizeWidgets()));
|
||||||
|
connect(radioValue,SIGNAL(toggled(bool)),this,SLOT(EnableSizeWidgets()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,13 +12,7 @@
|
|||||||
#include "slsDetector.h"
|
#include "slsDetector.h"
|
||||||
#include "multiSlsDetector.h"
|
#include "multiSlsDetector.h"
|
||||||
/** Qt Include Headers */
|
/** Qt Include Headers */
|
||||||
|
#include <QButtonGroup>
|
||||||
#include <QGridLayout>
|
|
||||||
#include <QPushButton>
|
|
||||||
#include <QLabel>
|
|
||||||
#include <QScrollArea>
|
|
||||||
#include <QLayoutItem>
|
|
||||||
#include <QPalette>
|
|
||||||
/** C++ Include Headers */
|
/** C++ Include Headers */
|
||||||
#include<iostream>
|
#include<iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@ -29,7 +23,6 @@ using namespace std;
|
|||||||
|
|
||||||
|
|
||||||
qTabActions::qTabActions(QWidget *parent,slsDetectorUtils*& detector):QWidget(parent),myDet(detector){
|
qTabActions::qTabActions(QWidget *parent,slsDetectorUtils*& detector):QWidget(parent),myDet(detector){
|
||||||
//setupUi(this);
|
|
||||||
if(myDet)
|
if(myDet)
|
||||||
{
|
{
|
||||||
SetupWidgetWindow();
|
SetupWidgetWindow();
|
||||||
@ -48,7 +41,6 @@ qTabActions::~qTabActions(){
|
|||||||
|
|
||||||
|
|
||||||
void qTabActions::SetupWidgetWindow(){
|
void qTabActions::SetupWidgetWindow(){
|
||||||
setupUi(this);
|
|
||||||
/** Window Settings*/
|
/** Window Settings*/
|
||||||
setFixedSize(705,350);
|
setFixedSize(705,350);
|
||||||
setContentsMargins(0,0,0,0);
|
setContentsMargins(0,0,0,0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user